⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pic_show.asp

📁 图利文章管理系统。毕业设计郑州科技学院2006级计算机系计算机信息管理专业
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="admin/ubbhtml.asp"-->
<% id=request("picid")
if id="" then 
   response.write "<a href=index.asp>参数不足!<br>请返回___&gt;</a>"
   response.end
end if     
%> <%
sql="select * from pic where picsy<>0 and picid="&id
rs.open sql,conn,1,2
if rs.bof or rs.eof then
   response.write "<a href=index.asp>ID错误,改内容已不存在!<br>请返回___&gt;</a>"
   rs.close
   set rs=nothing
   conn.close
   set conn=nothing
   response.end
end if 
  tday=rs("tday")
rs("pichits")=rs("pichits")+71
rs("tohit")=rs("tohit")+71
rs.update


if datediff("d",tday,date)>=1 then
	rs("tday")=date()
	rs("tohit")=71
	rs.update
end if


title=rs("picname")
hits=rs("pichits")
writer=rs("writer")
if writer="" then
	writer="ii86.Com"
end if
pic=rs("picurl")
adate=rs("adate")
content=rs("content")
rs.close
response.write count
%>
<!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%> - 搞笑图图 - 荆网笑话</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;
}
.copy {
	border: 1px solid #62BBE5;
	background-color: #B6EE2D;
	font-size: 14px;
	line-height: 25px;
	color: #359ADE;
}
</style>
<script language="JavaScript">
<!--
function namosw_goto(url, targetstr)
{
  if (url == 'backward')
    history.back(1);
  else if (url == 'forward')
    history.forward(1);
  else {
     if (targetstr == 'blank') {
       window.open(url, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = url;
     }
  }
}

// -->
</script>
<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>
<meta name="Keywords" content="<%if	request("sort")=""	then	response.write "全部笑话"	else	response.write request("sort")		end if%>,搞笑文字,荆网笑话" />
</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" bgcolor="#FFFFFF"><!--#include file="f.asp"--></td>
   <td colspan="7" background="img/index_r2_c3.jpg"><font size="2">&nbsp;&nbsp; <font color="#FFFE65">当前位置:荆网笑话 --&gt; 搞笑图图 --&gt; <%=title%></font></font></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 width="98%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="4"></td>
      </tr>
    </table>
      <table width="98%" border="0" align="center">
      <tr>
        <td width="148" height="24"></td>
        <td width="297" height="27" align="center" valign="middle" background="img/tit_bg.jpg"  border="0" cellspacing="0" cellpadding="0"><font color="#FFFF1F"><b><%=title%></b></font></td>
        <td width="155"></td>
      </tr>
      <tr>
        <td height="6" colspan="3"></td>
      </tr>
      <tr>
        <td colspan="3" align="center"><%
		  if instr(pic,"[img]") then
			 pic = Replace(pic, "[img]","<img src=")
			 pic = Replace(pic, "[/img]"," onload=""javascript:if(this.width>500)this.width=500"">")  
		  else
			 pic = Replace(pic, "[up]","<img src=upload/")
			 pic = Replace(pic, "[/up]"," onload=""javascript:if(this.width>500)this.width=500"">")  
		  end if
		  Response.Write(pic)
	   %> </TD></TR> 
	   <form name="form">
      <tr>
        <td colspan="2" align="center">
    <p>上篇:
      <%
sql="select * from pic where picsy<>0 and picid="&id-1
rs.open sql,conn,1,2
if rs.bof or rs.eof then
   response.write "无"
   else
   response.write "<a href=pic_show.asp?picid="&id-1&">"&rs("picname")&"</a>"
   end if 
    rs.close   
%>
下篇:
<% 
sql="select * from pic where picsy<>0 and picid="&id+1
rs.open sql,conn,1,2
if rs.bof or rs.eof then
   response.write "无"
   else
   response.write "<a href=pic_show.asp?picid="&id+1&">"&rs("picname")&"</a>"
   end if 
    rs.close   
%>
    </p>
</td></form>
        <td width="118" align="center"><input type="button" class="copy" name="Submit" onclick='copyToClipBoard()' value="点击复制" />
          <script language="javascript">
   function copyToClipBoard(){
    var clipBoardContent="";
    clipBoardContent+="这个图图好搞笑《<%=title%>》网址:";
    clipBoardContent+=this.location.href;
	clipBoardContent+=" 去看看哇!(没有病毒的)";
    window.clipboardData.setData("Text",clipBoardContent);
    alert("已将网址复制,你可以通过QQ、MSN、论坛发给你的好友");
  }
          </script></td>
      </tr>
    </table></td>
    <td rowspan="3"></td>
   <td><img src="img/spacer.gif" width="1" height="251" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="2" rowspan="2" valign="top" bgcolor="#FFFFFF"><a href="http://www.ii86.com" target="_blank"><font color="#ffffff">大荆门户网 www.ii86.com</font></a></td>
   <td height="250"><img src="img/spacer.gif" width="1" height="250" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="6" bgcolor="#FFFFFF"></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 + -