<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/Conn_User.asp"-->
<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 type="text/css">
BODY {
	scrollbar-face-color:#DDDDDD;
	scrollbar-highlight-color: #cccccc;
	scrollbar-shadow-color: #CCCCCC;
	scrollbar-3dlight-color: #F5F5F5;
	scrollbar-darkshadow-color: #F5F5F5;
	scrollbar-track-color: #F0F0F0;
	scrollbar-arrow-color: #FFFFFF;
	margin-left: 10px;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
}
</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 >
<%
userid=request("userid")
vid=request("vid")
set rs=server.createobject("adodb.recordset")
sql="select * from v where vid="&vid
rs.open sql,Conn_User,1,1
%>
<form name="form1" method="post" action="vmodifysave.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="18%" align="center"><img src="user/head.gif" width="10" height="8"><strong>&nbsp;标题:</strong></td>
      <td width="260">
          <input name="title" type="text" id="title" value="<%=rs("title")%>" size="49" class="ifd"/></td>
      <td><select name="TitlefontColor" id="TitlefontColor" class="ifd">
        <option value="">颜色</option>
        <option value="">默认</option>
        <option value="#000000" style="background-color:#000000" <%if rs("TitlefontColor")="#000000" then response.write " selected"%>></option>
        <option value="#FFFFFF" style="background-color:#FFFFFF" <%if rs("TitlefontColor")="#FFFFFF" then response.write " selected"%>></option>
        <option value="#008000" style="background-color:#008000" <%if rs("TitlefontColor")="#008000" then response.write " selected"%>></option>
        <option value="#800000" style="background-color:#800000"<%if rs("TitlefontColor")="#800000" then response.write " selected"%>></option>
        <option value="#808000" style="background-color:#808000" <%if rs("TitlefontColor")="#808000" then response.write " selected"%>></option>
        <option value="#000080" style="background-color:#000080" <%if rs("TitlefontColor")="#000080" then response.write " selected"%>></option>
        <option value="#800080" style="background-color:#800080" <%if rs("TitlefontColor")="#800080" then response.write " selected"%>></option>
        <option value="#808080" style="background-color:#808080" <%if rs("TitlefontColor")="#808080" then response.write " selected"%>></option>
        <option value="#FFFF00" style="background-color:#FFFF00"  <%if rs("TitlefontColor")="#FFFF00" then response.write " selected"%>></option>
        <option value="#00FF00" style="background-color:#00FF00" <%if rs("TitlefontColor")="#00FF00" then response.write " selected"%>></option>
        <option value="#00FFFF" style="background-color:#00FFFF" <%if rs("TitlefontColor")="#00FFFF" then response.write " selected"%>></option>
        <option value="#FF00FF" style="background-color:#FF00FF" <%if rs("TitlefontColor")="#FF00FF" then response.write " selected"%>></option>
        <option value="#FF0000" style="background-color:#FF0000" <%if rs("TitlefontColor")="#FF0000" then response.write " selected"%>></option>
        <option value="#0000FF" style="background-color:#0000FF" <%if rs("TitlefontColor")="#0000FF" then response.write " selected"%>></option>
        <option value="#008080" style="background-color:#008080" <%if rs("TitlefontColor")="#008080" then response.write " selected"%>></option>
      </select></td>
    </tr>
    <tr bgcolor="ffffff">
      <td align="center"><img src="user/head.gif" width="10" height="8"><strong>&nbsp;地址:</strong></td>
      <td colspan="2"><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"><strong>&nbsp;说明:</strong></td>
      <td colspan="2"><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="vid" type="hidden" id="vid" value="<%vid=Trim(Request("vid"))%><%=vid%>">
        <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>
</body>
</html>
