📄 upload.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="admin/ubbhtml.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>荆网笑话 - 娱乐笑话</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">
td img {display: block;}body,td,th {
font-size: 14px;
}
body {
background-color: #FFFFFF;
margin-left: 0px;
margin-top: -1px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(img/index_bg.jpg);
background-repeat: repeat-x;
}
a {
font-size: 13px;
color: #0000CC;
}
a:visited {
color: #0066FF;
}
a:hover {
color: #009966;
}
a:active {
color: #0099CC;
}
.dixian {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #62BBE5;
}
</style>
<SCRIPT language=JavaScript>
var newwin
function openwin(url)
{
var newwin=window.open(url,"flash","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=700,height=506,left=100,top=50")
}
</SCRIPT>
<SCRIPT language=javascript src="joke/mouse_up.js"></SCRIPT>
</head>
<body>
<table width="926" border="0" align="left" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="index.png" fwbase="index.jpg" fwstyle="Dreamweaver" fwdocid = "162338751" fwnested="0" -->
<tr>
<td><img src="img/spacer.gif" width="31" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="253" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="22" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="126" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="122" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="111" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="115" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="132" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="14" height="1" border="0" alt="" /></td>
<td><img src="img/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3"><img name="index_r1_c1" src="img/index_r1_c1.jpg" width="306" height="146" border="0" id="index_r1_c1" alt="" /></td>
<td><img src="img/index_r1_c4.jpg" alt="" name="index_r1_c4" width="126" height="146" border="0" usemap="#index_r1_c4Map" id="index_r1_c4" /></td>
<td><img src="img/index_r1_c5.jpg" alt="" name="index_r1_c5" width="122" height="146" border="0" usemap="#index_r1_c5Map" id="index_r1_c5" /></td>
<td><img src="img/index_r1_c6.jpg" alt="" name="index_r1_c6" width="111" height="146" border="0" usemap="#index_r1_c6Map" id="index_r1_c6" /></td>
<td><img src="img/index_r1_c7.jpg" alt="" name="index_r1_c7" width="115" height="146" border="0" usemap="#index_r1_c7Map" id="index_r1_c7" /></td>
<td colspan="2"><img src="img/index_r1_c8.jpg" alt="" name="index_r1_c8" width="146" height="146" border="0" usemap="#index_r1_c8Map" id="index_r1_c8" /></td>
<td><img src="img/spacer.gif" width="1" height="146" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2"><img name="index_r2_c1" src="img/index_r2_c1.jpg" width="31" height="285" border="0" id="index_r2_c1" alt="" /></td>
<td rowspan="2" align="right" valign="top" background="img/index_r2_c2.jpg"><!--#include file="f.asp"--></td>
<td colspan="7" align="center" background="img/index_r2_c3.jpg">内容发表</td>
<td><img src="img/spacer.gif" width="1" height="34" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="6" rowspan="2" valign="top" bgcolor="#FFFFFF"><table cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
<tr align="middle">
<td valign="top"><%if Request("sort")="1" then%>
<table cellspacing="0" cellpadding="0" width="550" border="0" align="center">
<tbody>
</tbody>
<form action="articleupload.asp" method="post" name="upload1" id="upload1">
<tr>
<td height="40" colspan="4" valign="middle">文字笑话</td>
</tr>
<tr>
<td nowrap="nowrap" width="20" rowspan="4"><spacer width="1" type="block" /></td>
<td valign="center" nowrap="nowrap" width="70" height="40">笑话标题:</td>
<td nowrap="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 width="400" align="left" nowrap="nowrap"><input size="38" name="atitle" />
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td valign="top" nowrap="nowrap" width="70">笑话内容:</td>
<td colspan="2" align="left" nowrap="nowrap"><textarea name="body" rows="10" wrap="virtual" cols="50"></textarea>
(小于400字) </td>
</tr>
<tr>
<td valign="center" nowrap="nowrap" width="70" height="40">您的昵称:</td>
<td colspan="2" align="left" nowrap="nowrap"><input size="50" name="author" />
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td class="gb1" nowrap="nowrap" width="70"> </td>
<td valign="top" nowrap="nowrap" colspan="2"><table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td nowrap="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>
</table>
<br />
<%elseif Request("sort")="2" then%>
<br />
<table cellspacing="0" cellpadding="0" width="550" border="0" align="center">
<tbody>
</tbody>
<form action="picupload.asp" method="post" name="form1" id="form1">
<tr>
<td valign="middle" colspan="3" height="40">搞笑图图</td>
</tr>
<tr>
<td nowrap="nowrap" width="20" rowspan="5"><spacer width="1" type="block" /></td>
<td valign="center" nowrap="nowrap" width="70" height="40"> 图片标题:</td>
<td width="460" align="left" nowrap="nowrap"><input size="50" name="title" />
<font color="#FF0000">*</font> </td>
</tr>
<script src="admin/code.js"></script>
<tr>
<td width="70" align="right" class="tdbg" height="20">缩略小图:</td>
<td width="460" height="30" align="left" class="tdbg"><input name="minipic" type="text" value="如果没有可以不传" size="40" readonly="readonly" />
<a href="javascript:image1()">贴网上的图片</a> | <a href="JavaScript:openem()">上传图片</a></td>
</tr>
<tr>
<td width="70" align="right" class="tdbg" height="20">正常大图:</td>
<td width="460" align="left" class="tdbg"><input name="pic" type="text" size="40" readonly="readonly" value="<%=pic%>" />
<a href="javascript:image2()">贴网上的图片</a> | <a href="JavaScript:openem()">上传图片</a> </td>
</tr>
<tr>
<td valign="center" nowrap="nowrap" width="70" height="40">您的昵称:</td>
<td width="460" align="left" nowrap="nowrap"><input type="text" name="writer" size="15" maxlength="8" />
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td class="gb1" nowrap="nowrap" width="70"> </td>
<td valign="top" nowrap="nowrap" width="460"><input type="submit" value=" 上 传 " name="uploadNow2" />
<input type="reset" value=" 重 写 " name="clearIt2" /> </td>
</tr>
</form>
</table>
<%end if%></td>
</tr>
</tbody>
</table></td>
<td rowspan="3" background="img/index_r3_c9.jpg"> </td>
<td><img src="img/spacer.gif" width="1" height="251" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2" rowspan="2" background="img/index_r4_c1.jpg"> </td>
<td><img src="img/spacer.gif" width="1" height="250" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="6" background="img/index_r5_c3.jpg"> </td>
<td><img src="img/spacer.gif" width="1" height="62" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="9" align="center" background="img/index_r6_c1.jpg"><!--#include file="d.asp"--></td>
<td><img src="img/spacer.gif" width="1" height="72" border="0" alt="" /></td>
</tr>
</table>
<map name="index_r1_c4Map" id="index_r1_c4Map"><area shape="rect" coords="25,46,111,140" href="index.asp" />
</map>
<map name="index_r1_c5Map" id="index_r1_c5Map">
<area shape="rect" coords="17,71,86,140" href="class.asp" />
</map>
<map name="index_r1_c6Map" id="index_r1_c6Map"><area shape="rect" coords="11,51,86,140" href="picclass.asp" />
</map>
<map name="index_r1_c7Map" id="index_r1_c7Map">
<area shape="rect" coords="30,52,98,140" href="upload.asp?sort=1" />
</map>
<map name="index_r1_c8Map" id="index_r1_c8Map"><area shape="rect" coords="38,70,99,141" href="upload.asp?sort=2" />
</map></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -