shanebevan Posted June 9, 2009 Posted June 9, 2009 I'm having problems trying to get the boarder to line up on my home with main_cats.php my home page www.universalofficesolutions.co.uk the code for main_cats.php is: <?php /* $Id: new_products.php,v 1.34 2003/06/09 22:49:58 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- main_categories - EM-STUDIO.info//--> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => BOX_HEADING_CATEGORIES ); new infoBoxHeading($info_box_contents, true, false); $mc_counter = 0; $mc_col = 4; $result = tep_db_query("SELECT * FROM " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd WHERE c.parent_id = '0' AND c.categories_id = cd.categories_id AND cd.language_id = '" . (int)$languages_id . "' ORDER BY sort_order "); echo '<table width="100%" border="1" cellspacing="1" cellpadding="1" bgcolor="#FFFFFF">'."\n"; while($data = tep_db_fetch_array($result)){ if($mc_counter == 0){ echo '<tr>'."\n"; } $width = 100/$mc_col; echo '<td width="'.$width.'%" align="center" class="smallText" ><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_path($data[categories_id])) . '">' . tep_image(DIR_WS_IMAGES . $data['categories_image'], $data['categories_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>'.$data['categories_name'].'</td>'."\n"; $mc_counter = $mc_counter+1; if($mc_counter == $mc_col){ echo '</tr>'."\n"; $mc_counter = 0; } } echo '</table>'."\n"; ?> <!-- main_categories_eof //-->
Gauravs Posted June 10, 2009 Posted June 10, 2009 Your site is currently down with following error [b]Parse error[/b]: syntax error, unexpected $end in [b]/websites/LinuxPackage02/un/iv/er/universalofficesolutions.co.uk/public_html/index_maintenance.php[/b] on line [b]208[/b] Best Regards,Gaurav
Recommended Posts
Archived
This topic is now archived and is closed to further replies.