[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * search_header ("sidebox") - this is a search field that appears in the navigation header 4 * (it's not really a "sidebox" per se. 5 * 6 * @package templateSystem 7 * @copyright Copyright 2003-2005 Zen Cart Development Team 8 * @copyright Portions Copyright 2003 osCommerce 9 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 10 * @version $Id: search_header.php 2834 2006-01-11 22:16:37Z birdbrain $ 11 */ 12 13 $search_header_status = $db->Execute("select layout_box_name from " . TABLE_LAYOUT_BOXES . " where (layout_box_status=1 or layout_box_status_single=1) and layout_template ='" . $template_dir . "' and layout_box_name='search_header.php'"); 14 15 if ($search_header_status->RecordCount() != 0) { 16 $show_search_header= true; 17 } 18 19 if ($show_search_header == true) { 20 21 require($template->get_template_dir('tpl_search_header.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_search_header.php'); 22 23 $title = '<label>' . BOX_HEADING_SEARCH . '</label>'; 24 $title_link = false; 25 require($template->get_template_dir('tpl_box_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_box_header.php'); 26 } 27 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |