📄 job.asp
字号:
<!--#include file="Inc/syscode_article.asp"-->
<%
'请勿改动下面这三行代码
const ChannelID=2
Const ShowRunTime="Yes"
MaxPerPage=20
strFileName="Article_Class2.asp?ClassID=" & ClassID & "&SpecialID=" & SpecialID
Set rsArticle= Server.CreateObject("ADODB.Recordset")
Set rsPic= Server.CreateObject("ADODB.Recordset")
%>
<html>
<!--#include file="top_up.asp"-->
<body>
<%
dim sqlRoot,rsRoot,trs,arrClassID,TitleStr
sqlRoot="select C.ClassID,C.ClassName,C.RootID,L.LayoutFileName,L.LayoutID,C.Child,C.ParentPath From ArticleClass C inner join Layout L on C.LayoutID=L.LayoutID where C.ParentID=" & 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
%>
<div id=menuDiv style='Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8'></div>
<table cellpadding="0" cellspacing="0" align="center" width="840"><tr><td>
<!-- Top -->
<!--顶部-->
<div id="info">
<div class="ABCa">
<div class="ABCa">
<img src="img/home/service.gif">
<div id="service">
<ul>
<li>
<a href="comppny.asp?ArticleID=2085"><img src="img/service/plane.gif" width="185" height="40"></a>
<li>
<a href="comppny.asp?ArticleID=2086"><img src="img/service/web.gif" width="185" height="40"></a>
<li>
<a href="comppny.asp?ArticleID=2087"><img src="img/service/system.gif" width="185" height="40"></a>
<li>
<a href="comppny.asp?ArticleID=2088"><img src="img/service/3d.gif" width="185" height="40"></a></li>
<li>
<a href="comppny.asp?ArticleID=2089"><img src="img/service/contrct.gif" width="185" height="40"></a></li>
</ul>
</div>
<div class="height2px"></div>
<img src="img/home/ours.gif">
<div id="ours">
<ul>
<li>
<label>
<input name="serch" type="text" id="serch" onFocus="if(this.value=='输入用户编号或电话')this.value='';" onBlur="if(this.value=='')this.value='输入用户编号或电话';" value="输入用户编号或电话" />
<input type="image" src="img/home/serch.gif" width="30" height="18" onMouseOver="javascript: this.src='img/home/serch.gif'" onMouseOut="javascript: this.src='img/home/serch.gif'" border="0">
</label>
</li>
</ul>
</div>
<img src="img/home/contact.gif">
<div id="contact">
<ul>
<li>
我们的服务热线:
<li>
电话:000-00000000
<li>
传真:000-00000000
<li>
邮箱:<A href="mailto:info@ald.net.cn">info@ald.net.cn</A></li>
</ul>
</div>
</div>
</div>
<!--最新案例-->
<!--最新动态-->
<div class="ABCd">
<div class="contact" align="center"><%
if rsRoot.bof and rsRoot.eof then
%>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="25" bgcolor="#A5CDCD"><img src="img/inc/inc.gif"></td>
<td width="604" bgcolor="#A5CDCD"><%=ClassName%> 列表</td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="5" class="border">
<tr>
<td height="200" valign="top">
<%call ShowArticle(30)%>
</td>
</tr>
</table>
<%
if totalput>0 then
call showpage(strFileName,totalput,MaxPerPage,false,true,"篇文章")
end if
%>
<br>
<% else
do while not rsRoot.eof
%>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="25" bgcolor="#A5CDCD"><img src="img/inc/inc.gif" /></td>
<td width="547" bgcolor="#A5CDCD">
<%
arrClassID=rsRoot(0)
response.write "<a href='maaket.asp?ClassID=" & rsRoot(0) & "'>" & rsRoot(1) & "</a>"
if rsRoot(5)>0 then
response.write ":"
set trs=conn.execute("select top 4 C.ClassID,C.ClassName,C.RootID,L.LayoutFileName,L.LayoutID From ArticleClass C inner join Layout L on C.LayoutID=L.LayoutID where C.ParentID=" & rsRoot(0) & " and C.IsElite=True and C.LinkUrl='' and C.BrowsePurview>=" & UserLevel & " order by C.OrderID")
do while not trs.eof
response.write " <a href='" & trs(3) & "?ClassID=" & trs(0) & "'>" & trs(1) & "</a>"
trs.movenext
loop
set trs=conn.execute("select ClassID from ArticleClass where ParentID=" & rsRoot(0) & " or ParentPath like '%" & rsRoot(6) & "," & rsRoot(0) & ",%' and Child=0 and LinkUrl='' and BrowsePurview>=" & UserLevel)
do while not trs.eof
arrClassID=arrClassID & "," & trs(0)
trs.movenext
loop
end if
%> </td>
<td width="57" bgcolor="#A5CDCD">
<%response.write "<a href='maaket.asp?ClassID=" & rsRoot(0) & "'>more...</a>"%>
</td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="3" cellspacing="0" class="border">
<tr>
<td width="100%" height="100" valign="top"> <%
sql="select top 5 A.ArticleID,A.ClassID,L.LayoutID,L.LayoutFileName,A.Title,A.Key,A.Author,A.CopyFrom,A.UpdateTime,A.Editor,A.TitleFontColor,A.TitleFontType,"
sql=sql & "A.Hits,A.OnTop,A.Hot,A.Elite,A.Passed,A.IncludePic,A.Stars,A.PaginationType,A.ReadLevel,A.ReadPoint,A.DefaultPicUrl from Article A"
sql=sql & " inner join Layout L on A.LayoutID=L.LayoutID where A.Deleted=False and A.Passed=True and A.ClassID in (" & arrClassID & ") order by A.OnTop,A.ArticleID desc"
rsArticle.open sql,conn,1,1
if rsArticle.bof and rsArticle.eof then
response.write "<li>没有任何文章</li>"
else
call ArticleContent(60,True,True,True,2,True,True)
end if
rsArticle.close
%> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="15" align="center" valign="top"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="13" Class="tdbg_left2"></td>
</tr>
</table></td>
</tr>
</table>
<%
rsRoot.movenext
loop
end if
rsRoot.close
set rsRoot=nothing
%>
<div class="height2px"></div><div class="height2px"></div><ul>
<li></li>
</ul>
</div>
<div class="height4px"></div>
</div>
</div>
<!-- Bottom -->
<!--#include file="end.asp"-->
</td></tr></table>
</div>
</body>
</HTML>
<%
set rsArticle=nothing
set rsPic=nothing
call CloseConn()
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -