|
<%@ include file="includefeaturedancing.html" %>
<%@ include file="includefeaturevideo.html" %>
|
 |
| Here is our sign by day! |
 |
| |
| Here is our sign by night! |
 |
|
 |
<%
int iNumHolidays = 0;
int iCurrentYear = Integer.parseInt( oDate.getCurrentYear() );
%>
<%@ include file="ottawaweather.html" %>
<%
if ( iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(1,14,iCurrentYear ) )
{
++iNumHolidays;
oValentine.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oValentine.toString() );
}
}
%>
<%
if ( iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(2,17,iCurrentYear ) )
{
++iNumHolidays;
oStPatrick.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oStPatrick.toString() );
}
}
%>
<%
if ( false && iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(2,31,iCurrentYear ) )
{
++iNumHolidays;
oEaster.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oEaster.toString() );
}
}
%>
<%
if ( iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(4,11,iCurrentYear ) )
{
++iNumHolidays;
oMothersDay.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oMothersDay.toString() );
}
}
%>
<%
if ( iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(5,15,iCurrentYear ) )
{
++iNumHolidays;
oFathersDay.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oFathersDay.toString() );
}
}
%>
<%
if ( iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(7,31,iCurrentYear ) )
{
++iNumHolidays;
oWedding.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oWedding.toString() );
}
}
%>
<%
if ( iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(9,31,iCurrentYear ) )
{
++iNumHolidays;
oHalloween.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oHalloween.toString() );
}
}
%>
<%
if ( iNumHolidays < 3 )
{
if ( oDate.isTodayBefore(11,25,iCurrentYear ) )
{
++iNumHolidays;
oChristmas.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oChristmas.toString() );
}
}
%>
<%
if ( iNumHolidays < 3 )
{
String szCurrentYear = oDate.getCurrentYear();
oNewYear.setFooter( "Goodbye " + szCurrentYear );
if ( oDate.isTodayBefore(11,31,iCurrentYear ) )
{
++iNumHolidays;
oNewYear.setTomcatRoot("/usr/share/tomcat6/webapps/");
out.print( oNewYear.toString() );
}
}
%>
|
 |