<!--#include file="conn.asp"-->
<%if request("channelid")<>"" then
set rs1=server.createobject("adodb.recordset")
rs1.open "select * from bbs1 where BoardID="&request("channelid")&"",conn,1,3
channelink=rs1("username")
channel=rs1("topic")
channelid=rs1("boardid")
rs1.close
set rs1=nothing
end if%>
<html><head><title><%=webname%>--<%=channel%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="image/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onmouseover="window.status='最新的商讯最快的传递优质的服务－尽在IT大青岛';return true">
<script src="moban_top1.asp?channelink=<%=channelink%>" language="javascript"></script>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td height="1"></td></tr>
<tr> 
<td colspan="3" bgcolor="#efefef" style="border-top:1px solid #cccccc;padding-left:5px;height:25px"><a href=index.asp style="text-decoration:none"><%=webname%></a> >> <a href="<%=channelink%>pd.asp" style="text-decoration:none"><%=channel%></a><%if request("anclass")<>"" then%> >> <%=request("anclass")%><%end if%><%if request("nclass")<>"" then%> >> <%=request("nclass")%><%end if%><%if request("nnclass")<>"" then%> >> <%=request("nnclass")%><%end if%></td>
</tr>
<tr><td height="1"></td></tr>
<tr> 
<td align="center" valign="top" style="border:1px solid #ACACAC">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" bgcolor="EFEFEF" style="padding:5px"><script src="moban_newsad1.asp" language="javascript"></script></td></tr>
<tr> 
<td align="center" height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td>
<%dim anclass,nclass,nnclass
anclass=request("anclass")
nclass=request("nclass")
nnclass=request("nnclass")
searchkey=request("searchkey")
set rs=server.createobject("adodb.recordset")
if anclass="" and nclass="" and nnclass="" and searchkey="" then
rs.open "select * from news_moban where channelid="&channelid&" and att<>5 order by updatetime desc",conn,1,1
elseif anclass<>"" and nclass="" and nnclass="" and searchkey="" then
rs.open "select * from news_moban where channelid="&channelid&" and anclass='"&anclass&"' and att<>5 order by updatetime desc",conn,1,1
elseif nclass<>"" and anclass="" and nnclass="" and searchkey="" then
rs.open "select * from news_moban where channelid="&channelid&" and nclass='"&nclass&"' and att<>5 order by updatetime desc",conn,1,1
elseif nnclass<>"" and anclass="" and nclass="" and searchkey="" then
rs.open "select * from news_moban where channelid="&channelid&" and nnclass='"&nnclass&"' and att<>5 order by updatetime desc",conn,1,1
elseif nnclass="" and anclass="" and nclass="" and searchkey<>"" then
rs.open "select * from news_moban where title like '%"&searchkey&"%' and att<>5 order by updatetime desc",conn,1,1
end if
if rs.recordcount=0 then%>
<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
<tr> 
<td align=center>暂无</td>
</tr>
</table>
<%else
rs.PageSize =20 '每页记录条数
iCount=rs.RecordCount '记录总数
iPageSize=rs.PageSize
maxpage=rs.PageCount 
page=request("page")
if Not IsNumeric(page) or page="" then
page=1
else
page=cint(page)
end if
if page<1 then
page=1
elseif page>maxpage then
page=maxpage
end if
rs.AbsolutePage=Page
if page=maxpage then
x=iCount-(maxpage-1)*iPageSize
else
x=iPageSize
end if
dim b_1,b_count
b_1=int((x+5)/4)
if b_1>4 then 
b_1=4
end if%></td>
</tr>
<tr> 
<td><table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
<%For b_count=1 to b_1
if not rs.eof then%>
<tr> 
<td align=center><img src="image/ring01.gif"></td>
<td><a href="mo/<%=rs("pathlink")%>" target=_blank class="14"><%=rs("title")%></a></td>
<td align=center><%=year(rs("updatetime"))&"."&month(rs("updatetime"))&"."&day(rs("updatetime"))%></td>
</tr><%rs.movenext
end if
if not rs.eof then%>
<tr> 
<td align=center><img src="image/ring01.gif"></td>
<td><a href="mo/<%=rs("pathlink")%>" target=_blank class="14"><%=rs("title")%></a></td>
<td align=center><%=year(rs("updatetime"))&"."&month(rs("updatetime"))&"."&day(rs("updatetime"))%></td>
</tr><%rs.movenext
end if
if not rs.eof then%>
<tr> 
<td align=center><img src="image/ring01.gif"></td>
<td><a href="mo/<%=rs("pathlink")%>" target=_blank class="14"><%=rs("title")%></a></td>
<td align=center><%=year(rs("updatetime"))&"."&month(rs("updatetime"))&"."&day(rs("updatetime"))%></td>
</tr><%rs.movenext
end if
if not rs.eof then%>
<tr> 
<td align=center><img src="image/ring01.gif"></td>
<td><a href="mo/<%=rs("pathlink")%>" target=_blank class="14"><%=rs("title")%></a></td>
<td align=center><%=year(rs("updatetime"))&"."&month(rs("updatetime"))&"."&day(rs("updatetime"))%></td>
</tr><%rs.movenext
end if
if not rs.eof then%>
<tr> 
<td align=center><img src="image/ring01.gif"></td>
<td><a href="mo/<%=rs("pathlink")%>" target=_blank class="14"><%=rs("title")%></a></td>
<td align=center><%=year(rs("updatetime"))&"."&month(rs("updatetime"))&"."&day(rs("updatetime"))%></td>
</tr>
<tr><td colspan="3" style="padding-top:10px;padding-bottom:10px" align="center"><span style="border-bottom:2px dotted #cccccc;width:500" height="5"><img src="image/Spacer.gif"></span></td></tr>
<%rs.movenext
end if
next%>
</table>
<%call PageControl(iCount,maxpage,page,"border=0 align=center","<p align=center>")
end if
rs.close
set rs=nothing
Sub PageControl(iCount,pagecount,page,table_style,font_style)
'生成上一页下一页链接
Dim query, a, x, temp
action = "http://" & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("SCRIPT_NAME")
query = Split(Request.ServerVariables("QUERY_STRING"), "&")
For Each x In query
a = Split(x, "=")
If StrComp(a(0), "page", vbTextCompare) <> 0 Then
temp = temp & a(0) & "=" & a(1) & "&"
End If
Next
Response.Write("<table width=100% border=0 cellpadding=0 cellspacing=0 bgcolor=#f1f1f1>" & vbCrLf )
Response.Write("<form method=get onsubmit=""document.location = '" & action & "?" & temp & "Page='+ this.page.value;return false;""><TR>" & vbCrLf )
Response.Write("<TD align=center height=35>" & vbCrLf )
Response.Write(font_style & vbCrLf )
if page<=1 then
Response.Write ("首页 " & vbCrLf)
Response.Write ("上页 " & vbCrLf)
else
Response.Write("<A HREF=" & action & "?" & temp & "Page=1>首页</A> " & vbCrLf)
Response.Write("<A HREF=" & action & "?" & temp & "Page=" & (Page-1) & ">上页</A> " & vbCrLf)
end if
if page>=pagecount then
Response.Write ("下页 " & vbCrLf)
Response.Write ("尾页 " & vbCrLf)
else
Response.Write("<A HREF=" & action & "?" & temp & "Page=" & (Page+1) & ">下页</A> " & vbCrLf)
Response.Write("<A HREF=" & action & "?" & temp & "Page=" & pagecount & ">尾页</A> " & vbCrLf)
end if
Response.Write(" 页次：" & page & "/" & pageCount & "页" &vbCrLf)
Response.Write(" 共有" & iCount & "条专题" &vbCrLf)
Response.Write(" 转到" & "<INPUT TYEP=TEXT CLASS=wenbenkuang NAME=page SIZE=2 Maxlength=5 VALUE=" & page & ">" & "页"& vbCrLf & "<INPUT CLASS=go-wenbenkuang type=submit value=GO>")
Response.Write("</TD>" & vbCrLf )
Response.Write("</TR></form>" & vbCrLf )
Response.Write("</table>" & vbCrLf )
End Sub%></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" style="padding-top:2px;border-bottom:1px solid #188AD6"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" align="center" bgcolor="#188AD6" style="padding-left:5px;padding-right:5px"><a href="http://it532.cn" style="text-decoration:none"><font color="#FFFFFF"><b>新闻中心</b></font></a></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" style="padding-top:5px"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=10 and pic<>'' and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=90 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td width="80" align="center" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=130 and pic<>'' and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=130 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
</tr>
<tr>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=50 and pic<>'' and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=50 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td align="center" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=30 and pic<>'' and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=30 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
</tr>
<tr>
<td align="center" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=100 and pic<>'' and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=100 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td align="center" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=20 and pic<>'' and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=20 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
</tr>
<tr>
<td align="center" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=10 and pic<>'' and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=10 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td align="center" valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 1 * from news_moban where channelid=120 and att<>5 and pic<>'' order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else%>
<tr>
<td align="center"><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><img src="<%=rs("pic")%>" width="80" height="60" border="1" style="border-color:#000000"></a><br>
<a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),6)%></a></td>
</tr>
<%end if
		  rs.close
		  set rs=nothing%>
</table></td>
<td valign="top"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<%
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 5 * from news_moban where channelid=120 and att<>5 order by updatetime desc",conn,1,1
		  if rs.recordcount=0 then 
		  response.write "目前还没有专题！"
		  else
		  do while not rs.eof%>
<tr>
<td width="15">·</td>
<td><a href="mo/<%=rs("pathlink")%>" target="_blank" title="<%= rs("updatetime") %>发布"><%=left(rs("title"),15)%></a></td>
</tr>
<%
rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td height="25" align="center"><a href="gbook.asp" target="_blank">商频网意见反馈留言板</a>　电话：0532-82924086</td>
</tr>
</table></td>
</tr>
</table></td>
<td valign="top" width="5"></td>
<td valign="top" bgcolor="#EFEFEF" width="150"><script language="javascript" src="moban_right1.asp"></script></td>
</tr>
<tr>
<td colspan="3" height="2"></td></tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="760" align="center">
<tr><td style="padding-top:2px"><script language=javascript src=http://ulinkjs.tom.com/ulink_01.js></script></td></tr>
<tr><td style="padding-top:2px"><script src="moban_bottom1.asp" language="javascript"></script></td></tr></table>
</body>
</html>