<!--#include file="../Include/Const.asp" -->
<!--#include file="../Include/Conn.asp" -->
<!--#Include File="Func.asp"-->
<%Call WebSiteLoad(1)%>
<%
dim rs,sql,id,CompanyName,AddTime,Content
dim Cid,ClickNumber
id=request("Id")
If id="" Then 
id=4
End If 
if not IsNumeric(id) then 
response.Write("&#x8BF7;&#x4E0D;&#x8981;&#x8F93;&#x5165;&#x975E;&#x6CD5;&#x5B57;&#x7B26;")
response.End
end If
if id<>"" then 
set rs = server.createobject("adodb.recordset")
sql="select * from Angel_Company where Angel_languageid=1 and ID="&id
rs.open sql,conn,1,3
if not (Rs.eof or Rs.bof) then
   Cid=rs("id")
   CompanyName=rs("CompanyName"&"")
   AddTime=rs("AddTime")
   rs("ClickNumber")=rs("ClickNumber")+1
   ClickNumber=rs("ClickNumber")
   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><%=CompanyName%> - Angel工作室管理系统</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"><%=CompanyName%></h1>
                    <p class="meta-info">
                        <span class="time"><%=AddTime%></span>
                        <span class="view"><%=ClickNumber%>次浏览</span>
                    </p>
                </div>

                <div class="entry">
                    <%
If Content<>"" Then 
response.Write(Content)
Else 
response.Write "&#x4E0D;&#x597D;&#x610F;&#x601D;&#x4F60;&#x6CA1;&#x6709;&#x6743;&#x9650;&#x67E5;&#x770B;&#xFF01;"&"<br/>"
End If 

set rs = server.createobject("adodb.recordset")
sql="select top 1 * from Angel_Company where Angel_languageid=1 and ID>"&id
rs.open sql,conn,1,1
Dim Lname,Lid
if not rs.eof then
Lname=unicode(rs("CompanyName"&""))
Lid=rs("id")
else 
Lname="&#x5DF2;&#x5230;&#x6700;&#x540E;&#x4E00;&#x7BC7;&#x6587;&#x7AE0;"
Lid=id
end if
rs.close
set rs = server.createobject("adodb.recordset")
sql="select top 1 * from Angel_Company where Angel_languageid=1 and "&id&">ID  order by id desc"
rs.open sql,conn,1,1
Dim Rname,Rid
if not rs.eof then
Rname=unicode(rs("CompanyName"&""))
Rid=rs("id")
else 
Rname="&#x5DF2;&#x5230;&#x7B2C;&#x4E00;&#x7BC7;&#x6587;&#x7AE0;"
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>
                <!--/左右信息-->


                <!--版权信息-->
                <div class="copyright">
                    <p><a href="http://<%=SiteUrl%>/m/" data-ignore="true">触屏版</a> | <a href="http://<%=SiteUrl%>/" data-ignore="true">电脑版</a> | <a href="javascript:;" onclick="$.ui.scrollToTop('mainPanel')">返回顶部</a></p>
                    <address>版权所有 <%=SiteTitle2%> 版本号 V1.3</address>
                    </p>
                </div>
                <!--/版权信息-->

            </div>

            <!--页面头部-->
            <header id="main_header">
                <h2 class="logo">
                    <img src="<%=AngelSysRootDir%>images/logo.png" /></h2>
                <a onclick="af.ui.toggleSideMenu()" class="menuButton"></a>
            </header>
            <!--/页面头部-->

    <!--底部导航-->
     <footer id="main_footer">
      <a href="index.asp" class="icon home" data-ignore="true">首页</a>
      <a href="login.asp" class="icon user" data-ignore="true">会员</a>
      <a href="productList.asp" class="icon basket" data-ignore="true">公司产品</a>
      <a href="search.asp" class="icon magnifier" data-ignore="true">搜索</a>
      <a href="about.asp?Id=10" class="icon phone" data-ignore="true">电话</a>
    </footer>
    <!--/底部导航-->
	
    <!--左侧导航-->
        <nav>
      <ul class="list">
        <li class="divider">网站导航</li>
        <li><a href="index.asp" class="icon home" data-ignore="true">网站首页</a></li>
        <li><a href="newslist.asp" class="icon tv" data-ignore="true">新闻资讯</a></li>
        <li><a href="productList.asp" class="icon basket" data-ignore="true">公司产品</a></li>
        <li><a href="downlist.asp" class="icon download" data-ignore="true">资料下载</a></li>
        <li><a href="login.asp" class="icon user" data-ignore="true">会员中心</a></li>
        <li><a href="about.asp" class="icon phone" data-ignore="true">关于我们</a></li>
        <li><a href="messagewrite.asp" class="icon message" data-ignore="true">在线留言</a></li>
        <li><a href="about.asp?Id=10" class="icon phone" data-ignore="true">联系我们</a></li>
      </ul>
    </nav>
    <!--/左侧导航-->

        </div>
    </div>
</body>
</html>
