Hello all,
thank you for this wonderful contribution unfortunately it does not work with me!
I think it comes from the fact that I install the contribution INFOBOX_admin!
what do column_right that my file is not the same as basic and I do not know or add this line in this file:
/ / PWA EOF
if (tep_session_is_registered ( 'customer_id') & & (! tep_session_is_registered ( 'customer_is_guest'))) include (DIR_WS_BOXES. "order_history.php ');
/ / PWA BOF
could you please help me?
thank you
my column_right.php
<?php
/*
$Id: column_right.php,v 1.15 2002/03/13 13:52:20 lango Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
$column_query = tep_db_query('select configuration_column as cfgcol, configuration_title as cfgtitle, configuration_value as cfgvalue, configuration_key as cfgkey, box_heading from ' . TABLE_THEME_CONFIGURATION . ' order by location');
while ($column = tep_db_fetch_array($column_query)) {
$column['cfgtitle'] = str_replace(' ', '_', $column['cfgtitle']);
$column['cfgtitle'] = str_replace("'", '', $column['cfgtitle']);
if ( ($column[cfgvalue] == 'yes') && ($column[cfgcol] == 'right')) {
define($column['cfgkey'],$column['box_heading']);
if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) {
require(DIR_WS_BOXES . $column['cfgtitle'] . '.php');
}
}
}
?>
<tr>
<td class="pageHeading" height="100%" valign="top">
<?php
if ( file_exists('includes/classes/thema/' . SITE_THEMA . '/images/backend.gif')) {
?>
<IMG SRC="includes/classes/thema/<?php echo SITE_THEMA;?>/images/backend.gif" width="100%">
<?php
}
?>
</td>
</tr>