www.gusucode.com > 玩玩小游戏FLASH系统 2.1码程序 > admin/addflash.asp
<!--#include File="Conn.asp" --> <!--#include file="Checkpost.asp"--> <% If Session("AdminName")="" and Session("adminpass")="" Then Response.Redirect "Error.asp?id=005" Else %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>FLASH添加管理</title> <link href="inc/Style.css" rel="stylesheet" type="text/css"> </head> <body leftmargin="0" topmargin="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="36" bgcolor="#f1f1f1"> <div align="center">添加FLASH</div></td> </tr> </table> <p> </p> <table width="580" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#C1DFDF"> <form name="form1" method="post" action="saveflash.asp?action=add"> <tr bgcolor="#FFFFFF"> <td width="14%" height="25"> <div align="right">所属类别:</div></td> <td height="25" colspan="3"> <select name="classid" id="classid"> <% Set Rsadd=Server.Createobject("Adodb.Recordset") Sql="Select * From Class where classid='0'" Rsadd.open Sql,Conn,1,3 Do While not Rsadd.Eof %> <% Set Rs=Server.Createobject("Adodb.Recordset") Sql="Select * From Class where classid='"&rsadd("id")&"'" Rs.open Sql,Conn,1,3 Do While not Rs.Eof %> <option value="<%=rs("id")%>"><%=rsadd("name")%>>>>——<%=rs("name")%></option> <% Rs.Movenext Loop Rs.Close Set Rs=nothing %> <% Rsadd.Movenext Loop Rsadd.Close Set Rsadd=nothing %> </select></td> </tr> <tr bgcolor="#FFFFFF"> <td height="25"> <div align="right">名称:</div></td> <td height="25" colspan="3"> <input name="flashname" type="text" id="flashname" size="60"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="25"> <div align="right">地址:</div></td> <td height="25" colspan="3"> <input name="flashurl" type="text" id="flashurl" value="http://swf.hhzone.net/flashfile/.swf" size="60"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="25"> <div align="right">图片:</div></td> <td height="25" colspan="3"> <input name="pic" type="text" id="pic" value="http://swf.hhzone.net/flashpic/.jpg" size="60"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="25"> <div align="right">大小:</div></td> <td width="18%" height="25"> <input name="size" type="text" id="size" value="500kb" size="10"></td> <td width="26%" height="25">星级: <select name="hot" id="hot"> <option value="1">1星级</option> <option value="2">2星级</option> <option value="3" selected>3星级</option> <option value="4">4星级</option> <option value="5">5星级</option> </select> </td> <td width="42%" height="25">是否推荐: 是 <input type="radio" name="tj" value="yes"> 否 <input name="tj" type="radio" value="no" checked> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="26"> <div align="right">作者:</div></td> <td height="26" colspan="2"> <input name="zz" type="text" id="zz" value="不祥"> </td> <td height="26">发布人: <input name="user" type="text" id="user" value="admin" size="10"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="22"> <div align="right">歌手:</div></td> <td height="22" colspan="3"> <input name="geshou" type="text" id="geshou" value="未知"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="41"> <div align="right">内容简介:</div></td> <td colspan="3"> <textarea name="body" cols="60" rows="10" id="textarea">无</textarea></td> </tr> <tr bgcolor="#FFFFFF"> <td height="40"><div align="right">发布时间:</div></td> <td colspan="3"><input name="sj" type="text" id="sj" value="<%=now()%>"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="31"> </td> <td colspan="3"><input type="submit" name="Submit" value="确定"></td> </tr> </form> </table> </body> </html> <% end if %>