📄 packet.html
字号:
#set ($p = ${StringUtil.getInt($request,"p")})
<!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=utf-8" />
<title>捆绑促销 ${systemConfig.getStringConfigValue("webtitle")} </title>
<meta name="keywords" content="捆绑促销 ${systemConfig.getStringConfigValue("webtitle")}">
<meta name="description" content="捆绑促销 ${systemConfig.getStringConfigValue("webtitle")}">
<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" />
<style type="text/css">
.packet-bg {
background-image: url(../imgs/packet_bg.gif);
background-repeat: no-repeat;
background-position: 0 0;
height: 232px;
width: 259px;
float:left;
margin: 20px 27px 20px 27px;
overflow: hidden;
}
.packet-bg .pic {
width:75px;
height:75px;
padding-left:10px;
text-align: center;
padding-top:10px;
float:left;
}
.packet-bg .oldprice {
text-decoration: line-through;
color:#999999;
}
.STYLE2 {
color: #FF0000;
font-weight: bold;
font-size:14px;
}
.packet-bg .save {
float: left;
padding-left: 70px;
color: blue;
padding-top:10px;
}
.packet-bg .mored {
float: right;
line-height: 30px;
padding-right:10px;
}
-->
</style>
<script>
function go(p)
{
window.location = "packet-"+p+".html";
}
</script>
</head>
<body>
${head}
<div style=" MARGIN: 0px auto; WIDTH: 950px">
<div id="positionNav"><span class="label">您的位置</span> » 捆绑促销</div>
<div id="contentWrap">
<div id="firstContentWrap" >
${pc.setPageNo($p)}
${pc.setPageSize(9)}
#foreach ( $packets in ${productMgr.getAlivePackets($pc)} )
#set ($save = ${packets.get("org_price",${StringUtil.getDoubleType()})}-${packets.get("pprice",${StringUtil.getDoubleType()})})
#set ($save = ${StringUtil.formatNumber("#.00",$save)})
<div class="packet-bg" style="margin-right:5px;">
<div class="mored"><a href="detail-packet-${packets.getString("ppid")}.html" target="_blank" style="color:#FFFFFF">了解详情>></a></div>
<div class="save">${save}元</div><div class="clearFloat"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td style="font-size:14px;padding-left:10px;">${packets.getString("name")}</td>
</tr>
<tr>
<td align="center" valign="middle">
#foreach ( $products in ${productMgr.getAllProductsByPpid(${packets.get("ppid",${StringUtil.getLongType()})})} )
<div class="pic" style="padding-left:7px;padding-top:8px;">
<a target="_blank" href="../product/detail-${products.getString("pid")}.html"><img src="${ConfigBean.getStringValue("systenFolder")}.${ConfigBean.getStringValue("upload_pro_img")}${products.getString("img_s")}" alt="${products.getString("name")}" width="75" height="75" border="0"></a></div>
#end
</td>
</tr>
<tr>
<td align="center" valign="middle"> </td>
</tr>
<tr>
<td align="center" valign="middle"><span class="oldprice">原价:¥${packets.getString("org_price")}</span> 现在只需:<span class="STYLE2">¥${packets.getString("pprice")}</span></td>
</tr>
<tr>
<td align="center" valign="middle"><img src="../imgs/clock2.gif" width="16" height="16" align="absmiddle" /> ${packets.getString("st")} - ${packets.getString("en")}</td>
</tr>
</table>
</div>
#end
<form name="dataForm">
<input type="hidden" name="p">
</form>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="middle">
<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 />
</div>
</div>
</div>
${foot}
<script>
document.write('<script src="${ConfigBean.getStringValue("systenFolder")}count.jsp?ref='+escape(document.referrer)+'¤tURL='+escape(document.location)+'&color_depth='+screen.colorDepth+'&screen='+screen.width+'x'+screen.height+'&lang='+navigator.systemLanguage+'"><\/script>');
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -