⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 detail_eval.html

📁 网上商店 使用jsp开发网上商店系统 4.1环境准备 为了利用JSP技术,首先需要建立环境。
💻 HTML
字号:
#set ($p = ${StringUtil.getInt($request,"p")})
#set ($type=${detailEval.get("type",0)})
#set ($pid=${detailProduct.get("pid",${StringUtil.getLongType()})})
${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>
 ${detailProduct.getString("name")}  

 购物圈子 - ${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 = "detail-eval-"+document.dataForm.gpeid.value+"-"+p+".html";
}
</script>
<style type="text/css">
<!--
.arrow-line {
	background-attachment: fixed;
	background-image: url(imgs/detail_eval_line.gif);
	background-repeat: repeat-y;
	background-position: center center;
}
-->
</style>
</head>
<body>
${group_head}
<br />



<table width="990" height="530" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="579" align="left" valign="top">

<div style="width:542px;height:7px;">
  <img src="imgs/detail_eval_top.gif" width="542" height="7" /></div>
<table width="582" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="537" style="border-left:#cccccc 1px solid;padding:10px;">
	
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" style="color:#27A4E2;font-size:14px;font-weight:bold">${detailEval.getString("title")}	</td>
  </tr>
  <tr>
    <td style="line-height:20px;">
	<a href="#" style="color:#336699">${detailEval.getString("nick_name")}</a>  <span style="color:#666666">发表 on ${detailEval.getString("post_date")}</span>	</td>
  </tr>
  <tr>
    <td style="line-height:20px;"><br />
	${StringUtil.ascii2Html(${detailEval.getString("content")})}      </td>
  </tr>
</table>	</td>
    <td width="45" align="left" valign="top" class="arrow-line"><img src="imgs/detail_eval_arrow.gif" width="45" height="34" /></td>
  </tr>
</table>
<div style="width:542px;height:8px;">
  <img src="imgs/detail_eval_bottom.gif" width="542" height="8" /></div>



<br />
<br />


	#foreach ( $evalRep in ${groupMgr.getAllGroupProductEvaluateRepByGpeid($gpeid,$pc)}  )
	<table width="544" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24" align="left" valign="middle" id="enjoy">${evalRep.getString("title")}</td>
      </tr>
      <tr>
        <td id="enjoy-bottom"><a href="#">${evalRep.getString("nick_name")}</a>  <span style="color:#666666">评论 on ${evalRep.getString("post_date")}</span><br />
		  <br />
		  ${StringUtil.ascii2Html(${StringUtil.cutString(${evalRep.getString("content")}, 130, "...")})}

        </td>
      </tr>
    </table>
	<br />
<br />

	#end
	
		    <form name="dataForm">
    <input type="hidden" name="p" value="${p}">
	<input type="hidden" name="gpeid" value="${gpeid}">
  </form>

<DIV class=pages  align="right" style="width:544px;height:50px;"> 
${StringUtil.getTurnPage($pc,$p)} </div>
	
	<br />


	
	</td>
    <td width="10" valign="top">&nbsp;</td>
    <td width="404" valign="top">



	<table width="370" height="14" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="149" align="left" valign="top" >
		<img  src="${systenFolder}.${upload_pro_img}${detailProduct.getString("img_b")}" width="120" height="120" border="0" />		</td>
        <td width="221" align="left" valign="top"><span style="font-size:14px;color:#27A4E2;font-weight:bold">${detailProduct.getString("name")}</span>
		<br /><br />
		价格:
		<span style="color:#FF0000;font-size:13px;font-weight:bold">
		<script src="../product/my_price_js.jsp?pid=${pid}"></script>
		</span><br />
		<br />
		<a href="../product/detail-${detailProduct.getString("pid")}.html"><img src="imgs/buy.jpg" width="105" height="30" border="0" /></a></td>
      </tr>
      <tr>
        <td colspan="2" align="left" valign="top" style="color:#666666"><br />
          ${detailProduct.getString("short_desc")}		  </td>
      </tr>
    </table>
    <br />
    <br />

<div style="width:370px;"><img src="imgs/announce_top.gif" width="370" height="10" /></div>

<div style="width:348px;height:80px;padding:10px;line-height:20px;border-left:1px #eeeeee solid;border-right:1px #eeeeee solid;background:#f8f8f8">
#if(${isLogin}==0)
  <table width="348" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="20" height="72" align="left" valign="middle">&nbsp;</td>
      <td width="101" align="left" valign="middle"><img src="imgs/alert.gif" width="46" height="47" /></td>
      <td width="227" style="color:#999999;line-height:20px;">登录后,您也能发表意见<br />
        <a href="../member/login.html?backurl=${StringUtil.getCurrentURL()}">注册/登录 &gt;&gt;</a> </td>
    </tr>
  </table>
#else
<script>
function check(theForm)
{
	if (theForm.title.value=="")
	{
		alert("请填写标题");
		return(false);
	}
	else if (theForm.content.value=="")
	{
		alert("请填写提问内容");
		return(false);
	}
	else
	{
		return(true);
	}
}
</script>
<form action="${ConfigBean.getStringValue("systenFolder")}appController/addGroupProductEvaluateRep" method="post" name="form_ask" onSubmit="return check(this)">
<input type="hidden" name="gpeid" value="${gpeid}">
  <table width="348" border="0" cellspacing="0" cellpadding="4">
    <tr>
      <td style="font-size:14px;color:#FF0099">我要回复······</td>

    </tr>
    <tr>
      <td width="348">
	  标题<br />

        <input type="text" name="title" style="width:300px;"/>      </td>
    </tr>
    <tr>
      <td>提问内容<br />
          <textarea name="content"  style="width:300px;height:100px;"></textarea>      </td>
    </tr>
    <tr>
      <td>
        <input type="submit" name="Submit" value="发表" style="border-top:1px #CCCCCC solid;border-left:1px #CCCCCC solid;border-left:1px #999999 solid;border-bottom:1px #999999 solid;background:#eeeeee;width:80px;height:25px;"/>      </td>
    </tr>
  </table>
  </form>

#end
</div>
<div style="width:370px;"><img src="imgs/announce_bottom.gif" width="370" height="10" /></div>
    </td>
  </tr>
</table>

	
	</td>
  </tr>
</table>




<br />
${foot}
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -