soft_class.asp
来自「利用C++编写的网络跟踪代码」· ASP 代码 · 共 474 行 · 第 1/2 页
ASP
474 行
<!--#include file="Inc/syscode_soft.asp"-->
<%
'请勿改动下面这三行代码
const ChannelID=4
Const ShowRunTime="Yes"
MaxPerPage=10
strFileName="Soft_Class.asp?ClassID=" & ClassID
Set rsSoft= Server.CreateObject("ADODB.Recordset")
Set rsPic= Server.CreateObject("ADODB.Recordset")
SkinID=0
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="img/css.CSS" rel="stylesheet" type="text/css">
</STYLE>
<script language="JavaScript" type="text/JavaScript">
function Check()
{
if (document.myform.Name.value=="")
{
alert("请输入姓名!");
document.myform.Name.focus();
return false;
}
if (document.myform.Content.value=="")
{
alert("请输入评论内容!");
document.myform.Content.focus();
return false;
}
return true;
}
</script>
<link href="new/css.CSS" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #EFEBE7;
}
-->
</style></head>
<body topmargin="0">
<%
dim sqlRoot,rsRoot,trs,arrClassID,TitleStr
sqlRoot="select C.ClassID,C.ClassName,C.RootID,L.LayoutFileName,L.LayoutID,C.Child,C.ParentPath From SoftClass C inner join Layout L on C.LayoutID=L.LayoutID where C.ParentID=" & ClassID & " or C.ParentPath like '%" & ParentPath & "," & ClassID & "%' and C.IsElite=True and C.LinkUrl='' and C.BrowsePurview>=" & UserLevel & " order by C.OrderID"
Set rsRoot= Server.CreateObject("ADODB.Recordset")
rsRoot.open sqlRoot,conn,1,1
arrClassID=ClassID
do while not rsRoot.eof
arrClassID=arrClassID & "," & rsRoot(0)
rsRoot.movenext
loop
rsRoot.close
set rsRoot=nothing
%>
<!--#include file="top.asp"-->
<table width="860" height="400" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="f2f2f2" class="44">
<tr valign="top">
<td width="244" class="tdb"> <div align="left">
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="220" height="26" border="0" align="center" cellpadding="0" cellspacing="0" background="new/ccd.jpg">
<tr>
<td height="12"> <table width="220" height="22" border="0" align="center" cellpadding="0" cellspacing="0" class="44"">
<tr>
<td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12">
</div></td>
<td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333">
<table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1"></td>
</tr>
</table>
软件搜索</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="222" height="125" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7F7F7" class="44">
<tr>
<td height="12" valign="top" class="w4"> <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="15"></td>
</tr>
</table>
<% call ShowSearchForm("Article_search.asp",1) %>
</td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="220" height="26" border="0" align="center" cellpadding="0" cellspacing="0" background="new/ccd.jpg">
<tr>
<td height="12"> <table width="220" height="22" border="0" align="center" cellpadding="0" cellspacing="0" class="44"">
<tr>
<td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12">
</div></td>
<td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333">
<table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1"></td>
</tr>
</table>
相关专题</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="222" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7F7F7" class="44">
<tr>
<td height="12" valign="top" class="w4"> <table width="100%" height="5" border="0" align="center" cellpadding="0" cellspacing="7" bgcolor="#FFFFFF">
<tr>
<td height="5">
<% call ShowSpecial(5) %>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="220" height="70" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CC0000">
<tr>
<td height="12"><div align="center"><font color="#FFFFFF">广告位(220*70)</font></div></td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="220" height="26" border="0" align="center" cellpadding="0" cellspacing="0" background="new/ccd.jpg">
<tr>
<td height="12"> <table width="220" height="22" border="0" align="center" cellpadding="0" cellspacing="0" class="44"">
<tr>
<td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12">
</div></td>
<td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333">
<table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1"></td>
</tr>
</table>
下载排行</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="222" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7F7F7" class="44">
<tr>
<td height="12" valign="top" class="w4">
<table width="100%" height="5" border="0" align="center" cellpadding="0" cellspacing="7" bgcolor="#FFFFFF">
<tr>
<td height="5">
<%call ShowTop(50,32,arrClassID)%>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
</div></td>
<td width="616" class="tda"><table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="592" height="26" border="0" align="center" cellpadding="0" cellspacing="0" background="new/ccd.jpg" class="44">
<tr>
<td height="12"> <table width="220" height="22" border="0" align="left" cellpadding="0" cellspacing="0"">
<tr>
<td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12">
</div></td>
<td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333">
<table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1"></td>
</tr>
</table>
热门下载</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"></td>
</tr>
</table>
<table width="592" height="125" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7F7F7">
<tr>
<td height="12" valign="middle"> <table width="100%" height="6" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5"></td>
</tr>
</table>
<table width="99%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5">
<% call ShowPicSof(0,4,16,3,0,125,100,55,false,true) %>
</td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?