<table width="95%" align="center" border="0" cellpadding="2" cellspacing="1" bgcolor="#cccccc">
<tr bgcolor="#ffffff"> 
<form name="pinglunform" method="post" action="joblist.asp?action=save&id=<%=jobid%>">
<td> 
<table width="95%" align="center" border="0" cellpadding="2" cellspacing="1">
<tr> 
<td width="10%">姓 名：</td>
<td width="90%">
<input class="wenbenkuang" name="pinglunname" type="text" id="pinglunname" maxlength="18">
</td>
</tr>
<tr> 
<td width="10%">标 题：</td>   
<td width="90%">
<input class="wenbenkuang" name="pingluntitle" type="text" id="pingluntitle" size="70">
</td>
</tr>
<tr> 
<td valign="top">内 容：</td>
<td>
<textarea class="wenbenkuang" name="pingluncontent" cols="70" rows="3" id="pingluncontent" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: BORDER-LEFT: COLOR: #333333; BORDER-BOTTOM: HEIGHT: 18px; BACKGROUND-COLOR:" ";";";" ;></textarea>
</td>
</tr>
<tr>
<td></td>
<td>
<input class="go-wenbenkuang" name="submit" value="提交保存" type="submit" onClick="return check();">
<input class="go-wenbenkuang" onclick="window.location='shangpintj.asp?id=<%=request("id")%>'" type="reset" value="推荐给朋友" name="Submit2">
</td>
</tr>
</table>
</td>
</form>
</tr>
</table>
<%function HTMLEncode2(fString)
	'fString = Replace(fString, CHR(13), "")
	'fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
	'fString = Replace(fString, CHR(10), "<BR>")
    fString = replace(fString, ">", "&gt;")
    fString = replace(fString, "<", "&lt;")

    fString = Replace(fString, CHR(32), "<I></I>&nbsp;")
    fString = Replace(fString, CHR(9), "&nbsp;")
    fString = Replace(fString, CHR(34), "&quot;")
    fString = Replace(fString, CHR(39), "&#39;")
    fString = Replace(fString, CHR(13), "")
    fString = Replace(fString, CHR(10) & CHR(10), "</P><P> ")
    fString = Replace(fString, CHR(10), "<BR> ")
	HTMLEncode2 = fString
end function%>
<script LANGUAGE="javascript">
<!--
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
function check()
{
  if(checkspace(document.pinglunform.pinglunname.value)) {
	document.pinglunform.pinglunname.focus();
    alert("请填写您的姓名！");
	return false;
  }
  if(checkspace(document.pinglunform.pingluntitle.value)) {
	document.pinglunform.pingluntitle.focus();
    alert("请填写评论标题！");
	return false;
  }
  if(checkspace(document.pinglunform.pingluncontent.value)) {
	document.pinglunform.pingluncontent.focus();
    alert("请填写评论正文！");
	return false;
  }
	  }
//-->
</script>