<?php
/*

  osCommerce, Open Source E-Commerce Solutions 
http://www.oscommerce.com 

Copyright (c) 2003 osCommerce 

osCommRes, Services Oline 
http://www.oscommres.com 
Copyright (c) 2005 osCommRes 

Freeway eCommerce 
http://www.zac-ware.com/freeway 
Copyright (c) 2007 ZacWare 

Released under the GNU General Public License
*/

// Check to ensure this file is included in Freeway!
defined('_FEXEC') or die();

// WebMakers.com Added: Down for Maintenance
// Hide footer.php if not to show

if (DOWN_FOR_MAINTENANCE_FOOTER_OFF =='false') {
  require(DIR_WS_INCLUDES . 'counter.php');
  $event_query=tep_db_query("select * from ".TABLE_EVENTS_CATEGORIES." order by events_categories_id");
  $prd_query=tep_db_query("select * from ".TABLE_CATEGORIES." order by categories_id");
  $prd_id=tep_db_fetch_array($prd_query);
  $event_id=tep_db_fetch_array($event_query);
?>
<table border="0"  width="<?php echo SITE_WIDTH;?>" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
	<tr>
		 <td class="cell_background_footer">
		 <table width="100%" border="0" cellpadding="0" cellspacing="0"  align="center"> 
			  <tr> 
			  	 <td width="3" align="right"><?php echo tep_template_image("footer_left.gif");?></td>
				 <td class="main" nowrap>&nbsp;&nbsp;&nbsp;<?php echo strftime(DATE_FORMAT_LONG); ?>&nbsp;&nbsp;    </td> 
				 <td width="3"><?php echo tep_template_image("footer_right.gif");?></td>
			   </tr> 
		</table> 
		</td>
	</tr> 
	<tr height="50">
		<td valign="top" bgcolor="F8F8F8">
		<table width="100%" cellspacing="0" cellpadding="2" border="0"> 
			<?php
				 if (!(getenv('HTTPS')=='on')){
					//google banner ad
					if ($banner = tep_banner_exists('dynamic', 'googlefoot')) {
			?>
						<tr>
							<td colspan="4"><?php echo tep_display_banner('static', $banner);?></td>
						</tr>
			<?php
					  }
				  }	
			?>
		  <tr>
		  	<td height="2" colspan="4"><?php echo tep_draw_separator('pixel_trans.gif',1,2);?></td>
		  </tr>
		  <tr>
		  	<td width="5"></td>
		 <!-- 	<td class="footerText" valign="top" colspan="2">Copyright &copy; 2005 - 2007 <font color="#0083B3"><a  class="footerText" style="color:#0083B3" href="http://www.oscommres.com">OscommRes</a></font></td> !-->
		 <!--	Note Well: The ZacWare copyright notice can only be removed if the front end template is substantially modified beyond recognition !-->
			<td class="footerText" align="center" colspan="4">Copyright &copy; 2005 - 2007 <font color="#0083B3"><a  class="footerText" style="color:#0083B3" href="http://www.zac-ware.com"><?php echo "ZacWare"; ?></a></font></td>
		  	<td width="5"></td>
		  </tr>
		</table> 
		</td>
		</tr>
</table>
<?php
}
// BOF: WebMakers.com Added: Center Shop Bottom of the tables are in footer.php
if (CENTER_SHOP_ON=='1') {
?> 
			</td> 
		</tr> 
		</table> 
		</td> 
	</tr> 
</table> 
</td>
</tr>
</table>
<?php
}
// EOF: WebMakers.com Added: Center Shop Bottom of the tables are in footer.php
?> 
<!-- footer_eof //--> 