box specials non visibile
Inviato: 28/02/2006, 13:27
Salve a tutti, pur sembrando tutto ok non si vede il box specials, vi posto il php della pagina column_right in catalog/includes/column_right.
<?php
$column_location = 'right';
?>
<tr><td align="center" valign="top">
<table valign="top" border="0" cellspacing="0" cellpadding="4" align="center" width="155">
<tr><td>
<?php
// Begin Login My Account Box
require(DIR_WS_BOXES . 'loginbox.php');
// End Login My Account Box
require(DIR_WS_BOXES . 'shopping_cart.php');
require(DIR_WS_BOXES . 'search.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 {
}
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');
}
if (substr(basename($PHP_SELF), 0,
!= 'checkout') {
}
?>
</td></tr>
</table>
</td>
</tr>
<?php
$column_location = '';
?>
Spero che mi possiate aiutare e vi ringrazio in anticipo.
Jerry
<?php
$column_location = 'right';
?>
<tr><td align="center" valign="top">
<table valign="top" border="0" cellspacing="0" cellpadding="4" align="center" width="155">
<tr><td>
<?php
// Begin Login My Account Box
require(DIR_WS_BOXES . 'loginbox.php');
// End Login My Account Box
require(DIR_WS_BOXES . 'shopping_cart.php');
require(DIR_WS_BOXES . 'search.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 {
}
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');
}
if (substr(basename($PHP_SELF), 0,

}
?>
</td></tr>
</table>
</td>
</tr>
<?php
$column_location = '';
?>
Spero che mi possiate aiutare e vi ringrazio in anticipo.
Jerry