[ Index ]
 

Code source de osCommerce 2.2ms2-060817

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/catalog/admin/includes/boxes/ -> configuration.php (source)

   1  <?php
   2  /*
   3    $Id: configuration.php,v 1.17 2003/07/09 01:18:53 hpdl 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  ?>
  13  <!-- configuration //-->
  14            <tr>
  15              <td>
  16  <?php
  17    $heading = array();
  18    $contents = array();
  19  
  20    $heading[] = array('text'  => BOX_HEADING_CONFIGURATION,
  21                       'link'  => tep_href_link(FILENAME_CONFIGURATION, 'gID=1&selected_box=configuration'));
  22  
  23    if ($selected_box == 'configuration') {
  24      $cfg_groups = '';
  25      $configuration_groups_query = tep_db_query("select configuration_group_id as cgID, configuration_group_title as cgTitle from " . TABLE_CONFIGURATION_GROUP . " where visible = '1' order by sort_order");
  26      while ($configuration_groups = tep_db_fetch_array($configuration_groups_query)) {
  27        $cfg_groups .= '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $configuration_groups['cgID'], 'NONSSL') . '" class="menuBoxContentLink">' . $configuration_groups['cgTitle'] . '</a><br>';
  28      }
  29  
  30      $contents[] = array('text'  => $cfg_groups);
  31    }
  32  
  33    $box = new box;
  34    echo $box->menuBox($heading, $contents);
  35  ?>
  36              </td>
  37            </tr>
  38  <!-- configuration_eof //-->


Généré le : Mon Nov 26 19:48:25 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics