<!--#include file="geditop.asp"-->
<%function HTMLEncode(fString)
if not isnull(fString) then
    fString = replace(fString, ">", "&gt;")
    fString = replace(fString, "<", "&lt;")
    fString = Replace(fString, CHR(32), "&nbsp;")
    fString = Replace(fString, CHR(9), "&nbsp;")
    fString = Replace(fString, CHR(34), "&quot;")
    fString = Replace(fString, CHR(39), "&#39;")
    fString = Replace(fString, CHR(13), "")
    fString = Replace(fString, CHR(10) & CHR(10), "</P><P> ")
    fString = Replace(fString, CHR(10), "<BR> ")
    HTMLEncode = fString
end if
end function
dim fox
fox=request("fox")
dim rs,sql,fan
set rs=server.createobject("adodb.recordset")
sql = "select * from FOX_zixun where id="&fox&" and yz=1"
rs.open sql,conn,1,3
if rs.eof then
response.write "该纪录未通过或者已被删除！"
response.end
end if
rs("llcs")=rs("llcs")+1
fan=rs("class2")
rs.update
%>
<script language="JavaScript">
function DrawImage(ImgD){
   var image=new Image();
   image.src=ImgD.src;
   if(image.width>0 && image.height>0){
    flag=true;
    if(image.width/image.height>= 120/80){
     if(image.width>120){  
     ImgD.width=80;
     ImgD.height=(image.height*80)/image.width;
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }

     }
    else{
     if(image.height>80){  
     ImgD.height=80;
     ImgD.width=(image.width*80)/image.height;     
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }

     }
    }
   /*else{
    ImgD.src="";
    ImgD.alt=""
    }*/
   }
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.name != 'chkall' )
       e.checked = form.chkall.checked;
    }
  }
 function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</script>

<script LANGUAGE="JavaScript">
<!--
function checkMobile(){
	var sMobile = document.mobileform.mobile.value
	if(!(/^13[0-9]\d{4,8}$/.test(sMobile))){
		alert("不是完整的11位手机号或者正确的手机号前七位");
		document.mobileform.mobile.focus();
		return false;
	}
	window.open('', 'mobilewindow', 'height=197,width=350,status=yes,toolbar=no,menubar=no,location=no')
}
//-->
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs("company")%>--资讯频道--<%=title%>--<%=web%></title>
</head>

<body>

<div align="center">
<table cellSpacing="0" cellPadding="0" width="930" border="0" id="table1">
		<tr>
			<td  height="25" class="tdtop" colspan="3"><b>&nbsp;&gt;&gt; 您的位置  
			<font color="#FFFFFF">-></font> <a class="scap1" href="index.htm"><%=title%></a>
			<font color="#FFFFFF">-></font> 资讯频道： <%=rs("company")%></b>
			</td>
		</tr>
		
		<tr bgColor="#d9ebe5">
			<td  height="25" bgcolor="#FFFFFF" width="692" valign="top">
<table border="0" width="100%" cellpadding="0" class="table2">
<%dim rsq,sqlq,class1c,class2c
set rsq=server.createobject("adodb.recordset") 
sqlq = "select class1 from [FOX_wzclass1] where id="&rs("class1")&""
rsq.open sqlq,conn,1,1
class1c=rsq("class1")
rsq.close
set rsq=nothing
set rsq=server.createobject("adodb.recordset") 
sqlq = "select class2 from [FOX_wzclass2] where id="&rs("class2")&""
rsq.open sqlq,conn,1,1
class2c=rsq("class2")
rsq.close
set rsq=nothing
%>	
<tr>
		<td width="4%" height="22">
		<img border="0" src="<%=css%>dot1.gif"></td>
		<td height="25" width="428" colspan="3">
		　标题：<b><%=rs("company")%></b></td>
		<td height="25" width="27%" colspan="2">浏览： <font color="#FF0000"> <%=rs("llcs")%></font> 次</td>
	</tr>
<tr>
		<td height="22" colspan="2">
	所属：&nbsp; <a href="newsindex.asp?class1=<%=rs("class1")%>"><%=class1c%></a> -> <a href="newsindex.asp?class2=<%=rs("class2")%>"><%=class2c%></a></td>
		<td height="22">
	　</td>
		<td height="22" colspan="2">
	<p align="center">文章来源：</td>
		<td height="22" width="215"><%=rs("comname")%></td>
	</tr>
	<tr>
		<td width="4%" height="22" class="tdbg2">
		　</td>
		<td height="25" width="96%" colspan="5" class="tdbg2">
		　</td>
	</tr>
	<tr>
		<td width="100%" height="22" colspan="6" class="tdtxt07">
		<table border="0" width="98%" id="table170" cellspacing="0" cellpadding="0">
			<tr>
				<td class="tdtxt02">		
				<table border="0" width="100%" id="table171" cellspacing="0" cellpadding="0">
					<tr>
						<td width="252">
		<iframe width=248 height=226 src="adlanhu.asp" border=0 frameborder=0 scrolling="no" name="I1"></iframe>
						</td>
						<td valign="top" class="tdtxt02"><%=left(rs("memo"),380)%></td>
					</tr>
				</table>
		<%if rs("xinxipic")<>"0" then%>
		　<img src="newsupfiles/<%=rs("xinxipic")%>" width="200" height="190" hspace="10" vspace="10" align="left"><%else%><%end if%>
		<%=Right(rs("memo"),Len(rs("memo"))-380)%>		
				</td>
				
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td width="100%" height="22" colspan="6">
		</td>
	</tr>
	<tr>
		<td width="100%" height="22" colspan="6">
		<p align="right">添加人：<%=rs("addname")%>&nbsp; 发布时间：<%=rs("fbsj")%></td>
	</tr>
	</table>
<%rst.close
set rst=nothing
rs.close
set rs=nothing%>
<table border="0" width="100%" id="table174" cellspacing="0" cellpadding="0" class="table2">
	<tr>
		<td>
		<font color="#0099CC">＝＝免责声明＝＝<br>
		　&nbsp;&nbsp;[<%=title%>]上提供的所有资讯均为作者提供和网友推荐收集整理而来，仅供学习和研究使用。转载目的在于传递更多信息，并不代表本网赞同其观点和对其真实性负责。如因作品内容、版权和其它问题需要同本网联系的，请在30日内进行。 ※ 联系电话：<%=tel%>。</font></td>
	</tr>
	<tr>
		<td>
		<font color="#0099CC">＝＝版权声明＝＝<br>
&nbsp;&nbsp; <img border="0" src="images/kjind01a.gif" width="20" height="11">未经[<%=title%>]的明确许可，任何人不得盗链本站资源；不得复制或仿造本网站或者建立镜像，[<%=title%>]对其自行开发的或和他人共同开发的所有内容、技术手段和服务拥有全部知识产权，任何人不得侵害或破坏，也不得擅自使用。<br>
&nbsp;&nbsp; <img border="0" src="images/kjind02a.gif" width="20" height="11">已经本网授权使用作品的，应在授权范围内使用，并注明“来源：[<%=title%>]”。违反上述声明者，本网将追究其相关法律责任。</font></td>
	</tr>
</table>
</td>
			<td  height="25" bgcolor="#FFFFFF" width="27" valign="top">
<img border="0" src="<%=css%>bgfox.jpg" width="25" height="280"></td>
			<td  height="25" bgcolor="#FFFFFF" width="205" valign="top">
		<table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table172" class="table2">
			<tr>
				<td class="tdbg2" height="24">
				&nbsp; 相关资讯</td>
			</tr>
			<tr>
				<td  valign="top">
				<table id="table173"><%dim rsfox,sqlfox,ns1
set rsfox=server.createobject("adodb.recordset")
sqlfox="select top 50 * from FOX_zixun where yz=1 and class2="&fan&" order by fbsj desc"
rsfox.open sqlfox,conn,1,1
if rsfox.eof then
response.write "还没有...！"
else
do while not rsfox.eof
%>
<tr><td>
<font color="#FF6C3B">·</font><A href="newsinfo.asp?fox=<%=rsfox("id")%>" title="<%=rsfox("company")%>"><%=left(rsfox("company"),15)%></a>
</td></tr><%
ns1=ns1+1
if ns1>=25 then exit do
rsfox.movenext
loop
end if
rsfox.close
set rsfox=nothing
%></table></td>
			</tr>
			</table>
			</td>
		</tr>
		
</table>

</div>

</body>
<!--#include file="ffbottom.asp"--></body></html>

</body></html>