Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

COLUMN RIGHT PROBLEM


Diaz

Recommended Posts

Hi

 

Can someone please tell me why this code shows my images that are listed right at the bottom end up at the top of the column!?

:blink:

 

 

<?php
/*
 $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $

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

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require(DIR_WS_BOXES . 'shopping_cart.php');

 if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 if (isset($HTTP_GET_VARS['products_id'])) {
if (tep_session_is_registered('customer_id')) {
  $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
  $check = tep_db_fetch_array($check_query);
  if ($check['count'] > 0) {
	include(DIR_WS_BOXES . 'best_sellers.php');
  } else {
	include(DIR_WS_BOXES . 'product_notifications.php');
  }
} else {
  include(DIR_WS_BOXES . 'product_notifications.php');
}
 } else {
include(DIR_WS_BOXES . 'best_sellers.php');
 }

 if (isset($HTTP_GET_VARS['products_id'])) {
if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
 } else {
include(DIR_WS_BOXES . 'specials.php');
 }

 require(DIR_WS_BOXES . 'reviews.php');

 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'currencies.php');
 }
?>
<img src="images/logo1.gif"
<img src="images/cards.gif"

 

 

TIA

 

Diaz

Link to comment
Share on other sites

It's a complex table structure used to build each page. Try dropping them in table rows and dividers like:

<tr>
<td>
 image1
 </td>
</tr>
<tr>
<td>
 image2
 </td>
</tr>

Link to comment
Share on other sites

AWSOME!

 

Once again this osCommerce rocks :D

 

Thanks for your reply, proved to be PERFECT :thumbsup: brushwood A+++ reply

 

I think we should add ranking to those that help, the conrtib's and replies I get are proving to be second to none (!)

 

Long live you all ;)

 

 

 

Finest Regards

 

Diaz

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...