special_edit.asp
资源名称:qnmov30.rar [点击查看]
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:4k
源码类别:
家庭/个人应用
开发平台:
ASP/ASPX
- <!--#include file="articleconn.asp"-->
- <!--#include file="security.asp"-->
- <!--#include file="../checkpost.asp"-->
- <!--#include file="inc/function.asp"-->
- <%if session("flag")>1 then
- response.write "<script>alert('您的操作权限不够!');history.back();</script>"
- response.end
- end if
- %>
- <html>
- <head>
- <title>修改影星专辑</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link rel="stylesheet" type="text/css" href="css/css.css"><style type=text/css>
- body { background:#799AE1; margin:0px; font:9pt 宋体; }
- table { border:0px; }
- td { font:normal 12px 宋体; }
- img { vertical-align:bottom; border:0px; }
- a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
- a:hover { color:#428EFF;text-decoration:underline; }
- .sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
- .menu_title { }
- .menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
- .menu_title2 { }
- .menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
- </style>
- </head>
- <body bgcolor="#FFFFFF" text="#000000">
- <%
- set rs1=server.createobject("adodb.recordset")
- sql1="select * from special where id="&request.querystring("id")
- rs1.open sql1,conn,3,3
- %>
- <form name="form1" method="post" action="special_edit_save.asp">
- <p><b><font size="3">修改影星专辑</font></b></p>
- <table width="90%" border="0" height="30" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC" style="border-collapse: collapse" bordercolor="#111111">
- <tr>
- <td height="30" width="100" bgcolor="#EAEAEA" align="center">专辑名称:</td>
- <td height="30" width="400" bgcolor="#EAEAEA">
- <input type="text" name="special" size="36" value="<%=rs1("special")%>"></td>
- </tr>
- <tr>
- <td height="30" width="100" bgcolor="#EAEAEA" align="center">影星名称:</td>
- <td height="30" width="400" bgcolor="#EAEAEA">
- <input type="text" name="name" size="36" value="<%=rs1("name")%>"></td>
- </tr>
- <tr>
- <td height="30" width="100" bgcolor="#EAEAEA" align="center">图片路径:</td>
- <td height="30" width="400" bgcolor="#EAEAEA">
- <input type="text" name="pic" size="36" value="<%=rs1("pic")%>"></td>
- </tr>
- <tr>
- <td height="30" width="100" bgcolor="#EAEAEA" align="center">点击次数:</td>
- <td height="30" width="400" bgcolor="#EAEAEA">
- <input type="text" name="hits" size="12" value="<%=rs1("hits")%>"> 是否推荐:<select size="1" name="best">
- <option value="<%=rs1("best")%>"><%if rs1("best")=true then%>是<%else%>否<%end if%></option>
- <option value="true">是</option>
- <option value="false">否</option>
- </select></td>
- </tr>
- <tr>
- <td height="30" width="100" bgcolor="#EAEAEA" align="center">专辑介绍:</td>
- <td height="30" width="400" bgcolor="#EAEAEA">
- <textarea rows="11" name="special_intro" cols="51"><%
- content=replace(rs1("special_intro"),"<br>",chr(13))
- content=replace(content," "," ")
- response.write content%></textarea></td>
- </tr>
- <tr>
- <td height="30" width="100" bgcolor="#EAEAEA" align="center">影星介绍:</td>
- <td height="30" width="400" bgcolor="#EAEAEA">
- <textarea rows="11" name="name_intro" cols="51"><%
- content=replace(rs1("name_intro"),"<br>",chr(13))
- content=replace(content," "," ")
- response.write content%></textarea></td>
- </tr>
- <tr>
- <td height="30" width="100" bgcolor="#EAEAEA" align="center"> </td>
- <td height="30" width="400" bgcolor="#EAEAEA">
- </td>
- </tr>
- </table>
- <input type=hidden name=id value=<%=rs1("id")%>>
- <input class="form2" type="submit" name="yes" value="确定添加">
- <input class="form2" type="submit" name="no" value="清除">
- </form>
- </body>
- </html>