Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

login box hung up to right column


sufi

Recommended Posts

Posted

I have loginbox.php and require(DIR_WS_BOXES . 'loginbox.php');

ı want to hang up this box right column

like http://www.kingcoffee.net/

ı added but it look down on my site

 

column right.php code

 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');
        require(DIR_WS_BOXES . 'loginbox.php');

?>

Posted

Put this:

 

require(DIR_WS_BOXES . 'loginbox.php');

 

higher up on the page.

 

Vger

Archived

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

×
×
  • Create New...