Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Placing an image between 2 boxes


Proenski

Recommended Posts

I would very much love to place a logo between 2 of the boxes in the right hand colum. I tried several things but either the image doesn't show up or, if I use HTML, the image get's placed on top.

 

Last thing I tried is this:

 

 require(DIR_WS_BOXES . 'shopping_cart.php');

getimagesize("http://www.shop.com/images/logo.gif"); 

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');

 

Needless to say that didn't work either ;)

 

Who can help me out?

Link to comment
Share on other sites

Try Changing;

 require(DIR_WS_BOXES . 'shopping_cart.php');

getimagesize("http://www.shop.com/images/logo.gif");

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');

To:

 require(DIR_WS_BOXES . 'shopping_cart.php');

?>
<tr><td>

<img src="http://www.shop.com/images/logo.gif">

</td></tr>

<?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');

See if this helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...