ÿþ<?php /** * Common Template - tpl_main_page.php * * Governs the overall layout of an entire page<br /> * Normally consisting of a header, left side column. center column. right side column and footer<br /> * For customizing, this file can be copied to /templates/your_template_dir/pagename<br /> * example: to override the privacy page<br /> * - make a directory /templates/my_template/privacy<br /> * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php<br /> * <br /> * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br /> * to turn off the header and/or footer uncomment the lines below<br /> * Note: header can be disabled in the tpl_header.php<br /> * Note: footer can be disabled in the tpl_footer.php<br /> * <br /> * $flag_disable_header = true;<br /> * $flag_disable_left = true;<br /> * $flag_disable_right = true;<br /> * $flag_disable_footer = true;<br /> * <br /> * // example to not display right column on main page when Always Show Categories is OFF<br /> * <br /> * if ($current_page_base == 'index' and $cPath == '') {<br /> * $flag_disable_right = true;<br /> * }<br /> * <br /> * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br /> * <br /> * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br /> * $flag_disable_right = true;<br /> * }<br /> * * @package templateSystem * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_main_page.php 7085 2007-09-22 04:56:31Z ajeh $ */ // the following IF statement can be duplicated/modified as needed to set additional flags if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) { $flag_disable_right = true; } $body_id = ($this_is_home_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']); ?> <body leftmargin="0" topmargin="4" marginwidth="0" marginheight="0"> <!-- ImageReady Slices (source1.psd) --> <div align="left"> <table id="table3" width="100%" height="216" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="bottom"> <table border="0" width="760" id="table8" cellspacing="0" cellpadding="0" height="5"> <tr> <td width="123" bgcolor="#E6E6E6"> <p align="center"><font face="Verdana"> <a href="http://nice-ref.com/english"> <font color="#000000" style="font-size: 8pt"> <span style="text-decoration: none">Home Page</span></font></a></font></td> <td width="80" bgcolor="#E6E6E6"> <span style="font-size: 8pt">&nbsp;</span></td> <td width="80" bgcolor="#E6E6E6"> <span style="font-size: 8pt">&nbsp;</span></td> <td width="80" bgcolor="#E6E6E6"> <span style="font-size: 8pt">&nbsp;</span></td> <td width="81" bgcolor="#E6E6E6"> <span style="font-size: 8pt">&nbsp;</span></td> <td width="81" bgcolor="#E6E6E6"> <span style="font-size: 8pt">&nbsp;</span></td> <td width="81" bgcolor="#E6E6E6"> <p align="center"> <a href="http://nice-ref.com/english/index.php?main_page=shippinginfo"> <font face="Verdana" color="#000000" style="font-size: 8pt"> <span style="text-decoration: none">About Us</span></font></a></td> <td width="84" bgcolor="#E6E6E6"> <p align="center"><font face="Tahoma"> <a href="../../../../index.php?main_page=contact_us"> <font color="#000000" style="font-size: 8pt"><span style="text-decoration: none">Contact Us</span></font></a></font></td> <td width="33"><span style="font-size: 8pt">&nbsp;</span></td> </tr> </table> </td> </tr> <tr> <td height="149"> &nbsp;</td> </tr> <tr> <td> </td> </tr> <tr> <td > <table border="0" width="95%" cellspacing="0" cellpadding="0" id="table4" height="26"> <tr> <td width="176"> <p align="left"><font face="Verdana" size="2"> <span lang="en-us">Categories</span></font></td> <td><font size="2" face="Arial"><!--webbot bot="HTMLMarkup" startspan --><!-- bof breadcrumb --> <?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?> <div align="left" id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div> <?php } ?> <!-- eof breadcrumb --> <!--webbot bot="HTMLMarkup" endspan --></font></td> </tr> </table> </td> </tr> <tr> <td> <table align="left" border="0" width="100%" cellspacing="0" cellpadding="0" id="table5"> <tr> <td align="left" width="22%" valign="top" bgcolor="#980D0D"> <p align="left"> <font size="1" face="Verdana"><?php /** * prepares and displays left column sideboxes * */ ?> <?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></font><p align="left"> <img border="0" src="../../../../images/sideban.gif" width="154" height="276"></td> <td valign="top" width="100%" bgcolor="#980D0D"> &nbsp;<div align="center"> <table border="0" width="95%" cellspacing="0" cellpadding="0" bgcolor="#B42222" id="table9"> <tr> <td> <?php /** * prepares and displays center column * */ require($body_code); ?></td> </tr> </table> </div> </td> </tr> </table> <p></td> </tr> </table> </div> <!-- End ImageReady Slices --> <p align="center" style="margin-top: 0; margin-bottom: 1px"> <font size="1" face="Verdana">All rights reserved - Nice refrigeration devices trading L.L.C</font></p> <p align="center" style="margin-top: 0; margin-bottom: 1px"> <font face="Tahoma" size="1" color="#C0C0C0">Developed by:</font><font face="Tahoma" size="1"> <a href="http://www.ammanone.com/spt">SoftPages Technology</a></font></p> </body>