'; include("../layout/topnav.php"); print '
'; ?> "); $dailyhead = 1; } Print (""); $special.= stripslashes( $a_row['CID'] ); Print (""); } } } // 1 } // end while Print ("
'; for($x = 1; $x <= 12; $x++) { $select_month_control.= ''; } $select_month_control.= ''; /* select year control */ $year_range = 7; $select_year_control = ''; $select_sitemap_control = ''; /* "special event" control */ $special_events = 'Special Events'; /* "next day" control */ $d_a = mktime(date(H),date(i),0,$month,$day,$year) + 86400; /*$next_month_link = 'Next Month >>'; get date serial + 1 day seconds convert new serial to d=m=y */ $next_month_link = 'Next Day >>'; /* "previous day" control */ $d_a_p = mktime(date(H),date(i),0,$month,$day,$year) - 86400; $previous_month_link = '<< Previous Day'; /* "full month" control */ $full_month = 'Full Month View'; /* bringing the controls together */ $controls = '
'.$special_events.' '.$previous_month_link.' '.$next_month_link.' '.$full_month.'
'; ?>

SPECIAL EVENTS

Open Monday thru Friday: 8:00AM - 5:00PM

"); while($a_row=mysql_fetch_array($result)){ if( $a_row['CSTART'] >= $year . $monthpad . $daypad ) { if( $a_row['CACTIVE'] != '' ) { if( strstr( $a_row["CTYPE"] , 'SIGNATURE' ) OR strstr( $a_row["CTYPE"] , 'SPECIAL' ) ) { if( $dailyhead == '' ) { Print ("
Upcoming Special Events
"); /* if upload exists, show it */ if( is_file( "images/main/" . $a_row['CID'] . "_1.jpg" )) { if( $a_row['CLINK1'] != '' ) { Print ( "" ); } else { Print ( "" ); } } Print (""); Print (""); $dayc = substr( $a_row['CSTART'],6,2 ); $monthc = substr( $a_row['CSTART'],4,2 ); $yearc = substr( $a_row['CSTART'] ,0,4 ); Print (""); if( $a_row['CDATEDESC'] != '' ) { Print (""); } if( $a_row['CTIMEDESC'] != '' ) { Print (""); } if( $a_row['CSHORT'] != '' ) { Print (""); } if( $a_row['CLINK1'] != '' ) { Print (""); } Print ("
". $a_row['CTITLE'] ."
". date("l",mktime(0,0,0,$monthc,$dayc,$yearc)) . ', ' . date("F",mktime(0,0,0,$monthc,$dayc,$yearc)) .' ' . $dayc .', ' . $yearc ."
". $a_row['CDATEDESC'] ."
". $a_row['CTIMEDESC'] ."
". $a_row['CSHORT'] ."
". $a_row['CLINK1DESC'] ."
"); mysql_close ($link); ?>