<!--#include file="../Include/Config.asp"-->
<!--#include file="../Include/Conn.asp"-->
<%
dim thistitle,keyword2,const2
cid=request("id")
set rs=server.CreateObject("adodb.recordset")
sql="select * from Tb_news where 1=1 "
if cid<>"" then sql=sql&" and id="&cid
   rs.open sql,conn,1,1
   if rs.eof then Call Joleo.WriteErr("没有找到信息或信息错误！",1)
   AllNum=rs.recordcount '取得总数量
   if AllNum=0 then
   thistitle=""
   else
   thistitle=rs("title")
   keyword2=rs("keyword")
   const2=Joleo.HtmlStr1(rs("content"))
   const2=left(const2,150)
   end if
%>
<?xml version="1.0" encoding="GB2312"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=gb2312"/>
<meta name="viewport" content="width=device-width; initial-scale=1.4; minimum-scale=1.0; maximum-scale=2.0"/>
<meta http-equiv="Cache-control" content="max-age=0" />
<meta http-equiv="Cache-Control" content="no-cache"/>
<title><%=thistitle%>-<%=webname1%></title>
<meta name="description" content="<%=const2%>" />
<meta name="keywords" content="<%=keyword2%>" />
<link href="../Images/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="all">
<!--#include file="../head.asp"-->
<br />
<div><strong><%=thistitle%></strong></div><br />
<img src="<%=WebAdd%><%=WebDir%>Uploadfile/<%=Rs("newpic")%>" width="200" class="pic" border="0" onError="javascript:this.src='<%=WebAdd%><%=WebDir%>images/wutu.png'"/>
<div><%=rs("content")%></div>
<br />
<%
articleId=rs("Id")
sqlStr="update Tb_news set hits=hits+1 where id=" & articleId
conn.execute(sqlStr)


%>
 <% 'end if
     rs.close
   set rs=nothing
  %>
<div class="c tal mt5 pl5"><a href="javascript:history.back(1)">返回上一级 </a><br />
<a href="<%=WebAdd%><%=webdir%>" >返回酒店首页</a></div>  
<!--#include file="../bot.asp"-->
</div>
</body>
</html>