www.gusucode.com > 星云DJ舞曲 4.5a源码程序 > admin/admin_vipfuwumodify.asp

    <!--#include file="conn.asp"-->
<!--#include file="function.asp"-->
<!--#include file="checkadmin.inc"-->
<html>
<head>
<title>迪吧后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" id="AutoNumber2">
  <tr class="topbg"> 
    <td height="22" colspan="2" align="center"><strong>修 改 VIP 服 务 内 容</strong></td>
  </tr>
</table>
<%
founderr=false
ID=request.QueryString("ID")
set rs=server.createobject("adodb.recordset")
sql="select * from vipfuwu where ID="&ID
rs.open sql,conn,1,1
if rs.eof then
	errmsg="<li>操作错误!该服务不存在"
	founderr=true
else
	title=rs("title")
	Content=rs("Content")
end if
rs.close
if founderr=true then
	call error()
else
%>
  <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" id="AutoNumber3">
        <form method="POST" action="admin_vipfuwuSave.asp?ID=<%=ID%>">
    <tr class="tdbg"> 
      <td width="30%" align="right"><strong>标题:</strong></td>
      <td width="70%" height="30"><input type="text" name="title" size="20" value="<%=title%>"></td>
    </tr>
    <tr class="tdbg"> 
      <td width="30%" align="right"><strong>内容:</strong></td>
      <td width="70%" height="30"><textarea rows="10" name="Content" cols="50"><%=Content%></textarea> *此处支持HTML语言</td>
    </tr>
    <tr class="tdbg"> 
      <td height="22" colspan="2" align="center" class="title">
      <input type="hidden" value="edit" name="act">
              <input type="submit" value=" 修 改 " name="cmdok">&nbsp; 
              <input type="reset" value=" 清 除 "  name="cmdcancel">
        </td>
    </tr></form>
  </table>
</body> 
</html> 
<%end if%>