📄 search.dwt
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="style.css" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='utils.js,common.js,global.js,compare.js}
</head>
<body>
<div id="showcart" style="position:absolute; width:385px; height:90px; z-index:1000; display:none;background-color: #ffffff;">
<table width="385" border="0" cellspacing="0" cellpadding="0" style="border: 1px solid #63A631;">
<tr>
<td height="30" colspan="2" style="background-color:#C0F2A3;color: #009933;"> <strong><img src="themes/jbd/images/yes.gif" alt="商品添加成功" width="14" height="14" /> 商品已添加到购物车!</strong></td>
<td style="background-color:#C0F2A3;" align="right"><a href="javascript:noshow()"><img src="themes/jbd/images/show_close.gif" alt="关闭" width="14" height="13" /></a> </td>
</tr>
<tr>
<td colspan="3" height="30">
{insert_scripts files='transport.js'}<div id="ECS_CARTINFO" style="padding-left:10px;">{insert name='cart_info'}</div>
</td>
</tr>
<tr>
<td width="50%" align="center" height="26"><a href="flow.php"><img src="themes/jbd/images/show_add.gif" alt="查看购物车" width="109" height="26" border="0" /></a></td>
<td width="50%" height="26" colspan="2" align="center"><a href="./"><img src="themes/jbd/images/show_go.gif" alt="继续购物" width="97" height="26" border="0" /></a></td>
</tr>
<tr>
<td height="4" colspan="3"></td>
</tr>
</table>
<SCRIPT LANGUAGE="JavaScript">
function sc1(){
document.getElementById("showcart").style.top=(document.documentElement.scrollTop+
(document.documentElement.clientHeight-document.getElementById("showcart").offsetHeight)/2)
+"px";
document.getElementById("showcart").style.left=(document.documentElement.scrollLeft+
(document.documentElement.clientWidth-document.getElementById("showcart").offsetWidth)/2)
+"px";
}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
function scall(){
sc1();
}
window.onscroll=scall;
window.onresize=scall;
window.onload=scall;
//-->
</SCRIPT>
<script type="text/javascript">
var target=document.getElementById('showcart');
function display()
{
if(target.style.display=="none")
{
target.style.display="";
}
}
function noshow()
{
if(target.style.display=="")
{
target.style.display="none";
}
}
</script> <iframe src="javascript:false" style="position:absolute;visibility:inherit;top:0px;left:0px;width:385px;height:92px;z-index:-1;filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';border: 0px solid #63A631;background-color: #ffffff;"></iframe>
</div>
<div id="globalWrapper">
<div id="wrapper">
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="8"></td>
</tr>
</table>
<div id="search-bar">
<!-- TemplateBeginEditable name="导航栏下方" -->
<!-- #BeginLibraryItem "/library/search_form.lbi" --><!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
</div>
<!-- TemplateBeginEditable name="通栏广告位" --><!-- TemplateEndEditable -->
<div id="container4">
<div id="page-left">
<!-- TemplateBeginEditable name="主区域左侧" -->
<!-- #BeginLibraryItem "/library/category_tree.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/top10.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/history.lbi" --><!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
</div>
<!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
<div class="page-main">
<!-- {if $action eq "form"} -->
<!-- 搜索的表单 -->
<div class="goods-title">商品搜索</div>
<div class="mcontent-div">
<form action="search.php" method="get" name="advancedSearchForm" id="advancedSearchForm">
<table border="0" align="center" cellpadding="3">
<tr>
<td valign="top">{$lang.keywords}:</td>
<td>
<input name="keywords" id="keywords" type="text" size="40" maxlength="120" value="{$adv_val.keywords}" />
<label for="sc_ds"><input type="checkbox" name="sc_ds" value="1" id="sc_ds" {$scck} />{$lang.sc_ds}</label>
<br />{$lang.searchkeywords_notice}
</td>
</tr>
<tr>
<td>{$lang.category}:</td>
<td><select name="category" id="select">
<option value="0">{$lang.all_category}</option>{$cat_list}</select>
</td>
</tr>
<tr>
<td>{$lang.brand}:</td>
<td><select name="brand" id="brand">
<option value="0">{$lang.all_brand}</option>
{html_options options=$brand_list selected=$adv_val.brand}
</select>
</td>
</tr>
<tr>
<td>{$lang.price}:</td>
<td><input name="min_price" type="text" id="min_price" value="{$adv_val.min_price}" size="10" maxlength="8" />
-
<input name="max_price" type="text" id="max_price" value="{$adv_val.max_price}" size="10" maxlength="8" />
</td>
</tr>
<!--{if $goods_type_list}-->
<tr>
<td>{$lang.extension}</td>
<td><select name="goods_type" onchange="this.form.submit()">
<option value="0">{$lang.all_option}</option>
{html_options options=$goods_type_list selected=$goods_type_selected}
</select>
</td>
</tr>
<!--{/if}-->
<!--{if $goods_type_selected > 0}-->
<!--{foreach from=$goods_attributes item=item}-->
<!--{if $item.type eq 1}-->
<tr>
<td>{$item.attr}:</td>
<td colspan="3"><input name="attr[{$item.id}]" value="{$item.value}" type="text" size="20" maxlength="120" /></td>
</tr>
<!--{/if}-->
<!--{if $item.type eq 2}-->
<tr>
<td>{$item.attr}:</td>
<td colspan="3"><input name="attr[{$item.id}][from]" value="{$item.value.from}" type="text" size="5" maxlength="5" />
-
<input name="attr[{$item.id}][to]" value="{$item.value.to}" type="text" maxlength="5" /></td>
</tr>
<!--{/if}-->
<!--{if $item.type eq 3}-->
<tr>
<td>{$item.attr}:</td>
<td colspan="3"><select name="attr[{$item.id}]">
<option value="0">{$lang.all_option}</option>
{html_options options=$item.options selected=$item.value}
</select></td>
</tr>
<!--{/if}-->
<!--{/foreach}-->
<!--{/if}-->
<!-- {if $use_storage eq 1} -->
<tr>
<td> </td>
<td><label for="outstock"><input type="checkbox" name="outstock" value="1" id="outstock" /> {$lang.hidden_outstock}</label>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -