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

📄 index.asp

📁 实现对图片的基本处理:打开、增加、删除等。
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<%

classname=Request.Querystring("classname")
	  if instr(classname,"'") or instr(classname,"select") or instr(classname,"in") or instr(classname,"from") or instr(classname,"len") or instr(classname,"where") or instr(classname,"or") or instr(classname,"and") then
		Response.Write("<script language=javascript>alert('你想做什么?');window.location.href='check.htm'</script>")
		Response.End
	  end if   
	  key=Request("key")
	  if len(key)=0 then                  
		  if classname="" or isnull(classname) then
			 sql="select * from imgbook order by ID desc"
		  else
			 sql="select * from imgbook where classname='"&classname&"' order by ID desc"
		  end if
		  url="index.asp?classname=" & classname
	  else
	      sql="select * from imgbook where title like '%"&key&"%' and classname='"&classname&"' order by ID desc"
	      url="index.asp?classname=" & classname &"&key=" & key
	  end if
%>

<html>

<body>

<p> </p>
<p> </p>
<div style="position: absolute; width: 942px; height: 120px; z-index: 1; left: 31px; top: -9px" id="layer1">
<TABLE width="940" height="121">
  <TBODY>
  <TR>
    <TD vAlign=top width="934">
      <TABLE id=AutoNumber6 
      style="border-collapse: collapse; border-style: solid; border-width: 1px" 
      borderColor=#dddddd cellSpacing=1 cellPadding=2 width=936 bgColor=#ffffff 
      border=0 height="122">
              <TBODY>
                <TR> 
                  <TD width=66 background=image/whiteback.gif height=20 align="center"> 
                    <P align=center><img src="image/faq.gif" width="15" height="14"><span style="font-size: 9pt"><a target="_blank" href="http://www.xw127.org/main.asp">小武网络</a></span></P></TD>
                  <TD width=71 background=image/whiteback.gif align="center"><div align="center"><img src="image/faq.gif" width="15" height="14"><span style="font-size: 9pt"><a target="_blank" href="http://www.7767.net">虚拟主机</a></span></div></TD>
                  <TD width=68 background=image/whiteback.gif align="center"><div align="center"><img src="image/faq.gif" width="15" height="14"><span style="font-size: 9pt"><a href="/book.asp">给我留言</a></span></div></TD>
                  <TD width=108 background=image/whiteback.gif height=20 align="center"><img src="image/faq.gif" width="15" height="14"></TD>
                  <TD width=139 background=image/whiteback.gif align="center"><img src="image/faq.gif" width="15" height="14"></TD>
                  <TD width=228 background=image/whiteback.gif> </TD>
                  <TD width=218 background=image/whiteback.gif><img src="image/faq.gif" width="15" height="14"></TD>
                </TR>
                <TR> 
                  <TD colspan="3" rowspan="3" align=middle bgColor=#f4f4f4 width="215">
					<img border="0" src="/z.jpg" width="200" height="61"> </TD>
                  <TD height=72 colspan="3" rowspan="3" align=middle bgColor=#f4f4f4 width="485"> 
                    <img border="0" src="/banner.gif"></TD>
                  <TD height=31 align=middle bgColor=#f4f4f4 width="218"><span style="font-size: 9pt"> 
					<span onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.xw127.org');" style="CURSOR: hand">设为首页</span>
    
                </TR>
                <TR>
                  <TD height=23 align=middle bgColor=#f4f4f4 width="218">
					<span style="font-size: 9pt">
					<span style="CURSOR: hand" onClick="window.external.addFavorite('http://www.xw127.org','小武图片管理')" title="小武图片管理">收藏本站</span>
                    </TR>
                <TR> 
                  <TD height=16 align=middle bgColor=#f4f4f4 width="218">
                    <p align="center"><span style="font-size: 9pt">
					<a href="http://www.xw127.org/zhanzhang/">关于站长</a></span></p>
                  </TD>
                </TR>
                <TR> 
                  <TD align=middle bgColor=#f4f4f4 colSpan=7 width="928"> <P align="center" style="MARGIN-TOP: 2px">
					<span style="font-size: 9pt">
					<a target="_self" href="index.asp">首页</a>|<a target="_blank" href="/pao/"> 泡泡堂</a>|   
              		<a target="_blank" href="/down/">软件下载</a>|<a target="_blank" href="http://9126.xw127.org">免费域名</a>|<a target="_blank" href="/xing/">看看运气</a>|<a target="_blank" href="/search/">游戏搜索</a></span></table>
  </table>

</div>
<p> </p>

