[ PHPXref.com ] [ Generated: Sun Jul 20 19:13:40 2008 ] [ osCommRes 1.2.0 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/includes/ -> column_left.php (source)

   1  <?php
   2  /*

   3    $Id: column_left.php,v 1.2 2003/09/24 15:34:33 wilt Exp $

   4  

   5    osCommerce, Open Source E-Commerce Solutions

   6    http://www.oscommerce.com

   7  

   8    Copyright (c) 2002 osCommerce

   9  

  10    Released under the GNU General Public License

  11  */
  12  $count=0;
  13    $column_query = tep_db_query('select display_in_column as cfgcol, infobox_file_name as cfgtitle, infobox_display as cfgvalue, infobox_define as cfgkey, box_heading, box_template, box_heading_font_color from ' . TABLE_INFOBOX_CONFIGURATION . ' where template_id = ' . TEMPLATE_ID . ' order by location');
  14    while ($column = tep_db_fetch_array($column_query)) {
  15  
  16  if ( ($column[cfgvalue] == 'yes') && ($column[cfgcol] == 'left')) {
  17  if ( file_exists(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/boxes/' . $column['cfgtitle'])) {
  18  
  19  define($column['cfgkey'],$column['box_heading']);
  20  $infobox_define = $column['box_heading'];
  21  $infobox_template = $column['box_template'];
  22  $font_color = $column['box_heading_font_color'];
  23  
  24  
  25  require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/boxes/' . $column['cfgtitle']);
  26  } 
  27  }
  28  }
  29  ?>
  30  


[ Powered by PHPXref - Served by Debian GNU/Linux ]