📄 upload.asp
字号:
<!--#include file="top.asp"-->
<table width="773" border="0" cellspacing="0" cellpadding="0" ALIGN="CENTER" BGCOLOR="#FFFFFF">
<tr> <TD WIDTH="1" BGCOLOR="#36A36C"></TD><td width="160" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td BGCOLOR="#ff6600"> </td>
</tr> <tr>
<td>
<table cellspacing=0 cellpadding=10 width="100%" border=0>
<tbody> <tr> <form name=searchJoke action=search.php method=post>
<td align=left valign=top bgcolor="#f1f1f1" class=gb2> 欢迎大家上传笑话和漫画。笑话的题材不限,漫画必须是JPG或GIF格式的图片,而且最大宽度不能超过750像素。网友上传的笑话和漫画要经幽默笑话站负责人审核后才会刊登出来,同时还会标上您的大名哦,想在网络上扬名立万的朋友可一定要认真填写哦。另外,严禁在这里上传内容反动或不健康的笑话或漫画,违者将受到警告,并承担由此产生的一切法律责任!再要请大家注意:上传的笑话、漫画如涉及版权问题,由此产生的后果也将由上传者承担。
<br> <p> </p></td></form></tr>
</tbody> </table></td></tr> </table></td><td valign="top" background="images/talk.gif" >
<%if Request("sort")="1" then%> <table cellspacing=0 cellpadding=0 width=550 border=0 align="center">
<tbody> <form name=upload1 action=articleupload.asp method=post> <tr>
<td valign=top colspan=4><img alt=笑话上传 width=550 height=29 border=0 style="background-color: #99cc00">
</td>
</tr> <tr> <td noWrap width=20 rowspan=5><spacer width="1" type="block"></td><td valign=center noWrap width=70 height=40>笑话标题:</td><td noWrap width=60>
<select class="smallSel" name="sort" size="1"> <%
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql="select * from sort"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "Not record."
else
do while not rs.eof
response.write "<option value='"+CStr(rs("sort"))+"' name=sort>"+rs("sort")+"</option>"+chr(13)+chr(10)
rs.movenext
loop
end if
rs.close
%> </select> </td><td noWrap width=400> <input size=38 name=atitle> </td></tr>
<tr> <td valign=top noWrap width=70>正文内容:</td><td noWrap colspan="2"> <textarea name=body rows=10 wrap=virtual cols=50></textarea>
</td></tr> <tr> <td valign=center noWrap width=70 height=40>您的大名:</td><td noWrap colspan="2">
<input size=50 name=author value="joke.26265.cn"> </td></tr> <tr> <td noWrap width=70>主页地址:</td><td noWrap colspan="2">
<input size=50 name=aurl value="http://joke.26265.cn">
<font
color=#ff0000>不是必需的...</font></td></tr> <tr> <td class=gb1 noWrap width=70> </td><td valign=top noWrap colspan="2">
<table cellspacing=0 cellpadding=0 border=0> <tbody> <tr> <td noWrap width=100 height=10><spacer width="1"
type="block"></td></tr> </tbody> </table><input type=submit value=" 发表" name=uploadNow>
<input type=reset value=" 重 写 " name=clearIt> </td></tr> </form></tbody> </table><br><%elseif Request("sort")="2" then%>
<br> <table cellspacing=0 cellpadding=0 width=550 border=0 align="center"> <tbody>
<form name="form1" action=picupload.asp method=post> <tr> <td valign=top colspan=3 height=40><img height=29 alt=笑话上传
src="images/upload2.gif" width=550 border=0> </td></tr> <tr> <td noWrap width=20 rowspan=7><spacer width="1" type="block"></td><td valign=center noWrap width=70 height=40>笑话标题:</td><td noWrap width=460>
<input size=50 name="title"> </td></tr> <tr> <td noWrap width=70 height="40">图片文件:</td><script src=admin/code.js></script>
<script language="Javascript">
function openScript(url, width, height){
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
function openem()
{
openScript('admin/upload.asp',350,200);
}
</script> <td noWrap width=460>
<input type="text" name="pic" size="50"> <a href="javascript:image2()">贴图片</a>
| 上传图片 </td></tr> <tr> <td class=gb2 valign=top noWrap width=70>正文内容:</td><td noWrap width=460>
<textarea name=txtcontent rows=10 wrap=virtual cols=50></textarea> </td></tr>
<tr> <td valign=center noWrap width=70 height=40>您的大名:</td><td noWrap width=460>
<input type="text" name="writer" size="50" maxlength="20" value="joke.26265.cn"> </td></tr>
<tr> <td noWrap width=70>主页地址:</td><td noWrap width=460> <input size=50 name=url value="http://joke.26265.cn">
<font
color=#ff0000>不是必需的...</font></td></tr> <tr> <td class=gb1 noWrap width=70> </td><td valign=top noWrap width=460>
<input type=submit value=" 上 传 " name=uploadNow2> <input type=reset value=" 重 写 " name=clearIt2>
</td></tr> </form></tbody> </table><%end if%></td></tr><tr><TD COLSPAN="3" BGCOLOR="#36A36C" HEIGHT="1"></TD></tr>
</table><!--#include file="copyright.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -