📄 list.html
字号:
#set ($p = ${StringUtil.getInt($request,"p")})
#set ($type = ${StringUtil.getInt($request,"type")})
${pc.setPageNo($p)}
${pc.setPageSize(10)}
<!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>
#if($type==1)
体验
#elseif ($type==2)
评价
#else
关注
#end
购物圈子 - ${systemConfig.getStringConfigValue("webtitle")}
</title>
<link href="../css/light.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script>
function go(p)
{
document.dataForm.p.value=p;
window.location = "list-"+document.dataForm.type.value+"-"+document.dataForm.p.value+".html";
}
</script>
</head>
<body>
${group_head}
<br />
<table width="990" height="530" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="560" align="left" valign="top">
<div style="font-size:14px;color:#FF0099;">
#if($type==1)
购买后体验
#elseif ($type==2)
购买后评价
#else
顾客关注
#end
······
</div>
<br /><br />
#set($newEnjoys=${groupMgr.getAllGroupProductEvaluateByType($type,$pc)})
#set($enjoyCount=${StringUtil.getRowLength($newEnjoys)})
#if ($enjoyCount>0)
#foreach ( $newEnjoy in $newEnjoys )
<table width="498" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="90" rowspan="2" align="left" valign="top"><a href="eval-${type}-${newEnjoy.getString("pid")}-1.html" target="_blank" title="${newEnjoy.getString("name")}"><img src="${ConfigBean.getStringValue("systenFolder")}.${ConfigBean.getStringValue("upload_pro_img")}${newEnjoy.getString("img_s")}" alt="${newEnjoy.getString("name")}" width="70" height="70" border="0" /></a></td>
<td height="24" align="left" valign="middle" id="enjoy"><a href="detail-eval-${newEnjoy.getString("gpeid")}.html" target="_blank" title="${newEnjoy.getString("title")}">${StringUtil.cutString(${newEnjoy.getString("title")}, 18, "...")}</a> <span style="font-size:12px;color:#999999">(${newEnjoy.getString("rep_count")}回应)</span></td>
</tr>
<tr>
<td id="enjoy-bottom">
<span style="color:#336699;">${newEnjoy.getString("nick_name")}</span> <span style="color:#666666">评论:</span> <a href="eval-${type}-${newEnjoy.getString("pid")}-1.html" target="_blank" title="${newEnjoy.getString("name")}">${StringUtil.cutString(${newEnjoy.getString("name")}, 20, "...")}</a><br />
<br />
${StringUtil.cutString(${newEnjoy.getString("content")}, 100, "...")}
<br /></td>
</tr>
</table><br />
<br />
#end
<br />
<form name="dataForm">
<input type="hidden" name="p" value="${p}">
<input type="hidden" name="type" value="${type}">
</form>
<DIV class=pages align="right">
${StringUtil.getTurnPage($pc,$p)} </div>
#else
<div style="border:1px #CCCCCC dashed;padding:10px;color:#999999">
<img src="imgs/eval.gif" width="14" height="14" align="absmiddle" /> 暂无评论</div>
#end
</td>
<td width="50" valign="top"> </td>
<td valign="top">
<div class="announce-title">
圈圈推荐 ······
</div><br />
<table width="370" height="304" border="0" cellpadding="0" cellspacing="0" id="recommend-product">
<tr>
<td style="padding-left:22px;padding-top:10px;">
<div id="section">
#foreach ( $prdoct in ${productMgr.getNewProductByPgTitleByCount("购物圈首页推荐2",6)} )
<div id="l1" style="margin-bottom:15px;margin-right:26px;">
<div id="l1-top">
<img src="${ConfigBean.getStringValue("systenFolder")}.${ConfigBean.getStringValue("upload_pro_img")}${prdoct.getString("img_s")}" alt="${prdoct.getString("name")}" width="70" height="70" style="border:1px #cccccc solid" />
</div>
<div id="l1-bottom">
<a href="../product/detail-${prdoct.getString("pid")}.html" target="_blank" style="color:#000000">
${StringUtil.cutString(${prdoct.getString("name")}, 12, "...")}
</a>
<br />
<span style="color:#FF6600;font-weight:bold;font-size:12px;font-family: Georgia;">${productMgr.getProductPriceStr($prdoct)}</span>
</div>
</div>
#end
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
${foot}
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -