Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Lay-out destroyed.


Plux

Recommended Posts

After a hacking attempt the lay-out of the website got destroyed. All tables seem to have been placed underneath each other. For example the products are listed underneath the categories instead of next to it on the right side.

 

I tried looking in some files and the .css but I can not find anything. Any hints to what could have happened?

 

* This applies to all pages index, about, contact, etc..

Link to comment
Share on other sites

I believe we have less chance of knowing the problem than you have, after all you have the benefit of knowing the version of osC being used and have a web site to access to see the results of the problem first hand.

 

 

We are in the position of a blind man being asked his opinion of a stunning landscape... :'(

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Link to comment
Share on other sites

Oooh zing!!! :P

 

In future, please remember to enclose all such remarks in <sarcasm></sarcasm> tags in order to comply with the latest web standards...

 

 

Regarding the website, if you don't want to post a link then I'd start looking at the header.php file - if the hacking affects all pages then this is the most likely place. Hackers who want to inject malicious code often target the header file.

 

Good luck!

Link to comment
Share on other sites

Nothing in the header.php file. The version is 2.2RC2a.

 

Hope this might help.

 

header.php

<?php
/*
 $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $

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

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// 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')) {
     $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');
   }
 }

// 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')) ) {
     //$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');
   }
 }

// check if the session folder is writeable
 if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
   if (STORE_SESSIONS == '') {
     if (!is_dir(tep_session_save_path())) {
       $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');
     } elseif (!is_writeable(tep_session_save_path())) {
       $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');
     }
   }
 }

// check session.auto_start is disabled
 if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {
   if (ini_get('session.auto_start') == '1') {
     $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');
   }
 }

 if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
   if (!is_dir(DIR_FS_DOWNLOAD)) {
     $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');
   }
 }

 if ($messageStack->size('header') > 0) {
   echo $messageStack->output('header');
 }
?>
<!-- start -->
<table cellpadding="0" cellspacing="0" border="0" style="width:766px; background:url(images/bot1.gif) repeat-x bottom #000000" align="center"> 
<tr>
	<td>
		<table cellpadding="0" cellspacing="0" border="0" style="height:100px;" class="header">
			<tr>
				<td align="center">
                   	<table cellpadding="0" cellspacing="0" border="0" style="height:100px; width:766px; background:url(images/top.gif) no-repeat top center ">
                           <tr>
                               <td><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image(DIR_WS_IMAGES.'logo.gif')?></a><br></td>
                               <td>
                               	<table cellpadding="0" cellspacing="0" border="0" style="width:398px">
                                       <tr>
                                           <td style="height:80px">
                                           	<table cellpadding="0" cellspacing="0" border="0">
                                                   <tr>
                                                       <td><?php echo tep_draw_separator('spacer.gif', '237', '1'); ?></td>
                                                       <td style="width:44px; text-align:left"><?php echo tep_image(DIR_WS_IMAGES.'z1.gif')?></td>    
                                                       <td>
                                                           <table cellpadding="0" cellspacing="0" border="0" style="width:117px">
                                                               <tr>
                                                                   <td align="left"><b><?php echo BOX_HEADING_SHOPPING_CART?>:</b><br><a href="<?php echo tep_href_link('shopping_cart.php')?>"><?php echo $cart->count_contents() ?> item(s)<?php //echo BOX_SHOPPING_CART_EMPTY?></a></td>
                                                               </tr>
                                                           </table>
                                                       </td> 
                                                   </tr>
                                               </table> 
                                           </td>
                                       </tr>
                                       <tr>
                                           <td style="height:0px">

                                           </td>
                                       </tr>
                                       <tr>
                                           <td style="height:25px"><?php echo tep_draw_separator('spacer.gif', '1', '1'); ?></td>
                                       </tr>
                                   </table> 
                               </td>
                               <td><?php echo tep_draw_separator('spacer.gif', '21', '1'); ?></td>
                           </tr>
                       </table> 
                       <table cellpadding="0" cellspacing="0" border="0" style="width:733px">
                           <tr>
                               <td align="center"><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image(DIR_WS_IMAGES.'p' . rand(1, 11) . '.gif')?></a><br><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image_button('m1.gif')?></a><a href="<?php echo tep_href_link('products_new.php')?>"><?php echo tep_image_button('m2.gif')?></a><a href="<?php echo tep_href_link('about.php')?>"><?php echo tep_image_button('m3.gif')?></a><a href="<?php echo tep_href_link('sponsor.php')?>"><?php echo tep_image_button('m4.gif')?></a><a href="<?php echo tep_href_link('contact_us.php')?>"><?php echo tep_image_button('m5.gif')?></a></td>
                           </tr>
                       </table>
                    </td>
			</tr>
		</table>
        </td>
</tr>
<tr>
	<td>
		<table cellpadding="0" cellspacing="0" border="0" style="height:507px;">
			<tr>
				<td><?php echo tep_image(DIR_WS_IMAGES.'left.gif')?></td>
				<td style="width:100%;">
<!-- end -->
<?php
 if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr class="headerError">
   <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td>
 </tr>
</table>
<?php
 }

 if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr class="headerInfo">
   <td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td>
 </tr>
</table>
<?php
 }
?>
<!-- start -->


<!-- end -->

<?php 
define(MAX_DESCR_1,'58');
define(MAX_DESCR_BESTS,'19');
define(MAX_DESCR_REVIEWS,'59');

 

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 name="google-site-verification" content="USdRrGtWBeGGdsSLBkvY9LAbhybur8X6_93E5rcYy9Y" />
<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 valign="top" class="col_left">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </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%" class="col_center">


<?php tep_draw_heading_top();?>

<?php new contentBoxHeading_ProdNew($info_box_contents);?>

<?php tep_draw_heading_top_3();?>


				<table cellpadding="0" cellspacing="0" border="0"><tr><td height="6"></td></tr></table>
				<table border="0" cellspacing="0" cellpadding="0" align="center" class="box_width_cont product">
					<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']);

$p_pic_sub = '<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) . '</a>';

$p_name_sub = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories['categories_name'] . '</a>';

  $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%';
  echo '               

	<td align="center" width="' . $width . '">'.tep_draw_prod_name_top().'<span>'.$p_name_sub.'</span>'.tep_draw_prod_name_bottom().''.tep_draw_separator('spacer.gif', '1', '10').''.tep_draw_prod_pic_top().''.$p_pic_sub.''.tep_draw_prod_pic_bottom().'</td>
  ' . "\n";
			  if ($col!=(MAX_DISPLAY_CATEGORIES_PER_ROW-1)){
			  echo '
					<td class="bg_line_y">'.tep_draw_separator('spacer.gif', '41', '1').'</td>					
					';
			  }
			 else{	

  if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {
	echo '              
</tr><tr><td colspan="'.(MAX_DISPLAY_CATEGORIES_PER_ROW + MAX_DISPLAY_CATEGORIES_PER_ROW -1).'">'.tep_draw_separator('spacer.gif', '1', '10').'</td></tr>' . "\n";
	echo '              <tr>' . "\n";
  }
}
if ($col==MAX_DISPLAY_CATEGORIES_PER_ROW-1){
$col=0;
}else{
$col++;
}
}	

// needed for the new products module shown below
$new_products_category_id = $current_category_id;
?>					

			</table>
			<table cellpadding="0" cellspacing="0" border="0"><tr><td height="10"></td></tr></table>

<?php tep_draw_heading_bottom_3();?>

<?php tep_draw_heading_bottom();  ?>

<?php /*  tep_draw_separate();  */ ?>  <!--  /////////  -->

<?php tep_draw_heading_top();  ?>

<?php new contentBoxHeading_WHATS_NEW($info_box_contents, true, false);?>

<?php tep_draw_heading_top_3();?>			

		<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

<?php tep_draw_heading_bottom_3();?>

<?php tep_draw_heading_bottom();?>		

</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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c 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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m 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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c 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 left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c 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 . "'";
    $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, p.products_status from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where 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);

     switch ($column_list[$sort_col-1]) {
       case 'PRODUCT_LIST_MODEL':
         $listing_sql .= " order by p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
         break;
       case 'PRODUCT_LIST_NAME':
         $listing_sql .= " order by pd.products_name " . ($sort_order == 'd' ? 'desc' : '');
         break;
       case 'PRODUCT_LIST_MANUFACTURER':
         $listing_sql .= " order by m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
         break;
       case 'PRODUCT_LIST_QUANTITY':
         $listing_sql .= " order by p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
         break;
       case 'PRODUCT_LIST_IMAGE':
         $listing_sql .= " order by pd.products_name";
         break;
       case 'PRODUCT_LIST_WEIGHT':
         $listing_sql .= " order by p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
         break;
       case 'PRODUCT_LIST_PRICE':
         $listing_sql .= " order by final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
         break;
     }
   }
?>
   <td width="100%" class="col_center">

