<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<title>发表评论</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="new/css.CSS" rel="stylesheet" type="text/css">
<style> 
BODY {
	scrollbar-face-color:#DDDDDD;
	scrollbar-highlight-color: #f2f2f2;
	scrollbar-shadow-color: #CCCCCC;
	scrollbar-3dlight-color: #F5F5F5;
	scrollbar-darkshadow-color: #F5F5F5;
	scrollbar-track-color: #F0F0F0;
	scrollbar-arrow-color: #FFFFFF;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 8px;
	margin-bottom: 0px;
}
</style>
<script language="JavaScript" type="text/JavaScript">
function Check()
{
  if (document.form1.title.value=="")
  {
    alert("请输入标题！");
	document.form1.title.focus();
	return false;
  }
  if (document.form1.content.value=="")
  {
    alert("请输入内容！");
	document.form1.content.focus();
	return false;
  }
  return true;  
}
</script>
<link href="new/css.CSS" rel="stylesheet" type="text/css" />
</head>

<body >
<%set rs=server.createobject("adodb.recordset")
vid=request("vid")
response.Write vid
vID=Clng(vID)
rs.open "select * from v where vID=" & vID & " ,conn_user,1,1" 
%>
<form name="form1" method="post" action="vsave.asp" onSubmit="return Check();">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="1" height="1"></td>
      <td height="1" bgcolor="#BCBCBC"></td>
      <td width="1" height="1"></td>
    </tr>
    <tr>
      <td bgcolor="#BCBCBC"></td>
      <td height="25" align="left" bgcolor="f2f2f2"><div align="center"><strong>---&nbsp;添加收藏&nbsp;---</strong></div></td>
      <td bgcolor="#BCBCBC"></td>
    </tr>
  </table>
  <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="bcbcbc">
    <tr bgcolor="ffffff">
      <td width="7%" align="center"><img src="user/head.gif" width="10" height="8"></td>
      <td width="12%" align="center"><strong>标题:</strong></td>
      <td>
          <input name="title" type="text" id="title" value="<%=rs("title")%>" size="60" /></td>
    </tr>
    <tr bgcolor="ffffff">
      <td align="center"><img src="user/head.gif" width="10" height="8"></td>
      <td align="center"><strong>地址:</strong></td>
      <td><input name="content" type="text" id="content" value="<%=rs("content")%>" size="60" /></td>
    </tr>
    <tr bgcolor="ffffff">
      <td align="center"><img src="user/head.gif" width="10" height="8"></td>
      <td align="center"><strong>说明:</strong></td>
      <td><input name="intor" type="text" id="intor" value="<%=rs("intor")%>" size="60" /></td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td bgcolor="#BCBCBC"></td>
      <td height="25" align="center" bgcolor="fafafa"><input name="userid" type="hidden" id="userid" value="<%userid=Trim(Request("userid"))%><%=userid%>">
      <input type="submit" name="Submit" value=" 保 存 " /></td>
      <td bgcolor="#BCBCBC"></td>
    </tr>
    <tr>
      <td width="1" height="1"></td>
      <td height="1" bgcolor="#BCBCBC"></td>
      <td width="1" height="1"></td>
    </tr>
  </table>
</form>
<%rs.close
set rs=nothing
%>
</body>
</html>
