mark27uk3 Posted January 4, 2004 Share Posted January 4, 2004 Hi, My right column seems to have moved down for some reason, any idea how to move it back up again to its original position? Thanx Mark Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
kair528 Posted January 5, 2004 Share Posted January 5, 2004 Are u creating your own template? If your right column is shorter then your left one you might have to change the vertical alignment using valign attrubute. You might habe some extra "br"'s other wise. Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 5, 2004 Author Share Posted January 5, 2004 Hi, Thanks for your reply, I am not using a template, all I have done is change the colour scheme and added some contributions boxes to the right column. I have checked column_right.php and there are no stray <br>'s. Any other ideas???? Regards Mark Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
mtimdog Posted January 5, 2004 Share Posted January 5, 2004 View the source and see if there are any missing </table> . There is/was a bug in php that cut off the table> from the end. Try looking here for some answers. http://www.oscommerce.com/forums/index.php?showtopic=66781 Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 5, 2004 Author Share Posted January 5, 2004 I think I must be going blind, everything looks okay to me. Here is the code from index.php, can you see what I cant?? <?php /* $Id: index.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $cateqories_products = tep_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <?php if ($category_depth == 'nested') { $category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'"); $category = tep_db_fetch_array($category_query); ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <?php if (isset($cPath) && strpos('_', $cPath)) { // check to see if there are deeper categories within the current category $category_links = array_reverse($cPath_array); for($i=0, $n=sizeof($category_links); $i<$n; $i++) { $categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'"); $categories = tep_db_fetch_array($categories_query); if ($categories['total'] < 1) { // do nothing, go through the loop } else { $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); break; // we've found the deepest category the customer is in } } } else { $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); } $number_of_categories = tep_db_num_rows($categories_query); $rows = 0; while ($categories = tep_db_fetch_array($categories_query)) { $rows++; $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr>' . "\n"; echo ' <tr>' . "\n"; } } // needed for the new products module shown below $new_products_category_id = $current_category_id; ?> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> </table></td> </tr> </table></td> <?php } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) { // create column list $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL, 'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME, 'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER, 'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE, 'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY, 'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT, 'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE, 'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW); asort($define_list); $column_list = array(); reset($define_list); while (list($key, $value) = each($define_list)) { if ($value > 0) $column_list[] = $key; } $select_column_list = ''; for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { switch ($column_list[$i]) { case 'PRODUCT_LIST_MODEL': $select_column_list .= 'p.products_model, '; break; case 'PRODUCT_LIST_NAME': $select_column_list .= 'pd.products_name, '; break; case 'PRODUCT_LIST_MANUFACTURER': $select_column_list .= 'm.manufacturers_name, '; break; case 'PRODUCT_LIST_QUANTITY': $select_column_list .= 'p.products_quantity, '; break; case 'PRODUCT_LIST_IMAGE': $select_column_list .= 'p.products_image, '; break; case 'PRODUCT_LIST_WEIGHT': $select_column_list .= 'p.products_weight, '; break; } } // show the products of a specified manufacturer if (isset($HTTP_GET_VARS['manufacturers_id'])) { if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) { // We are asked to show only a specific category $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'"; } else { // We show them all $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"; } } else { // show the products in a given categorie if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) { // We are asked to show only specific catgeory $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'"; } else { // We show them all $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'"; } } if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('[1-8][ad]', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) { for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { if ($column_list[$i] == 'PRODUCT_LIST_NAME') { $HTTP_GET_VARS['sort'] = $i+1 . 'a'; $listing_sql .= " order by pd.products_name"; break; } } } else { $sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1); $sort_order = substr($HTTP_GET_VARS['sort'], 1); $listing_sql .= ' order by '; switch ($column_list[$sort_col-1]) { case 'PRODUCT_LIST_MODEL': $listing_sql .= "p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_NAME': $listing_sql .= "pd.products_name " . ($sort_order == 'd' ? 'desc' : ''); break; case 'PRODUCT_LIST_MANUFACTURER': $listing_sql .= "m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_QUANTITY': $listing_sql .= "p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_IMAGE': $listing_sql .= "pd.products_name"; break; case 'PRODUCT_LIST_WEIGHT': $listing_sql .= "p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_PRICE': $listing_sql .= "final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; } } ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <?php // optional Product List Filter if (PRODUCT_LIST_FILTER > 0) { if (isset($HTTP_GET_VARS['manufacturers_id'])) { $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name"; } else { $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name"; } $filterlist_query = tep_db_query($filterlist_sql); if (tep_db_num_rows($filterlist_query) > 1) { echo ' <td align="center" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . TEXT_SHOW . ' '; if (isset($HTTP_GET_VARS['manufacturers_id'])) { echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']); $options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)); } else { echo tep_draw_hidden_field('cPath', $cPath); $options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)); } echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']); while ($filterlist = tep_db_fetch_array($filterlist_query)) { $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']); } echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '</form></td>' . "\n"; } } // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?></td> </tr> </table></td> <?php } else { // default page ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> </table></td> </tr> </table></td> <?php } ?> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
1quicksi Posted January 5, 2004 Share Posted January 5, 2004 Link to site? knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 5, 2004 Author Share Posted January 5, 2004 my site is not currently live I am running it on a local host. Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
mtimdog Posted January 7, 2004 Share Posted January 7, 2004 I was talking about "View Source" on your browser (i.e. IE) Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 7, 2004 Author Share Posted January 7, 2004 I still cant see for looking! <p> </p> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>osCommerce</title> <base href="http://localhost/public/catalog/"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <table width="100%" cellpadding="10" cellspacing="0" border="0" bgcolor="2F4F4F"> <tr><td> <table CELLSPACING="4" CELLPADDING="6" BORDER="3" width="750" align="center" BGCOLOR="2F4F4F"> <tr><td BGColor="FFFFFF"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><a href="http://www.thewebmakerscorner.com" target="_blank"><img src="images/thewebmakerscorner_logo.gif" border="0" alt="Welcome to The WebMakers Mall" title=" Welcome to The WebMakers Mall "></a><BR></td> <td align="right" valign="bottom"><a href="http://localhost/public/catalog/account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img'>http://localhost/public/catalog/account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="28" height="31"></a> <a href="http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img'>http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="32" height="25"></a> <a href="http://localhost/public/catalog/checkout_payment.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img'>http://localhost/public/catalog/checkout_payment.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="37" height="46"></a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://localhost" class="headerNavigation">Top</a> » <a href="http://localhost/public/catalog/index.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">Catalog</a></td> <td align="right" class="headerNavigation"><a href="http://localhost/public/catalog/account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">My Account</a> | <a href="http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">Cart Contents</a> | <a href="http://localhost/public/catalog/checkout_payment.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">Checkout</a> </td> </tr> </table> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <!-- categories //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Categories</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://localhost/public/catalog/index.php?cPath=21&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue.gif" border="0" alt="" width="8" height="7">Phone Fascias</a> (43)<br><a href="http://localhost/public/catalog/index.php?cPath=30&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Batteries</a><br><a href="http://localhost/public/catalog/index.php?cPath=31&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Mains Chargers</a><br><a href="http://localhost/public/catalog/index.php?cPath=32&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">In-Car Chargers</a><br><a href="http://localhost/public/catalog/index.php?cPath=33&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Desktop Chargers</a><br><a href="http://localhost/public/catalog/index.php?cPath=34&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Leather Cases</a><br><a href="http://localhost/public/catalog/index.php?cPath=35&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Handsfree Kits</a><br><a href="http://localhost/public/catalog/index.php?cPath=36&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Keypads</a><br><a href="http://localhost/public/catalog/index.php?cPath=37&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Phone Holders</a><br><a href="http://localhost/public/catalog/index.php?cPath=38&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Sim Cards</a><br><a href="http://localhost/public/catalog/index.php?cPath=39&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Spares</a><br><a href="http://localhost/public/catalog/index.php?cPath=40&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Tools</a><br><a href="http://localhost/public/catalog/index.php?cPath=41&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Unlocking</a><br><a href="http://localhost/public/catalog/index.php?cPath=42&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue.gif" border="0" alt="" width="8" height="7">Ringtones</a><br><a href="http://localhost/public/catalog/index.php?cPath=44&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Logos</a><br></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- categories_eof //--><!-- whats_new //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">What's New?</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://localhost/public/catalog/products_new.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><a href="http://localhost/public/catalog/product_info.php?products_id=68&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/nk3510dh muff diver.jpeg" border="0" alt="Nokia 3510 Dicks House "Muff Diver"" title=" Nokia 3510 Dicks House "Muff Diver" " width="100" height="80"></a><br><a href="http://localhost/public/catalog/product_info.php?products_id=68&osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Nokia 3510 Dicks House "Muff Diver"</a><br>?5.99</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- whats_new_eof //--> <!-- search //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Quick Find</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><form name="quick_find" action="http://localhost/public/catalog/advanced_search_result.php" method="get"><input type="text" name="keywords" size="10" maxlength="30" style="width: 95px"> <input type="hidden" name="osCsid" value="da2dbbb4748e7c52ca4d750dd5e55442"><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" border="0" alt="Quick Find" title=" Quick Find "><br>Use keywords to find the product you are looking for.<br><a href="http://localhost/public/catalog/advanced_search.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><b>Advanced Search</b></a></form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- search_eof //--> <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Information</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://localhost/public/catalog/shipping.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Shipping & Returns</a><br><a href="http://localhost/public/catalog/privacy.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Privacy Notice</a><br><a href="http://localhost/public/catalog/conditions.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Conditions of Use</a><br><a href="http://localhost/public/catalog/contact_us.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Contact Us</a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- information_eof //--> <!-- reviews //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Reviews</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://localhost/public/catalog/reviews.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText">There are currently no product reviews</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- reviews_eof //--> <!-- ordertracking //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Ordertrack</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><form name="order_track" method="get" action="http://localhost/public/catalog/account_history_info.php"><input type="hidden" name="osCsid" value="da2dbbb4748e7c52ca4d750dd5e55442"><input type="text" name="order_id" size="10" maxlength="30" value="" style="width: 95px"> <input type="image" src="includes/languages/english/images/buttons/go.gif" border="0" alt="Ordertrack" title=" Ordertrack "><br>Type in the box above your ordernumber, to get the status.</form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- ordertracking_eof //--> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Welcome to CastleMobiles</td> <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="Welcome to CastleMobiles" title=" Welcome to CastleMobiles " width="60" height="120"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://localhost/public/catalog/login.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><u>log yourself in</u></a>? Or would you prefer to <a href="http://localhost/public/catalog/create_account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><u>create an account</u></a>?</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td class="main"></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td></td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <!-- shopping_cart //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Shopping Cart</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img'>http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText">0 items</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- shopping_cart_eof //--> <!-- search //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Login</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="left" class="boxText"><form name="login" method="post" action="http://localhost/public/catalog/login.php?action=process&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><input type="hidden" name="osCsid" value="da2dbbb4748e7c52ca4d750dd5e55442">Email Address<br><input type="text" name="email_address" size="10" maxlength="50" style="width: 109px"><br>Password<br><input type="password" name="password" size="10" maxlength="40" style="width: 89px"> <input type="image" src="includes/languages/english/images/buttons/button_go.gif" border="0" alt="Quick Find" title=" Quick Find "><br><a href="http://localhost/public/catalog/create_account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">I'm a New Client</b></a><br><a href="http://localhost/public/catalog/password_forgotten.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Password Forgotten?</a></form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- search_eof //--> <!-- best_sellers //--> <!-- best_sellers_eof //--> <!-- Card Info Box //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">We accept Paypal</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><a href="https://www.paypal.com/xclick/business=MODULE_PAYMENT_PAYPAL_ID¤cy_code=EUR" target="_blank"><img src="images/banner_euros.gif" border="0" alt="You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID" title=" You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID " width="88" height="33"><br><img src="images/cards.gif" border="0" alt="You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID" title=" You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID " width="50" height="35"></a><br></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td></tr> <!-- card_eof //--> <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Visit Our Advertisers</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><A href="http://www.dgm2.com/m/mvc/b.asp?A=15007&I=3872"> <IMG SRC="http://www.dgm2.com/m/mvc/i.asp?A=15007&I=3872" BORDER=0></a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- information_eof //--> <!-- SSL Info Box //--> <tr> <td> </td></tr> <!-- comodo_eof //--> <p> </p> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> Wednesday 07 January, 2004 </td> <td align="right" class="footer"> 334 requests since Saturday 03 January, 2004 </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText">Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="http://localhost/public/catalog/redirect.php?action=banner&goto=1&osCsid=da2dbbb4748e7c52ca4d750dd5e55442" target="_blank"><img src="images/banners/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce " width="468" height="50"></a></td> </tr> </table> </td></tr> </table> </td></tr> <tr><td height="150"> </td></tr> </table> <!-- footer_eof //--> <br> </body> </html> Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
♥Vger Posted January 7, 2004 Share Posted January 7, 2004 <p> </p> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>osCommerce</title> <base href="http://localhost/public/catalog/"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <table width="100%" cellpadding="10" cellspacing="0" border="0" bgcolor="2F4F4F"> <tr><td> <table CELLSPACING="4" CELLPADDING="6" BORDER="3" width="750" align="center" BGCOLOR="2F4F4F"> <tr><td BGColor="FFFFFF"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><a href="http://www.thewebmakerscorner.com" target="_blank"><img src="images/thewebmakerscorner_logo.gif" border="0" alt="Welcome to The WebMakers Mall" title=" Welcome to The WebMakers Mall "></a><BR></td> <td align="right" valign="bottom"><a href="http://localhost/public/catalog/account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="28" height="31"></a> <a href="http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="32" height="25"></a> <a href="http://localhost/public/catalog/checkout_payment.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="37" height="46"></a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://localhost" class="headerNavigation">Top</a> » <a href="http://localhost/public/catalog/index.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">Catalog</a></td> <td align="right" class="headerNavigation"><a href="http://localhost/public/catalog/account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">My Account</a> | <a href="http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">Cart Contents</a> | <a href="http://localhost/public/catalog/checkout_payment.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442" class="headerNavigation">Checkout</a> </td> </tr> </table> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <!-- categories //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Categories</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://localhost/public/catalog/index.php?cPath=21&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue.gif" border="0" alt="" width="8" height="7">Phone Fascias</a> (43)<br><a href="http://localhost/public/catalog/index.php?cPath=30&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Batteries</a><br><a href="http://localhost/public/catalog/index.php?cPath=31&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Mains Chargers</a><br><a href="http://localhost/public/catalog/index.php?cPath=32&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">In-Car Chargers</a><br><a href="http://localhost/public/catalog/index.php?cPath=33&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Desktop Chargers</a><br><a href="http://localhost/public/catalog/index.php?cPath=34&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Leather Cases</a><br><a href="http://localhost/public/catalog/index.php?cPath=35&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Handsfree Kits</a><br><a href="http://localhost/public/catalog/index.php?cPath=36&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Keypads</a><br><a href="http://localhost/public/catalog/index.php?cPath=37&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Phone Holders</a><br><a href="http://localhost/public/catalog/index.php?cPath=38&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Sim Cards</a><br><a href="http://localhost/public/catalog/index.php?cPath=39&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Spares</a><br><a href="http://localhost/public/catalog/index.php?cPath=40&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Tools</a><br><a href="http://localhost/public/catalog/index.php?cPath=41&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Unlocking</a><br><a href="http://localhost/public/catalog/index.php?cPath=42&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue.gif" border="0" alt="" width="8" height="7">Ringtones</a><br><a href="http://localhost/public/catalog/index.php?cPath=44&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/pointer_blue_light.gif" border="0" alt="" width="8" height="7">Logos</a><br></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- categories_eof //--><!-- whats_new //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">What's New?</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://localhost/public/catalog/products_new.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><a href="http://localhost/public/catalog/product_info.php?products_id=68&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/nk3510dh muff diver.jpeg" border="0" alt="Nokia 3510 Dicks House "Muff Diver"" title=" Nokia 3510 Dicks House "Muff Diver" " width="100" height="80"></a><br><a href="http://localhost/public/catalog/product_info.php?products_id=68&osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Nokia 3510 Dicks House "Muff Diver"</a><br>?5.99</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- whats_new_eof //--> <!-- search //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Quick Find</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><form name="quick_find" action="http://localhost/public/catalog/advanced_search_result.php" method="get"><input type="text" name="keywords" size="10" maxlength="30" style="width: 95px"> <input type="hidden" name="osCsid" value="da2dbbb4748e7c52ca4d750dd5e55442"><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" border="0" alt="Quick Find" title=" Quick Find "><br>Use keywords to find the product you are looking for.<br><a href="http://localhost/public/catalog/advanced_search.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><b>Advanced Search</b></a></form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- search_eof //--> <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Information</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://localhost/public/catalog/shipping.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Shipping & Returns</a><br><a href="http://localhost/public/catalog/privacy.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Privacy Notice</a><br><a href="http://localhost/public/catalog/conditions.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Conditions of Use</a><br><a href="http://localhost/public/catalog/contact_us.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Contact Us</a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- information_eof //--> <!-- reviews //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Reviews</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://localhost/public/catalog/reviews.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText">There are currently no product reviews</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- reviews_eof //--> <!-- ordertracking //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Ordertrack</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><form name="order_track" method="get" action="http://localhost/public/catalog/account_history_info.php"><input type="hidden" name="osCsid" value="da2dbbb4748e7c52ca4d750dd5e55442"><input type="text" name="order_id" size="10" maxlength="30" value="" style="width: 95px"> <input type="image" src="includes/languages/english/images/buttons/go.gif" border="0" alt="Ordertrack" title=" Ordertrack "><br>Type in the box above your ordernumber, to get the status.</form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- ordertracking_eof //--> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Welcome to CastleMobiles</td> <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="Welcome to CastleMobiles" title=" Welcome to CastleMobiles " width="60" height="120"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://localhost/public/catalog/login.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><u>log yourself in</u></a>? Or would you prefer to <a href="http://localhost/public/catalog/create_account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><u>create an account</u></a>?</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td class="main"></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td></td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <!-- shopping_cart //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Shopping Cart</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://localhost/public/catalog/shopping_cart.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText">0 items</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- shopping_cart_eof //--> <!-- search //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Login</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="left" class="boxText"><form name="login" method="post" action="http://localhost/public/catalog/login.php?action=process&osCsid=da2dbbb4748e7c52ca4d750dd5e55442"><input type="hidden" name="osCsid" value="da2dbbb4748e7c52ca4d750dd5e55442">Email Address<br><input type="text" name="email_address" size="10" maxlength="50" style="width: 109px"><br>Password<br><input type="password" name="password" size="10" maxlength="40" style="width: 89px"> <input type="image" src="includes/languages/english/images/buttons/button_go.gif" border="0" alt="Quick Find" title=" Quick Find "><br><a href="http://localhost/public/catalog/create_account.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">I'm a New Client</b></a><br><a href="http://localhost/public/catalog/password_forgotten.php?osCsid=da2dbbb4748e7c52ca4d750dd5e55442">Password Forgotten?</a></form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- search_eof //--> <!-- best_sellers //--> <!-- best_sellers_eof //--> <!-- Card Info Box //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">We accept Paypal</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><a href="https://www.paypal.com/xclick/business=MODULE_PAYMENT_PAYPAL_ID¤cy_code=EUR" target="_blank"><img src="images/banner_euros.gif" border="0" alt="You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID" title=" You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID " width="88" height="33"><br><img src="images/cards.gif" border="0" alt="You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID" title=" You can use secured services of paypal to send us money via our email account MODULE_PAYMENT_PAYPAL_ID " width="50" height="35"></a><br></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td></tr> <!-- card_eof //--> <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Visit Our Advertisers</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><A href="http://www.dgm2.com/m/mvc/b.asp?A=15007&I=3872"> <IMG SRC="http://www.dgm2.com/m/mvc/i.asp?A=15007&I=3872" BORDER=0></a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- information_eof //--> <!-- SSL Info Box //--> <tr> <td> </td></tr> <!-- comodo_eof //--> <p> </p> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> Wednesday 07 January, 2004 </td> <td align="right" class="footer"> 334 requests since Saturday 03 January, 2004 </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText">Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="http://localhost/public/catalog/redirect.php?action=banner&goto=1&osCsid=da2dbbb4748e7c52ca4d750dd5e55442" target="_blank"><img src="images/banners/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce " width="468" height="50"></a></td> </tr> </table> </td></tr> </table> </td></tr> <tr><td height="150"> </td></tr> </table> <!-- footer_eof //--> <br> </body> </html> I'm checking out the 'code' button to see if it puts the code into a scrollable text box, to save the masses of code and vast amounts of scrolling required by code placed into the post itself. Just checkin! Vger Link to comment Share on other sites More sharing options...
♥Vger Posted January 7, 2004 Share Posted January 7, 2004 Nope! Just masses of code. Perhaps vBulletin would be better! Vger Link to comment Share on other sites More sharing options...
mtimdog Posted January 9, 2004 Share Posted January 9, 2004 You have two [/code]<table border="0" width="100%" cellspacing="0" cellpadding="0"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> in your header. That would cause it to mess up. Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 9, 2004 Author Share Posted January 9, 2004 In my header? Is that in index.php or header.php Sorry to be a pain! Mark :huh: Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
mtimdog Posted January 12, 2004 Share Posted January 12, 2004 It looks to be in your header.php, but you should be able to open both files with an txt editor and search for it. Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 12, 2004 Author Share Posted January 12, 2004 Hi Tim, I have removed one line from header.php which has made no visible difference to the appearance. But the gap is still there and I have searched index.php and there are quite a few <table border="0" width="100%" cellspacing="0" cellpadding="0">, how do I know which one to remove? Thanks Mark Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
mtimdog Posted January 12, 2004 Share Posted January 12, 2004 You should only remove it if there are two right next to each other as in: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> If you find a double like this, try deleting one of them. Then if it still doesn't work, post your view source and we'll look at it again. Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 12, 2004 Author Share Posted January 12, 2004 Hi, I will post the view source if you tell me which file index or header?? Thanx Mark Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
mtimdog Posted January 13, 2004 Share Posted January 13, 2004 do both, in code brackets. Link to comment Share on other sites More sharing options...
mark27uk3 Posted January 13, 2004 Author Share Posted January 13, 2004 Hi, Thanx for taking the time for me! Here is index.php: <?php /* $Id: index.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $cateqories_products = tep_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <?php if ($category_depth == 'nested') { $category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'"); $category = tep_db_fetch_array($category_query); ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <?php if (isset($cPath) && strpos('_', $cPath)) { // check to see if there are deeper categories within the current category $category_links = array_reverse($cPath_array); for($i=0, $n=sizeof($category_links); $i<$n; $i++) { $categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'"); $categories = tep_db_fetch_array($categories_query); if ($categories['total'] < 1) { // do nothing, go through the loop } else { $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); break; // we've found the deepest category the customer is in } } } else { $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); } $number_of_categories = tep_db_num_rows($categories_query); $rows = 0; while ($categories = tep_db_fetch_array($categories_query)) { $rows++; $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr>' . "\n"; echo ' <tr>' . "\n"; } } // needed for the new products module shown below $new_products_category_id = $current_category_id; ?> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);?></td> </tr> </table></td> </tr> </table> </tr> <?php } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) { // create column list $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL, 'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME, 'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER, 'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE, 'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY, 'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT, 'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE, 'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW); asort($define_list); $column_list = array(); reset($define_list); while (list($key, $value) = each($define_list)) { if ($value > 0) $column_list[] = $key; } $select_column_list = ''; for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { switch ($column_list[$i]) { case 'PRODUCT_LIST_MODEL': $select_column_list .= 'p.products_model, '; break; case 'PRODUCT_LIST_NAME': $select_column_list .= 'pd.products_name, '; break; case 'PRODUCT_LIST_MANUFACTURER': $select_column_list .= 'm.manufacturers_name, '; break; case 'PRODUCT_LIST_QUANTITY': $select_column_list .= 'p.products_quantity, '; break; case 'PRODUCT_LIST_IMAGE': $select_column_list .= 'p.products_image, '; break; case 'PRODUCT_LIST_WEIGHT': $select_column_list .= 'p.products_weight, '; break; } } // show the products of a specified manufacturer if (isset($HTTP_GET_VARS['manufacturers_id'])) { if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) { // We are asked to show only a specific category $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'"; } else { // We show them all $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"; } } else { // show the products in a given categorie if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) { // We are asked to show only specific catgeory $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'"; } else { // We show them all $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'"; } } if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('[1-8][ad]', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) { for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { if ($column_list[$i] == 'PRODUCT_LIST_NAME') { $HTTP_GET_VARS['sort'] = $i+1 . 'a'; $listing_sql .= " order by pd.products_name"; break; } } } else { $sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1); $sort_order = substr($HTTP_GET_VARS['sort'], 1); $listing_sql .= ' order by '; switch ($column_list[$sort_col-1]) { case 'PRODUCT_LIST_MODEL': $listing_sql .= "p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_NAME': $listing_sql .= "pd.products_name " . ($sort_order == 'd' ? 'desc' : ''); break; case 'PRODUCT_LIST_MANUFACTURER': $listing_sql .= "m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_QUANTITY': $listing_sql .= "p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_IMAGE': $listing_sql .= "pd.products_name"; break; case 'PRODUCT_LIST_WEIGHT': $listing_sql .= "p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; case 'PRODUCT_LIST_PRICE': $listing_sql .= "final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; break; } } ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <?php // optional Product List Filter if (PRODUCT_LIST_FILTER > 0) { if (isset($HTTP_GET_VARS['manufacturers_id'])) { $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name"; } else { $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name"; } $filterlist_query = tep_db_query($filterlist_sql); if (tep_db_num_rows($filterlist_query) > 1) { echo ' <td align="center" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . TEXT_SHOW . ' '; if (isset($HTTP_GET_VARS['manufacturers_id'])) { echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']); $options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)); } else { echo tep_draw_hidden_field('cPath', $cPath); $options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)); } echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']); while ($filterlist = tep_db_fetch_array($filterlist_query)) { $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']); } echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '</form></td>' . "\n"; } } // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING_COL); ?></td> </tr> </table></td> <?php } else { // default page ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> </table></td> </tr> </table></td> <?php } ?> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> And this is header.php <?php /* $Id: header.php,v 1.36 2002/08/15 17:29:47 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2001 osCommerce Released under the GNU General Public License */ ?> <head> <script LANGUAGE="JavaScript"> <!-- // please keep these lines on when you copy the source // made by: Nicolas - http://www.javascript-page.com var x = 0 var y = 0 var z = 140 var delay = 70 var text = "<?php echo ICON_CART; ?> : <?php echo $cart->count_contents(); ?> Item(s) <?php echo $currencies->format($cart->show_total()); ?>" while (y ++ < z) { text = " " + text } function scroller() { window.status = text.substring(x++, text.length); if (x == text.length) { x = 0; } setTimeout("scroller()", delay); } scroller(); //--> </SCRIPT> </head> <?php // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { tep_output_warning(WARNING_INSTALL_DIRECTORY_EXISTS); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { tep_output_warning(WARNING_CONFIG_FILE_WRITEABLE); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { tep_output_warning(WARNING_SESSION_DIRECTORY_NON_EXISTENT); } elseif (!is_writeable(tep_session_save_path())) { tep_output_warning(WARNING_SESSION_DIRECTORY_NOT_WRITEABLE); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { tep_output_warning(WARNING_SESSION_AUTO_START); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { tep_output_warning(WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT); } } ?> <?php // BOF: WebMakers.com Added: Center Shop // This goes before any other table of the shop if ( CENTER_SHOP_ON=='1' ) { // Is a bgroundcolor set for around the shop if ( CENTER_SHOP_BACKGROUND_ON=='1' ) { ?> <table width="100%" cellpadding="<?php echo CENTER_SHOP_PADDING; ?>" cellspacing="0" border="0" bgcolor="<?php echo CENTER_SHOP_BACKGROUND_COLOR_OUT; ?>"> <tr><td> <?php } // Center the shop to what size and what bgcolor ?> <table CELLSPACING="4" CELLPADDING="6" BORDER="3" width="<?php echo CENTER_SHOP_WIDTH; ?>" align="center" BGCOLOR="<?php echo CENTER_SHOP_BACKGROUND_COLOR; ?>"> <tr><td BGColor="fFfFfF"> <?php } // The rest of the <td> at the end of the footer // EOF: WebMakers.com Added: Center Shop ?> <?php // Defined image and link from center_shop.php ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <?php if (HEADER_IMG_LINK_ON=='1') { ?> <td valign="middle"><?php echo '<a href="' . HEADER_IMG_LINK . '">' . tep_image(DIR_WS_IMAGES . HEADER_IMG_PIC, HEADER_IMG_ALT) . '</a><BR>'; ?></td> <?php } else { ?> <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . HEADER_IMG_PIC, HEADER_IMG_ALT) . '<BR>'; ?></td> <?php } ?> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> <?php if ($HTTP_GET_VARS['error_message'] != '') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo urldecode($HTTP_GET_VARS['error_message']); ?></td> </tr> </table> <?php } if ($HTTP_GET_VARS['info_message'] != '') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo $HTTP_GET_VARS['info_message']; ?></td> </tr> </table> <?php } ?> Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
mtimdog Posted January 14, 2004 Share Posted January 14, 2004 Hmm....first off I see that you defined <head> twice (one in index and one in header). Knowing that this will be a pain to put the js into all the "main page"'s headers...you might be able to just put it in the body and get away with it. This would mean taking out <head> and </head> out of header.php. btw, is this code new? Because taking out the second table should have worked. Also, when I said view source...I meant view source from your browser, not the actual file. If you could post that it would help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.