<?php tep_draw_heading_top();?>		





<?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 tep_hide_session_id() . '</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'];
   }
?>
     <?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?>

<?php tep_draw_heading_bottom_3();?>

<?php tep_draw_heading_bottom();?>		

  </td>
<?php
 } else { // default page
?>
   <td width="100%" class="col_center">



<?php /*  require(DIR_WS_BOXES . 'panel_top.php');  */ ?>

<?php tep_draw_heading_top();?>

<?php /*  new contentBoxHeading_ProdNew($info_box_contents);  */  ?>

<?php tep_draw_heading_top_3();?>


	<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
	<?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?>


<?php tep_draw_heading_bottom_3();?>

<?php tep_draw_heading_bottom();?>		

	</td>
<?php
 }
?>
<!-- body_text_eof //-->
   <td class="col_right">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
   </td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

stylesheet.css

/*
 $Id: stylesheet.css,v 1.56 2003/06/30 20:04:02 hpdl Exp $
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com
 Copyright (c) 2003 osCommerce
 Released under the GNU General Public License
*/
.boxText 				{ font-family: Verdana, Arial, sans-serif; font-size: 10px; }
.errorBox 				{ font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; }
.stockWarning 			{ font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; }
.productsNotifications 	{ background: #1c2d21; }
.orderEdit 				{ font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #407f8c; text-decoration: underline; }

BODY 					{background: #cccccc; color: #000000; margin: 0px;}

.infoBox 				{background: #000000;}
.infoBoxContents 		{background: #ffffff;font-family: Verdana, Arial, sans-serif; font-size: 10px;}

/*  A {color: #000000;  text-decoration: none;}A:hover {  color: #AABBDD;  text-decoration: underline;}  */
FORM 					{display: inline;}
TR.header 				{background: #ffffff;}
TR.headerNavigation 	{background: #bbc3d3;}
TD.headerNavigation 	{font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #bbc3d3; color: #ffffff; font-weight : bold;}
/*  A.headerNavigation {color: #FFFFFF; }A.headerNavigation:hover { color: #ffffff;
}  */
TR.headerError 		{background: #ff0000;}
TD.headerError 		{font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #ff0000; color: #ffffff; font-weight : bold; text-align : center;}
TR.headerInfo 		{background: #00ff00;}
TD.headerInfo 		{font-family: Tahoma, Verdana, Arial, sans-serif;font-size: 12px;background: #00ff00;color: #ffffff;font-weight: bold;text-align: center;}
/*  TR.footer {background: #bbc3d3;}TD.footer {  font-family: Verdana, Arial, sans-serif;  font-size: 10px; background: #bbc3d3; color: #ffffff;  font-weight: bold;}*/
.infoBoxNotice 				{background: #FF8E90;}
.infoBoxNoticeContents 		{background: #FFE6E6;font-family: Verdana, Arial, sans-serif; font-size: 10px;}
TD.infoBoxHeading 			{font-family: Verdana, Arial, sans-serif;font-size: 10px;font-weight: bold;background: #bbc3d3;color: #ffffff;}
TD.infoBox, SPAN.infoBox 	{font-family: Verdana, Arial, sans-serif; font-size: 10px;}

TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd 			{background: #f8f8f9;}
TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even 		{background: #f8f8f9;}
TABLE.productListing 			{border: 1px;border-style: solid;border-color: #b6b7cb;border-spacing: 1px;}
.productListing-heading 		{font-family: Verdana, Arial, sans-serif;font-size: 10px;background: #b6b7cb;color: #FFFFFF;font-weight: bold;}
TD.productListing-data 			{font-family: Verdana, Arial, sans-serif;font-size: 10px;}
TD.pageHeading, DIV.pageHeading {font-family: Verdana, Arial, sans-serif;font-size: 20px;font-weight: bold;color: #9a9a9a;}
TR.subBar 						{background: #f4f7fd;}
TD.subBar 						{font-family: Verdana, Arial, sans-serif;font-size: 10px;color: #000000;}
/* -------------------------------------------------          -------------------------------------------------------- */
/* -------------------------------------------------          -------------------------------------------------------- */
TD.main, P.main 							{font-family: Verdana, Arial, sans-serif;font-size: 11px;line-height: 1.5;}
TD.smallText, SPAN.smallText, P.smallText 	{font-family: Verdana, Arial, sans-serif;font-size: 10px;}
TD.accountCategory 							{font-family: Verdana, Arial, sans-serif;font-size: 13px;color: #aabbdd;}
TD.tableHeading 							{font-family: Verdana, Arial, sans-serif;font-size: 12px;font-weight: bold;}
CHECKBOX, INPUT, RADIO, SELECT 				{font-family: Verdana, Arial, sans-serif;font-size: 11px;}
TEXTAREA 									{width: 100%;font-family: Verdana, Arial, sans-serif;font-size: 11px;}
SPAN.greetUser 								{font-family: Verdana, Arial, sans-serif;font-size: 12px;color: #f0a480;font-weight: bold;}
TABLE.formArea 								{background: #f1f9fe;border-color: #7b9ebd;border-style: solid;border-width: 1px;}
TD.formAreaTitle 							{font-family: Tahoma, Verdana, Arial, sans-serif;font-size: 12px;font-weight: bold;}
SPAN.markProductOutOfStock 					{font-family: Tahoma, Verdana, Arial, sans-serif;font-size: 12px;color: #c76170;font-weight: bold;}
SPAN.errorText 								{font-family: Verdana, Arial, sans-serif;color: #ff0000;}

.moduleRow { }
.moduleRowOver 								{background-color: #1c2d21; cursor: pointer; cursor: hand; }
.moduleRowSelected 							{background-color: #1c2d21; }

.checkoutBarFrom, .checkoutBarTo 			{font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }
.checkoutBarCurrent 						{font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; }
/* message box */
.messageBox 								{font-family: Verdana, Arial, sans-serif; font-size: 10px; }
.messageStackError, .messageStackWarning 	{font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; }
.messageStackSuccess 						{font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; }
#myse select 								{width:90%;}
/* input requirement */
.product .inputRequirement, .inputRequirement 					
										{font-family: Verdana, Arial, sans-serif; font-size: 10px; color:#FF0000; }
/* -------------------------------------------------          -------------------------------------------------------- */
.main	a		{color:#407f8c; text-decoration:underline;}
.main	a:hover	{color:#407f8c; text-decoration:none;}
.vam			{vertical-align:middle;}
/* -------------------------------------------------          -------------------------------------------------------- */

body {padding:0; margin:0; background:#090f0a}
table, td, .main, select, input, textarea {
font-size:11px;
   font-family:Tahoma;
color:#000000;
line-height:13px;
vertical-align:top;
padding:0px;
}
td, .main			{color:#FFFFFF;}
img      {border:0px;}
table	 {width:100%;}

.vam { vertical-align:middle}
.bg{background:url(images/bg_line.gif)}

.jamp	{width:101px;}

.header td 		 {color:#ffffff; vertical-align:middle}
.header span	 {color:#ffffff; font-size:10px;}
.header b   	 {color:#ff0000; text-decoration:underline}
.header a 		 {color:#ffffff; text-decoration:none; font-size:11px;}
.header a:hover  {color:#ffffff;text-decoration:underline}
.header strong 	 {color:#ffffff; }

/* -box_body- */
.box_body td{ color:#ffffff}
.box_body span.productSpecialPrice { color:#ffffff; font-size:15px; font-weight:bold; font-family:Arial}
.box_body b       {color:#bb4600; font-size:12px;}
.box_body del       {color:#ffffff; font-size:15px; font-weight:bold; font-family:Arial}
.box_body span a		    {color:#407f8b; font-size:13px; text-decoration:underline; font-weight:bold;}
.box_body span a:hover	{color:#407f8b;text-decoration:none;}


.box_body span   		{color:#ffffff; font-size:11px; font-weight:normal; font-family:Tahoma}
.box_body a 			{color:#407f8b; font-family:Tahoma; font-size:11px; text-decoration:none;}
.box_body a:hover  		{color:#407f8b; text-decoration:underline}

.box_body em a 			{color:#407f8b; font-family:Tahoma; font-size:11px; font-weight:bold; text-decoration:underline; font-style:normal;}

.box_body ul 	{padding:0; margin:0 0 0 20px; list-style:none; }
.box_body .bg_list	{}
.box_body .bg_list a	{color:#ffffff; padding-left:18px; background:url(images/arrow.gif) top left no-repeat; background-position:0 5px; text-decoration:none; line-height:26px; font-weight:bold}
.box_body .bg_list a:hover {color:#407f8b; text-decoration:none;}

.box_body .bg_list_un 	{}
.box_body .bg_list_un  a	{color:#ffcce4; padding-left:20px; background:url(images/arrow_3.gif) top left no-repeat; background-position:0 3px; text-decoration:none; line-height:18px; font-weight:bold}
.box_body .bg_list_un  a:hover	{color:#ffffff; text-decoration:none;}

.box_body .bg_list_sub 	{}
.box_body .bg_list_sub  a	{color:#407f8b; padding-left:18px; background:url(images/arrow1.gif) top left no-repeat; background-position:0 5px; text-decoration:none; line-height:26px; font-weight:bold; margin-left:18px}
.box_body .bg_list_sub  a:hover	{color:#ffffff; text-decoration:none;}



/* -1- */
.box_heading_table 					{}
.box_heading_table .box_heading_td 	{ padding:13px 10px 15px 0px;}
.box_heading_table .box_heading_td 	{color:#ff0000; font-weight:bold; font-size:12px; text-transform:uppercase; font-family:Arial }

.box_body_table {}
.box_body_table .box_body_tall_l {background:url(images/body_tal1_1.gif) left repeat-y;}
.box_body_table .box_body_tall_r {background:url(images/body_tal2_1.gif) right repeat-y;}
.box_body_table .box_body_tall_b {background:url(images/body_tal3_1.gif) bottom repeat-x;}

.box_body_table .box_body_td {padding:0px;}

/* -2- */
.box_heading_table_2 					{background:#9D5868 url(images/heading_c_1_2.gif) top repeat-x;}
.box_heading_table_2 .box_heading_td_2 	{background:url(images/heading_bg_1_2.jpg) top right no-repeat;padding:13px 10px 8px 0px;}
.box_heading_table_2 .box_heading_td_2 	{color:#FFFFFF; font-weight:bold; font-size:12px; text-transform:uppercase }

.box_body_table_2 {background-color:#750017; font-size:10px;}
.box_body_table_2 .box_body_tall_l_2 {background:url(images/body_tal1_2.gif) left repeat-y;}
.box_body_table_2 .box_body_tall_r_2 {background:url(images/body_tal2_2.gif) right repeat-y;}
.box_body_table_2 .box_body_tall_b_2 {background:url(images/body_tal3_2.gif) bottom repeat-x;}

.box_body_table_2 .box_body_td {padding:18px 29px 0px 19px;}

/* -3- */
.box_heading_table_3 					{background:#9D5868 url(images/heading_c_1_3.gif) top repeat-x;}
.box_heading_table_3 .box_heading_td_3 	{background:url(images/heading_bg_1_3.jpg) top right no-repeat; padding:13px 10px 8px 0px;}
.box_heading_table_3 .box_heading_td_3 		{color:#FFFFFF; font-weight:bold; font-size:12px; text-transform:uppercase }

.box_body_table_3 {background-color:#ff4d8d; font-size:10px;}
.box_body_table_3 .box_body_tall_l_3 {background:url(images/body_tal1_3.gif) left repeat-y;}
.box_body_table_3 .box_body_tall_r_3 {background:url(images/body_tal2_3.gif) right repeat-y;}
.box_body_table_3 .box_body_tall_b_3 {background:url(images/body_tal3_3.gif) bottom repeat-x;}

.box_body_table_3 .box_body_td {padding:18px 29px 0px 19px;}

/* -4- */
.box_heading_table_4 					{background:#9D5868 url(images/heading_c_1_4.gif) top repeat-x;}
.box_heading_table_4 .box_heading_td_4 	{background:url(images/heading_bg_1_4.jpg) top right no-repeat;padding:13px 10px 8px 0px;}
.box_heading_table_4 .box_heading_td_4 		{color:#FFFFFF; font-weight:bold; font-size:12px; text-transform:uppercase }

.box_body_table_4 {background-color:#9d398d; font-size:10px;}
.box_body_table_4 .box_body_tall_l_4 {background:url(images/body_tal1_4.gif) left repeat-y;}
.box_body_table_4 .box_body_tall_r_4 {background:url(images/body_tal2_4.gif) right repeat-y;}
.box_body_table_4 .box_body_tall_b_4 {background:url(images/body_tal3_4.gif) bottom repeat-x;}

.box_body_table_4 .box_body_td {padding:18px 29px 0px 19px;}


/*  ------------------------   CONTENT   ----------------------------  */

.cont_heading_table {}
.cont_heading_td 	{padding:13px 17px 9px 0px; color:#ff0000; font-weight:bold; font-size:12px; text-transform:uppercase; font-family:Arial }

.cont_heading_td a		 	{color:#ff0000; font-weight:bold; font-size:12px; text-transform:uppercase; font-family:Arial; text-decoration:none;}
.cont_heading_td a:hover 	{color:#ff0000; font-weight:bold; font-size:12px; text-transform:uppercase; font-family:Arial; text-decoration:underline;}
.cont_heading_td em 		{color:#ff0000; font-weight:bold; font-size:12px; text-transform:uppercase; font-family:Arial; text-decoration:none; font-style:normal;}


.cont_body_table 					{background:#000000;margin-top:0px; margin-bottom:0px;}
.cont_body_table .cont_body_td 		{padding:6px 0px 6px 0px;}
.cont_body_tall_t {background:#000000 url(images/cont_corn_t.gif) top repeat-x;}
.cont_body_tall_b {background:#000000 url(images/cont_corn_b.gif) bottom repeat-x;}
.cont_body_tall_l {background:#000000 url(images/cont_corn_l.gif) left repeat-y;}
.cont_body_tall_r {background:#000000 url(images/cont_corn_r.gif) right repeat-y;}

.cont_body_table_2 {background:#18281d url(images/cont_corn_c_2.gif) left top repeat-x;height:30px; width:100%}
.cont_body_tall_t_2 {background:#18281d url(images/cont_corn_t_2.gif) left top repeat-x;}
.cont_body_tall_b_2 {background:#18281d url(images/cont_corn_b_2.gif) bottom repeat-x;}
.cont_body_tall_l_2 {background:#18281d url(images/cont_corn_l_2.gif) left top no-repeat;}
.cont_body_tall_r_2 {background:#18281d url(images/cont_corn_r_2.gif) right top no-repeat;}

.cont_body_table_3 						{background:#000000;}
.cont_body_table_3 .cont_body_td_3 		{padding:22px 0px 2px 0px;}
/*  PRODUCT  */
.product td					{color:#FFFFFF}
.product  strong 			{color:#ff0000; text-transform:uppercase}
.product a 					{font-weight:bold; font-size:12px; color:#ff0000; text-decoration:none;} /* for  sub_categories (index-1.html) */
.product a:hover 			{text-decoration:underline;}

.product span a 			{font-weight:bold; font-size:12px; color:#ffffff; text-decoration:underline; }
.product span a:hover 		{text-decoration:none;}
.product em		    		{font-weight:bold; font-size:12px; color:#ffffff; text-decoration:underline; font-style:normal;} 

span.productSpecialPrice {font-size:15px; font-weight:bold; color:#ffffff; font-family:Arial; }

.product div a		    {color:#407f8b; font-size:11px; font-weight:normal; text-decoration:underline; text-transform:none;}/*  ??? click to enlarge  */
.product div a:hover	{color:#407f8b; text-decoration:none ;}		

/*  IMAGE  */
.pic				{}
.table_pic_width	{width:1px;}
.pic_corn_c 		{background:#FFFFFF;}
.pic_corn_t 		{background:#FFFFFF url(images/img_tal1.gif) top repeat-x;}
.pic_corn_b 		{background:#FFFFFF url(images/img_tal2.gif) bottom repeat-x;}
.pic_corn_l 		{background:#FFFFFF url(images/img_tal3.gif) left repeat-y;}
.pic_corn_r 		{background:#FFFFFF url(images/img_tal4.gif) right repeat-y;}
.image				{width:100%;background:#FFFFFF;}
.popup 	{color:#7b7b7b; font-size:11px;}



/*  footer  */
.footer		  	  { width:100%}	
.footer td 		  {color:#9bc888; font-size:11px;}			
.footer a 		  {color:#9bc888; font-size:11px; text-decoration:none; text-transform:uppercase} 			
.footer a:hover   {color:#9bc888;text-decoration:underline;}	
.footer span 	  {color:#676767; font-size:11px;}
.footer span a 		  {color:#676767; font-size:11px; text-decoration:none; text-transform:none} 			
.footer span a:hover   {color:#676767;text-decoration:underline;}
.footer b, .footer b a 	  {color:#9bc888; font-size:11px; font-weight: normal; text-decoration:none; text-transform:none;}			
.footer b a:hover {color:#9bc888; text-decoration:underline;}
/* -------------------------------------------------          -------------------------------------------------------- */
/* -------------------------------------------------          -------------------------------------------------------- */
.result 		{margin:0px 0px 0px 0px;}
.result td  	{width:50%; vertical-align:middle; padding:16px 10px;}
.result_right 	{text-align:right;}
.result td  	{color:#ffffff; font-size:11px; font-family:Arial, Helvetica, sans-serif;}
.result b   	{color:#ffffff; font-weight:normal;}

.result_right b							{color:#407f8b; font-size:11px; font-weight:bold;}
.result_right a.pageResults				{color:#407f8b; font-size:11px;text-decoration:underline; }
.result_right a.pageResults:hover 		{color:#407f8b;	text-decoration:none; }
.result_right a.pageResults	u			{color:#407f8b; font-size:11px; text-decoration:underline;}
.result_right a.pageResults u:hover 	{color:#407f8b;	text-decoration:none;}
/* -------------------------------------------------          -------------------------------------------------------- */
/* -------------------------------------------------          -------------------------------------------------------- */
/* -------------------------------------------------          -------------------------------------------------------- */
.title_info		{width:270px;}
.title_info td	{vertical-align:middle; height:38px;}

.prod_info		{width:100px; float:left; margin-right:15px;}
.prod_info td	{text-align:center;}
/* -------------------------------------------------          -------------------------------------------------------- */  
.product .shop_cart {text-align:center; vertical-align:middle; font-size:11px; text-decoration:none; height:34px; font-weight:bold;}
/*  heading  */
.remove 			{width:15%;}
.products 			{width:50%;}
.quantity 			{width:15%;}
.total 				{width:20%;}
/*  heading  */	

.bg_line_x						{background:url(images/line_x.gif) left center repeat-x;}
.bg_line_y						{background:url(images/line_y.gif) center top repeat-y;}

.cart_line_x 					{background:url(images/line_x.gif) center top repeat-x;}
.cart_line_y						{background:url(images/line_y.gif) center top repeat-y;}

.cart_total_left  	{width:80%; text-align:right; vertical-align:middle;height:38px;}
.cart_total_right  	{width:20%; text-align:center;vertical-align:middle;}
.cart_total_left strong  	{ text-transform:uppercase}

/* -------------------------------------------------          -------------------------------------------------------- */
SPAN.newItemInCart 						{font-family: Verdana, Arial, sans-serif;font-size:10px;color: #fb0707;}
.box_body a SPAN.newItemInCart 			{font-family: Verdana, Arial, sans-serif;font-size:10px;color: #fb0707; text-decoration:underline;}
/* -------------------------------------------------          -------------------------------------------------------- */
/* -------------------------------------------------          -------------------------------------------------------- */
.smallText a			{color:#407f8c; font-size:11px; text-decoration:none;}	/*  advanced_search.php  */
.smallText a:hover 		{color:#407f8c; font-size:11px; text-decoration:underline;}
.smallText a u 			{color:#407f8c; font-size:11px; text-decoration:none;}
.smallText a:hover u	{color:#407f8c; font-size:11px; text-decoration:underline;}

TD.fieldKey 		{font-family: Verdana, Arial, sans-serif;font-size: 12px;font-weight: bold;}

TD.fieldValue 		{font-family: Verdana, Arial, sans-serif;font-size: 12px;}
.main a b 			{color:#5D5F60;font-size: 10px; text-decoration:underline;}
.main a:hover b		{color:#5D5F60;font-size: 10px; text-decoration:none;}
/* -------------------------------------------------          -------------------------------------------------------- */
span.txt_1	{font-size:10px; text-transform:none; color:#000000;}	
/* -------------------------------------------------          -------------------------------------------------------- */
/* -------------------------------------------------          -------------------------------------------------------- */
.bg_input input	{background:none;}
/* -------------------------------------------------          -------------------------------------------------------- */
/* -------------------------------------------------          -------------------------------------------------------- */
.padd_1 	{padding:0px 10px 0px 10px;}
.padd_22 	{padding:8px;}
td.padd2 	{padding:8px; padding-left:4px;}

.line_h		{line-height:16px;}
/* -------------------------------------------------          -------------------------------------------------------- */
.product div					{padding:8px 0px 5px 0px;}
div.padd3						{text-align:left; padding-top:0px; margin-left:0px; margin-right:0px;}
.padd33 img, .padd33 input 		{margin:1px;}
/* -------------------------------------------------          -------------------------------------------------------- */
.box_width_left			{ width:174px; background:url(images/bg_m.gif) no-repeat top}
.box_width_right		{ width:0px;}
.box_width_cont			{ width:100%;}
.col_left				{}
.col_center				{}
.col_right				{}			
/* -------------------------------------------------          -------------------------------------------------------- */
.heading_top_2			{margin-top:0px;}
.heading_top_2 .padd_22	{padding:0px 20px 0px 20px;}


.heading_top_4			{margin-top:0px; background:#ffffff;}
.heading_top_4 .padd_44	{padding:8px 10px 9px 18px}


.tableBox_output		{margin-top:16px; margin-bottom:16px;}
.tableBox_shopping_cart	{margin-top:0px;}

.tep_draw_separate		{height:11px;}

.tep_draw_prod_top		{padding:0px 0px 9px 0px;}
.tep_draw_box_prod		{}
/*    */

Link to comment
Share on other sites

Is it just one page eg index or all 30+ of them?

 

In case you don't know each of the main files (ie those that are in the catalog folder) have the template for each page - the reason for the above question

 

what was the hack and where was it removed from on each file - start looking there and compare it with a clean file copy - it should look something like this at the beginning of the body:

 

<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">

 

How many contributions does the site have added?

 

Is it a templated site?

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...