<table width="935" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#999999" height="571">
    <td valign="top" align="left" bgcolor="#f4f4f4" width="190"> 
        <img src="/newtop.gif" width="190" height="34"><br>
  <table width="100%" border="0" cellspacing="2" cellpadding="0">
    <tr> 
      <td> 
        
        &nbsp;<img src="image1/t4.gif"><font face="宋体" style="font-size: 9pt">桌面网现在在更新</font><p> </p>
		<p> </p>
		<p> </td>
    </tr>
  </table>
  <img src="/data.gif" width="190" height="34"><br>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
  <tr> 
    <td>
      <div align="left"> 
        
        &nbsp;&nbsp;<span style="font-size: 9pt"><img src="t3.gif"> 
		建成时间:2004年6月1日 <br>
		&nbsp;&nbsp;</span></div>
		<div align="left"> 
        
        <span style="font-size: 9pt">&nbsp;&nbsp; <img src="t3.gif"> 壁纸总数:<font color="#FF0000">192</font>张<br>
		&nbsp;&nbsp;</span></div>
		<div align="left"> 
        
        <span style="font-size: 9pt">&nbsp;&nbsp; <img src="t3.gif">
		<a href="http://xw127.org/index.asp?classname=动漫图片">动漫桌面</a>:<font color="#FF0000">158</font>张<br>
		&nbsp;&nbsp;</span></div>
		<div align="left"> 
        
        <span style="font-size: 9pt">&nbsp;&nbsp; <img src="t3.gif">
		<a href="http://xw127.org/index.asp?classname=游戏图片">游戏桌面</a>:<font color="#FF0000">19</font>张<br>
		&nbsp;&nbsp;</span></div>
		<div align="left"> 
        
        <span style="font-size: 9pt">&nbsp;&nbsp; <img src="t3.gif">
		<a href="http://xw127.org/index.asp?classname=创意图片">创意桌面</a>:<font color="#FF0000">15</font>张<br>
		 </span></div>
		<div align="left"> 
        
        <span style="font-size: 9pt">&nbsp;&nbsp; <img src="t3.gif"> 今日更新:<font color="#FF0000">0</font>张</span></div>
    </td>
  </tr>
</table>

  <img src="/sort.gif" width="190" height="34"><br>
<table width="100%" border="0" cellspacing="2" cellpadding="0" height="163">
  <tr> 
    <td>
      <div align="left"> 
        
        <img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=动漫图片">动漫图片</a>&nbsp;&nbsp;&nbsp;&nbsp;
		</font><img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=圣斗士">圣斗士</a></font></div>
		<div align="left"> 
        
         </div>
		<div align="left"> 
        
        <img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=幽游白书">幽游白书</a></font><font style="font-size: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;
		</font><img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=七龙珠">七龙珠</a>
		</font></div>
		<div align="left"> 
        
         </div>
		<div align="left"> 
        
        <img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=游戏图片">游戏图片</a>
		</font><font style="font-size: 9pt">&nbsp;&nbsp;&nbsp; </font><img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=魔卡少女樱">魔卡少女樱</a></font></div>
		<div align="left"> 
        
         </div>
		<div align="left"> 
        
        <img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=灌蓝高手">灌蓝高手</a>&nbsp;&nbsp;&nbsp;&nbsp;
		</font><img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=创意图片">创意图片</a></font></div>
		<div align="left"> 
        
         </div>
		<div align="left"> 
        
        <img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=拳皇">拳皇</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</font><img src="image1/t4.gif"><font style="FONT-SIZE: 9pt"><a href="http://xw127.org/index.asp?classname=chobit">chobit
		</a></font></div>
		<div align="left"> 
        
         </div>
		<div align="left"> 
        
         </div>
		<div align="left"> 
        
         </div>
    </td>
  </tr>
</table>

        <img src="/Topweek.gif" width="190" height="34"><br>
  <table width="100%" border="0" cellspacing="2" cellpadding="0">
    <tr> 
      <td> 
        
        <form name="form2" method="post" target="_top" action="file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/bbs/login.asp?action=chk">
		</form>
      <form name="form3" action="bbs/login.asp?action=chk" method="post" target="_top">
                <table cellSpacing="0" cellPadding="0" border="0" width="188" height="94">
                      <td class="n00" width="59" height="24" valign="middle">
                        <p align="center"><img src="img/icon_menu_1.gif" width="21" height="18"></p>
                      </td>
                      <td width="129" height="24" valign="middle"><input class="input" tabIndex="1" maxLength="13" size="20" name="T1" type="text" name="T1" size="20" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 18px; font-family: Verdana, Geneva, sans-serif; width: 111; color: #000000; height: 24; background-color: #dff1f9; border: 1px groove #ffffff"></td>
                      <tr>
                      <td class="n00" width="59" height="28" valign="middle">
                        <p align="center"><font size="2"><img src="img/iconGV_HP.gif" align="absMiddle" width="13" height="14"></font></td>
                      <td width="129" height="28" valign="middle"><input class="input" tabIndex="2" type="password" maxLength="19" size="12" value name="password" type="text" name="T1" size="20" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 18px; font-family: Verdana, Geneva, sans-serif; width: 111; color: #000000; height: 24; background-color: #dff1f9; border: 1px groove #ffffff"></td>
                      </tr>
                      <tr>
                      <td class="n00" width="190" height="42" valign="middle" colspan="2">
						<a href="http://asp5.6to23.com/ylmx/dvbbs/login.asp">
						<img border="0" src="http://www.xw127.org/img/in.jpg" width="91" height="40"></a><a href="http://asp5.6to23.com/ylmx/dvbbs/reg.asp"><img border="0" src="http://www.xw127.org/img/in_o.jpg" width="91" height="40"></a></td>
                      </tr>
                </table>
      </form>
		</td>
    </tr>
  </table>
  <img src="/link.gif" width="190" height="34"><br>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
  <tr> 
    <td>
      <div align="left"> 
        
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
		<a target="_blank" href="http://www.xw127.org/"> <img src="/logo.gif"></a></div>
		<div align="left"> 
        
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/ylogo.gif"></div>
		<div align="left"> 
        
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/ylogo.gif"> </div>
    </td>
  </tr>
</table>

  </td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -