<!--#include file="../Include/Conig.asp" -->
<!--#Include File="Func.asp"-->
<%
dim rs,sql,id,AboutName,AddTime,Content
dim Cid
id=request("Id")
If id="" Then 
id=4
End If 
if not IsNumeric(id) then 
response.Write"无内容"
response.End
end If
if id<>"" then 
set rs = server.createobject("adodb.recordset")
sql="select * from zhi_rui_v_About where ID="&id
rs.open sql,conn,1,3
if not (Rs.eof or Rs.bof) then
   Cid=rs("id")
   AboutName=rs("AboutName")
   AddTime=rs("AddTime")
   Content=rs("content")
   Rs.update
else
   response.Write"信息错误"
   response.end
end If
rs.close
End If 
%>
<!DOCTYPE html>
<!--HTML5 doctype-->
<html>
<head>
    <meta http-equiv="Content-type" content="text/html; charset=gb2312">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title><%=AboutName%></title>
    <link rel="stylesheet" type="text/css" href="css/icons.css" />
    <link rel="stylesheet" type="text/css" href="css/af.ui.base.css" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <!--jqMobi主JS-->
    <script type="text/javascript" charset="gb2312" src="js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" charset="gb2312" src="js/jq.appframework.js"></script>
    <script type="text/javascript" charset="gb2312" src="js/appframework.ui.js"></script>
    <!--jqMobi插件-->
    <script type="text/javascript" charset="gb2312" src="js/jq.slidemenu.js"></script>
    <script type="text/javascript" charset="gb2312" src="js/base.js"></script>
	<script type="text/javascript">
	$(document).ready(function(e) {
		$("#main_footer a.phone").addClass("pressed");
    });
</script>
</head>

<body>
    <div id="afui">
        <div id="content">

            <div id="mainPanel" class="panel" data-header="main_header" data-footer="main_footer">

                <!--企业详细-->
                <div class="meta">
                    <h1 class="meta-tit"><%=AboutName%></h1>
                    <p class="meta-info">
                        <span class="time"><%=AddTime%></span>
                    </p>
                </div>

                <div class="entry">
                    <%
If Content<>"" Then 
response.Write(Content)
Else 
response.Write "无内容"&"<br/>"
End If 

set rs = server.createobject("adodb.recordset")
sql="select top 1 * from zhi_rui_v_About where ID>"&id
rs.open sql,conn,1,1
Dim Lname,Lid
if not rs.eof then
Lname=unicode(rs("AboutName"&""))
Lid=rs("id")
else 
Lname="无内容"
Lid=id
end if
rs.close
set rs = server.createobject("adodb.recordset")
sql="select top 1 * from zhi_rui_v_About where  "&id&">ID  order by id desc"
rs.open sql,conn,1,1
Dim Rname,Rid
if not rs.eof then
Rname=unicode(rs("AboutName"&""))
Rid=rs("id")
else 
Rname="无内容"
Rid=id
end if
rs.close
                    %>
                </div>
                <!--/企业详细-->

                <!--左右信息-->
                <div>
                    <ul class="list listview">
                        <li>
                            <a href="about.asp?Id=<%=Lid%>" data-ignore="true">
                                <span class="text"><%=Lname%></span>
                            </a>
                        </li>
                        <li>
                            <a href="About.asp?Id=<%=Rid%>" data-ignore="true">
                                <span class="text"><%=Rname%></span>
                            </a>
                        </li>
                    </ul>
                </div>
                <!--/左右信息-->
<!--#Include File="bottom.asp"-->
        </div>
    </div>
</body>
</html>
