search_header.php
来自「Easy_Buy是一个在线销售系统」· PHP 代码 · 共 27 行
PHP
27 行
<?php
/**
* search_header ("sidebox") - this is a search field that appears in the navigation header
* (it's not really a "sidebox" per se.
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: search_header.php 2834 2006-01-11 22:16:37Z birdbrain $
*/
$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'");
if ($search_header_status->RecordCount() != 0) {
$show_search_header= true;
}
if ($show_search_header == true) {
require($template->get_template_dir('tpl_search_header.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_search_header.php');
$title = '<label>' . BOX_HEADING_SEARCH . '</label>';
$title_link = false;
require($template->get_template_dir('tpl_box_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_box_header.php');
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?