[ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 $Id: column_right.php 3 2006-05-27 04:59:07Z user $ 4 5 osCMax Power E-Commerce 6 http://oscdox.com 7 8 Copyright 2006 osCMax 9 10 Released under the GNU General Public License 11 */ 12 // BOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin 13 /* 14 require(DIR_WS_BOXES . 'loginbox.php'); 15 include(DIR_WS_BOXES . 'wishlist.php'); 16 17 require(DIR_WS_BOXES . 'shopping_cart.php'); 18 // BOF: Wish List 2.3 Start 19 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES .'wishlist.php'); 20 // EOF: Wish List 2.3 End 21 22 if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); 23 24 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); 25 26 if (isset($HTTP_GET_VARS['products_id'])) { 27 if (tep_session_is_registered('customer_id')) { 28 $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'"); 29 $check = tep_db_fetch_array($check_query); 30 if ($check['count'] > 0) { 31 include(DIR_WS_BOXES . 'best_sellers.php'); 32 } else { 33 include(DIR_WS_BOXES . 'product_notifications.php'); 34 } 35 } else { 36 include(DIR_WS_BOXES . 'product_notifications.php'); 37 } 38 } else { 39 include(DIR_WS_BOXES . 'best_sellers.php'); 40 } 41 42 if (isset($HTTP_GET_VARS['products_id'])) { 43 if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); 44 } else { 45 include(DIR_WS_BOXES . 'specials.php'); 46 } 47 48 require(DIR_WS_BOXES . 'reviews.php'); 49 // BOF: MOD - Article Manager 50 require(DIR_WS_BOXES . 'authors.php'); 51 require(DIR_WS_BOXES . 'articles.php'); 52 53 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { 54 include(DIR_WS_BOXES . 'languages.php'); 55 include(DIR_WS_BOXES . 'currencies.php'); 56 } 57 // BOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin 58 */ 59 60 $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'); 61 while ($column = tep_db_fetch_array($column_query)) { 62 63 $column['cfgtitle'] = str_replace(' ', '_', $column['cfgtitle']); 64 $column['cfgtitle'] = str_replace("'", '', $column['cfgtitle']); 65 66 if ( ($column[cfgvalue] == 'yes') && ($column[cfgcol] == 'right')) { 67 68 define($column['cfgkey'],$column['box_heading']); 69 70 if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) { 71 require(DIR_WS_BOXES . $column['cfgtitle'] . '.php'); 72 } 73 } 74 } 75 // EOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin 76 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |