
<!--网站头文件-->


<!--#include file="webhead.asp"-->

<%dim id
		id=lcase(trim(request("id")))  
					  if IsNumeric(request.QueryString("id"))=False or request.QueryString("id")="" then
		response.write"<SCRIPT language=JavaScript>alert('参数错误1！');"
		response.write"javascript:history.go(-1)</SCRIPT>"
		response.end	
		end if
				sql="select * from news where newsid="&id&""
		Set rsb= Server.CreateObject("ADODB.Recordset")
		rsb.open sql,conn,1,3
		if rsb.bof and rsb.eof then
		response.write"<SCRIPT language=JavaScript>alert('参数错误2！');"
		response.write"javascript:history.go(-1)</SCRIPT>"
		response.end
		else
		rsb("viewcount")=rsb("viewcount")+1
		rsb.update
		end if
		
		newsname=rsb("newsname")
			host=Cstr(Request.ServerVariables("http_host"))
		servername3=Cstr(Request.ServerVariables("script_name"))
servername3="http://"&host&servername3&"id="&rsb("newsid")
%>

<title><%=webname%>-<%=rsb("newsname")%></title>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title><%=webname%>-<%=rsb("newsname")%></title>
<script language=javascript>
<!--
function ChgFontSize(n){
  var styTxt=document.all('news_content');
  if(styTxt) {
    styTxt.style.fontSize=n+'px';
  }
}
//-->
</script>
<script language="JavaScript">
<!--
<!--
function click() {
if (event.button==2) {
	if(document.all.auto.status==true){document.all.auto.status=false;}
	scroller();
	}
}
document.onmousedown=click

var position = 0; 
function scroller() {
if (document.all.auto.status==true){ 
	position++; 
	scroll(0,position); 
	clearTimeout(timer); 
	var timer = setTimeout("scroller()",50); 
	timer;
	}
else{
	clearTimeout(timer);
	}
}


function mOvr(src,clrOver) {
   if (!src.contains(event.fromElement)) {
	  src.bgColor = clrOver;
	}
  }
  
function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
	  src.bgColor = clrIn;
	}
  }
// -->

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->

function copyToClipBoard(){
	var clipBoardContent=''; 	
	clipBoardContent+='<%=newsname%>';
	clipBoardContent+='\r\n<%=servername3%>';	window.clipboardData.setData("Text",clipBoardContent);
	alert("地址已经复制到粘贴板!");
}

</SCRIPT>

</head>

<div align="center">


	<table border="0" width="784" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" >
		<tr>
			<td bgcolor="#E9E9E9" height=2></td>
				</tr>
		<tr>
			<td height=5></td>
				</tr>
		<tr>
			<td align="center">
			<p align="center"><%if ad2461class=0 then%><a target="_blank" href="<%=ad2461url%>"><img  alt="<%=ad2461name%>" src="<%=ad2461%>"  border="0" width=777 height=123></a>
	<%else%>
													<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="777" height="123">
	<param name="movie" value="<%=ad2461%>">
	<param name="quality" value="High">
	<embed src="<%=ad2461%>" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="777" height="123"></object>

	<%end if%>
												<p>　</td>
				</tr>
		<tr>
			<td height=5></td>
				</tr>
		<tr>
			<td height=5></td>
				</tr>
			</table>
	<div align="center">
	<table border="0" width="784" cellspacing="0" cellpadding="0"  bordercolor="#000000" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" >	<tr>
		<td width="100%" bgcolor="#FFFFFF"></td>

	</tr>
		<tr>
		<td width="100%" height="4"></td>

	</tr>
</table>
</div>

</div>
<div align="center">
	<table border="0" width="784" cellspacing="0" cellpadding="0"  bordercolor="#000000" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" >
		<tr>
			<td></td>
		</tr>
	</table>
	<table border="0" width="784" cellspacing="0" cellpadding="0"  bordercolor="#000000" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px" >
		<tr><td width=580 valign="top">
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td align="right">
					<div align="left">
						<table border="0" width="100%" cellspacing="0" cellpadding="0">
												<tr>
													<td bgcolor="#F7F7F7" height=20>
													<p align="left">&nbsp; <a href="../index.asp">网站首页</a> 
		→ 
		<a href="index.asp">房产新闻</a> 
      → <%if rsb("class")=0 then %><a href="index.asp?class=0">地产新闻</a>
      <%end if%> 
      <%if rsb("class")=1 then %><a href="index.asp?class=1">购房须知</a>
      <%end if%> 
      <%if rsb("class")=2 then %><a href="index.asp?class=2">租房须知</a>
      <%end if%> 
      <%if rsb("class")=3 then %><a href="index.asp?class=3">房贷金融</a>
      <%end if%> 
      <%if rsb("class")=4 then %><a href="index.asp?class=4">房产法律</a>
      <%end if%> 
      <%if rsb("class")=5 then %><a href="index.asp?class=5">售楼技巧</a>
      <%end if%> 
      <%if rsb("class")=6 then %><a href="index.asp?class=6">家居装饰</a>
      <%end if%> 
      <%if rsb("class")=7 then %><a href="index.asp?class=7">政策法规</a>
      <%end if%> 
      <%if rsb("class")=8 then %><a href="index.asp?class=8">土地评估</a>
      <%end if%> 
      → <%=newsname%>
													　</td>
															
													<td bgcolor="#E9E9E9"  width=2></td>
												</tr>
												<tr>
												
													<td bgcolor="#E9E9E9" height=2 colspan="1"></td>
													<td bgcolor="#E9E9E9" height=2 colspan="1"></td>

												</tr>
											</table></div>
					</td>
				</tr>
					<tr><td>　</td></tr>
					<tr><td>
						<p align="center">　<font color="#FF0000" size="3"  style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 130%; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><%=newsname%></font></td></tr>
					<tr><td>　</td></tr>
					<tr><td height="20">
						<p align="right"><font color="#000000">　 
			<%=rsb("adddate")%> 浏览：<%=rsb("viewcount")%> 来源：<%=rsb("addname")%>&nbsp;　</td></tr>
					<tr><td height="25">
						<p align="right">　【字体：
      <a  href="javascript: ChgFontSize(16)">大</a>
      <a  href="javascript: ChgFontSize(14)">中</a>
      <a href="javascript: ChgFontSize(12)">小</a>】
                <input type="checkbox" name="auto" value="on" onClick="MM_callJS('scroller() ; ')" id="auto" class="input1"><label for="auto">自动滚屏</label>（右键暂停） 
						　</td></tr>
					<tr><td align="right">　</td></tr>
				<tr>
					<td align="right"  height="30">
						<table border="0" width="98%" cellspacing="0" cellpadding="0">
							<tr>
								<td><div id="news_content"><%=replace(rsb("newscontent"),"upload/","../upload/")%>
    </td>
							</tr>
						</table>
					</div>
					</td>
				</tr>
				<tr><td height="20">　</td></tr>
				<tr><td height="20">
					<p align="right">【  
					<a href="#bottom" title='点击我即可直接在MSN/QQ上粘贴该帖地址' onclick='copyToClipBoard()'>复制地址</a> 】【 <A href="javascript:window.external.AddFavorite('<%=servername3%>','<%=newsname%>')">收藏</a> 】&nbsp;【 <A href='javascript:window.print()'>打印</a> 】&nbsp;【 <A href='javascript:window.close()'>关闭</a> 】
                &nbsp; </td></tr>
				<tr><td height="20">　</td></tr>
				<tr><td height="20">&nbsp;&nbsp;&nbsp;&nbsp;<%
                     sql1="select newsid,newsname from news order by adddate desc"
		Set rs1= Server.CreateObject("ADODB.Recordset")
		rs1.open sql1,conn,1,1
		do while not rs1.eof
		if rs1("newsid") = rsb("newsid") then 
		exit do
		end if
		rs1.movenext
		loop
%><%rs1.moveprevious%>
<%if rs1.bof then
response.write "上一篇：没有上一篇了"
else
%>上一篇：<a href="list.asp?id=<%=rs1("newsid")%>"><%=rs1("newsname")%></a>&nbsp;&nbsp; <%
                      end if
                      rs1.movenext
                      rs1.movenext
                      %>
                    
                   
                  </td></tr>
				<tr><td height="20">&nbsp;&nbsp;&nbsp;&nbsp;<%
                      if rs1.eof then
                      response.write "下一篇：没有下一篇了"
                      else
                      %>下一篇：<a href="list.asp?id=<%=rs1("newsid")%>"><%=rs1("newsname")%></a>&nbsp;
                    <%end if%></a>
                    <%rs1.close
                    set rs1=nothing%>
                </td></tr>
				<tr><td height="20">　</td></tr>
				<tr><td height="20">&nbsp;
					<img border="0" src="../images/xianguan_news.gif" width="464" height="33"></td></tr>
					 <%
		Set rs2= Server.CreateObject("ADODB.Recordset")
		 sql2="select top 10 newsid,newsname from news where class="&rsb("class")&" and newsid <> "&rsb("newsid")&" order by adddate desc"
		rs2.open sql2,conn,1,1
do while not rs2.eof


		%>
				<tr><td height="20">
                  
                 
                  &nbsp; ·<a href="list.asp?id=<%=rs2("newsid")%>"><%=rs2("newsname")%></a></div>
                	</td></tr>
                	<%rs2.movenext
         loop
                	rs2.close
                	set rs2=nothing
                	%>
				<tr><td height="20">　</td></tr>
				<tr><td height="20">&nbsp;免责声明：<div align="center">
					<table border="0" width="95%" cellspacing="0" cellpadding="0">
						<tr>
							<td><br>
&nbsp;&nbsp;&nbsp; 本网转载内容均注明出处，转载是出于传递更多信息之目的，并不意味着赞同其观点或证实其内容的真实性。针对文章内容若有什么问题，请与我们联系！</td>
						</tr>
					</table>
					</div>
					<p>　</td></tr>
				</table>
			</td>
			<td width=3 bgcolor="#ffffff">　</td>
			<td width=1 bgcolor="#E9E9E9">　</td>
			<td width=3 bgcolor="#ffffff">　</td>
			<td width="200" valign="top" bgcolor="#Ffffff">
			<table border="0" width="100%" cellpadding="0" cellspacing="0"><form name="myform" method="post" action="search.asp">

				<tr>
					<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
												<tr>
													<td bgcolor="#F7F7F7" height=20>【文章搜索】　</td>
															
													<td bgcolor="#E9E9E9"  width=2></td>
												</tr>
												<tr>
												
													<td bgcolor="#E9E9E9" height=2 colspan="1"></td>
													<td bgcolor="#E9E9E9" height=2 colspan="1"></td>

												</tr>
											</table></td>
				</tr>
				<tr>
					<td height="10" bgcolor="#FFFFFF"></td>
				</tr>
				<tr>
					<td height="21" bgcolor="#FFFFFF">
					<p align="center"><input type=text name=keyword size=17 maxlength=20 class=wenbenkuang ></td>
				</tr>
				<tr>
					<td  height="4" bgcolor="#FFFFFF"></td>
				</tr>
				<tr>
					<td  height="20" bgcolor="#FFFFFF">
					<p align="center"><input type=radio name=where value=1 id="where1" checked class="input1"><label for="where1">标题</label><input type=radio name=where value=2 id="where2" class="input1"><label for="where2">内容</label><input type=radio name=where value=3 id="where3" class="input1" ><label for="where3">来源</label>&nbsp;</td>
				</tr>
				<tr>
					<td  height="5" bgcolor="#FFFFFF"></td>
				</tr>
				<tr>
					<td  height="20" bgcolor="#FFFFFF">
					<p align="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<input type=submit value="搜索">&nbsp;&nbsp;&nbsp;&nbsp; </td>
				</form></tr>
				</table>
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td>　</td>
				</tr>
			</table><!--#include file="in_hotnews.asp"-->
									<!--#include file="in_jdnews.asp"-->
			</td>
			
		</tr>
	</table>
<!--#include file=webfoot.asp-->