[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/includes/ -> column_left.php (source)

   1  <?php
   2  /*

   3  $Id: column_left.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  
  13  // BOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin 

  14  /*

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

  16      echo tep_cache_categories_box();

  17    } else {

  18      include(DIR_WS_BOXES . 'categories.php');

  19    }

  20  

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

  22      echo tep_cache_manufacturers_box();

  23    } else {

  24      include(DIR_WS_BOXES . 'manufacturers.php');

  25    }

  26  

  27    require(DIR_WS_BOXES . 'whats_new.php');

  28    require(DIR_WS_BOXES . 'search.php');

  29    require(DIR_WS_BOXES . 'information.php');

  30  */
  31    $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');
  32    while ($column = tep_db_fetch_array($column_query)) {
  33  
  34      $column['cfgtitle'] = str_replace(' ', '_', $column['cfgtitle']);
  35      $column['cfgtitle'] = str_replace("'", '', $column['cfgtitle']);
  36  
  37      if ( ($column[cfgvalue] == 'yes') && ($column[cfgcol] == 'left')) {
  38        define($column['cfgkey'],$column['box_heading']);
  39  
  40        if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) {
  41          require(DIR_WS_BOXES . $column['cfgtitle'] . '.php');
  42        } 
  43      }
  44    }
  45  // EOF: MOD - INFO BOXES - now pulled dynamically as per setting in admin 

  46  ?>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7