📄 fresh.html
字号:
#set ($p = ${StringUtil.getInt($request,"p")})
${pc.setPageNo($p)}
${pc.setPageSize(7)}
<!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>
<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 = "enjoy-"+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">
最新活动 ······
</div>
<br /><br />
#set($newEnjoys=${groupMgr.getAllGroupParty($pc)} )
#set($enjoyCount=${StringUtil.getRowLength($newEnjoys)})
#if ($enjoyCount>0)
#foreach ( $newEnjoy in $newEnjoys )
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" align="left" valign="middle" id="enjoy" style="padding-left:0px;"><a href="detail-fresh-${newEnjoy.getString("gpid")}-1.html" target="_blank" title="${newEnjoy.getString("title")}" style="font-weight:bold">${StringUtil.cutString(${newEnjoy.getString("title")}, 18, "...")}</a> </td>
</tr>
<tr>
<td id="enjoy-bottom">
${newEnjoy.getString("content")} </td>
</tr>
<tr>
<td style="padding-top:10px;color:#999999">on ${newEnjoy.getString("post_date")} | ${newEnjoy.getString("rep_count")}条回应</td>
</tr>
</table>
<br />
<br />
#end
<br />
<form name="dataForm">
<input type="hidden" name="p" value="${p}">
</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 + -