📄 search.html
字号:
#set($p = ${StringUtil.getInt($request,"p")})
#set($key = ${StringUtil.getString($request,"key","")})
#set($cid = ${StringUtil.getString($request,"cid")})
${pc.setPageNo($p)}
${pc.setPageSize(10)}
#set($productss = ${productMgr.getSearchResult($key,$cid,$pc)})
<!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"><!-- InstanceBegin template="/Templates/head.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="${systemConfig.getStringConfigValue("webtitle")} ${StringUtil.cuteNR(${detailCatalog.getString("description")})}">
<meta name="description" content="${systemConfig.getStringConfigValue("webtitle")} ${StringUtil.cuteNR(${detailCatalog.getString("description")})}">
<link href="css/light.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/mall_tbsp.css@t=20080730.css" />
<link rel="stylesheet" type="text/css" href="css/mall_base.css@t=20080730.css" />
<link rel="stylesheet" type="text/css" href="css/mall_common.css@t=20080730.css" />
<link rel="stylesheet" type="text/css" href="css/mall_exhibit.css@t=20080730.css" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>搜索结果 ${systemConfig.getStringConfigValue("webtitle")}</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.STYLE1 {color: #666666}
.special {color:#FF0000;font-weight:bold}
-->
</style>
<script>
function go(p)
{
document.dataForm.p.value = p;
document.dataForm.submit();
}
</script>
</head>
<body>
${head} <br />
<table width="950" height="217" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
搜索到 <span class="special">${pc.getAllCount()}</span> 个与 “<span class="special">${key}</span>” 相关的商品<br /><br />
<br />
#set($products = $productss)
<table width="100%" border="0" cellpadding="3" cellspacing="0">
#foreach ( $product in ${products} )
<tr>
<td width="119" height="120" align="center" valign="middle" style="border-top:1px #eeeeee solid">
<a target="_blank" href="product/detail-${product.getString("pid")}.html"><img src="${ConfigBean.getStringValue("systenFolder")}.${ConfigBean.getStringValue("upload_pro_img")}${product.getString("img_s")}" width="90" height="90" /></a> </td>
<td width="518" valign="top" style="border-top:1px #eeeeee solid"><br><a target="_blank" href="product/detail-${product.getString("pid")}.html"> ${product.getString("name")}</a><br />更多 <span class="catalog"><a target="_blank" href="catalog/list-s-${product.getString("parentid")}-${product.getString("cid")}.html"> ${product.getString("ctitle")}</a></span><br />
<br />
${product.getString("short_desc")}</p> </td>
<td width="130" align="center" valign="middle" style="border-top:1px #eeeeee solid"><span style="color:#FF0000;font-size:13px;font-weight:bold">¥${product.getString("shop_price")}</span></td>
</tr>
#end
</table>
<hr size="1" noshade="noshade" style="color:#999999" />
<form name="dataForm" method="post">
<input type="hidden" name="p">
<input type="hidden" name="key" value="${StringUtil.getString($request,"key")}">
</form><div id="cls"></div>
<div class="list-bottom">
<ul class="display-settings bottom">
<li class="quick-page-changer">
${StringUtil.getTurnPage($pc,$p)}
</li>
</ul>
</div>
</td>
</tr>
</table>
<br />
<br />
${foot}
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -