Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating 2column table in column_left/right.p


d-lexy

Recommended Posts

Hello,

 

 

I can't figure out how to create 2 column table in the column_left.php and column_right.php

 

I need to have an extra table on the outside of the box column. I tried a code like this but I got the right column content above the boxes :(

 

Can anyone help me with getting this one straight?

 

Thanks in advance!

 

<table>

<tr>

<td>other content </td>

<td><?php

/*

$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

?></td>

</tr>

</table>

Link to comment
Share on other sites

<?php

/*
?$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

?osCommerce, Open Source E-Commerce Solutions
?[URL=http://www.oscommerce.com]http://www.oscommerce.com[/URL]

?Copyright ? 2003 osCommerce

?Released under the GNU General Public License
*/

?>

<table>
?<tr>
? ?<td>other content </td>
? ?
 </tr>
</table>


<?php

?if ((USE_CACHE == 'true') && empty($SID)) {
? ?echo tep_cache_categories_box();
?} else {
? ?include(DIR_WS_BOXES . 'categories.php');
?}

?if ((USE_CACHE == 'true') && empty($SID)) {
? ?echo tep_cache_manufacturers_box();
?} else {
? ?include(DIR_WS_BOXES . 'manufacturers.php');
?}

?require(DIR_WS_BOXES . 'whats_new.php');
?require(DIR_WS_BOXES . 'search.php');
?require(DIR_WS_BOXES . 'information.php');
?>

Your online success is Paramount.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...