<!--#include file="Include/Const.Asp" -->
<!--#include file="Include/NoSQL.Asp" -->
<!--#include file="Include/ConnSiteData.Asp" -->
<%
Call SiteInfo()
If ISHTML = 1 Then
    Response.expires = 0
    Response.expiresabsolute = Now() - 1
    Response.addHeader "pragma", "no-cache"
    Response.addHeader "cache-control", "private"
    Response.CacheControl = "no-cache"
End If
If request.QueryString("ID") = "" Then
    SeoTitle = "关于我们"
ElseIf Not IsNumeric(request.QueryString("ID")) Then
    SeoTitle = "参数错误"
ElseIf conn.Execute("select * from Qianbo_About Where ViewFlag and  ID="&request.QueryString("ID")).EOF Then
    SeoTitle = "参数错误"
Else
    Set rs = server.CreateObject("adodb.recordset")
    sql = "select * from Qianbo_About where ViewFlag and ID="&request.QueryString("ID")
    rs.Open sql, conn, 1, 1
    SeoTitle = rs("AboutName")
    rs.Close
    Set rs = Nothing
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><% =SeoTitle %> - <% =SiteTitle %></title>
<meta name="keywords" content="<% =Keywords %>" />
<meta name="description" content="<% =Descriptions %>" />
<link href="css/public.css" rel="stylesheet" type="text/css" />
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<!--#include file="Top.Asp" -->
<table width="1003" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:1px; background:url(images/main_bg.jpg) repeat-x;">
  <tr>
    <td width="230" align="left" valign="top" style="background:url(images/left_bg.gif) repeat-y right;"><table width="190" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:19px;">
        <tr>
          <td width="190"><img src="images/left_nav.gif" width="190" height="28" /></td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF"><div id="nav"><%=WebMenu()%></div></td>
        </tr>
        <tr>
          <td height="18">&nbsp;</td>
        </tr>
      </table>
      <!--#include file="Center_Left.Asp" --></td>
    <td width="773" valign="top"><table width="733" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:19px;">
        <tr>
          <td width="733" style="background:url(images/bg1.gif) repeat-x left bottom;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="100%" align="right" style="color:#999999"><img src="images/arr6.gif" width="9" height="9" align="absmiddle" /><%=WebLocation()%></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td height="18">&nbsp;</td>
        </tr>
<%
Dim rs, sql
Set rs = server.CreateObject("adodb.recordset")
If request.QueryString("ID") = "" Or Not IsNumeric(request.QueryString("ID")) Then
    sql = "select top 1 * from Qianbo_About where ViewFlag and not ChildFlag order by Sequence asc"
Else
    sql = "select * from Qianbo_About where ViewFlag and ID="&request.QueryString("ID")
End If
rs.Open sql, conn, 1, 3
If rs.EOF Then
%>
        <tr>
          <td align="center">暂无相关信息</td>
        </tr>
<%
Else
    If ViewNoRight(rs("GroupID"), rs("Exclusive")) Then
%>
        <tr>
          <td><table width="733" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="30" height="36"><img src="images/title_bg1.gif" width="30" height="36" /></td>
                <td width="673" align="center" background="images/title_bg_center.jpg" style="color:#000000; font-size:14px; font-weight:bold"><%=rs("AboutName")%></td>
                <td width="30"><img src="images/title_bg2.gif" width="30" height="36" /></td>
              </tr>
              <tr>
                <td><img src="images/title_bg3.gif" width="30" height="14" /></td>
                <td background="images/title_bg_center2.jpg">&nbsp;</td>
                <td><img src="images/title_bg4.gif" width="30" height="14" /></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td align="center" style="color:#999999"><strong>更新时间：</strong><%=FormatDate(rs("UpdateTime"),13)%> <strong>浏览次数：</strong><script language="javascript" src="HitCount.Asp?id=<%=rs("ID")%>&LX=Qianbo_About"></script><script language="javascript" src="HitCount.Asp?action=count&LX=Qianbo_About&id=<%=rs("ID")%>"></script></td>
        </tr>
        <tr>
          <td height="20">&nbsp;</td>
        </tr>
        <tr>
          <td style="line-height:25px; font-size:12px; padding-left: 8px; padding-right: 8px"><%=rs("Content")%></td>
        </tr>
<%
Else
%>
        <tr>
          <td align="center"><img src="Images/NoRight.jpg"></td>
        </tr>
<%
End If
rs.update
End If
rs.Close
Set rs = Nothing
%>
        <tr>
          <td height="20">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</table>
<!--#include file="End.Asp"-->
<%
Function WebMenu()
    Dim rs, sql
    Set rs = server.CreateObject("adodb.recordset")
    sql = "select ID,AboutName from Qianbo_About where ViewFlag and not ChildFlag order by Sequence asc"
    rs.Open sql, conn, 1, 1
    If rs.EOF Then
        response.Write "<center>暂无相关信息</center>"
    Else
        Do
            If ISHTML = 1 Then
                AutoLink = ""&AboutNameDiy&""&Separated&""&rs("ID")&"."&HTMLName&""
            Else
                AutoLink = "About.Asp?ID="&rs("ID")&""
            End If
            response.Write "<a href="""&AutoLink&""">"&rs("AboutName")&"</a>"&vbCrLf
            rs.movenext
        Loop Until rs.EOF
    End If
    rs.Close
    Set rs = Nothing
End Function

Function WebLocation()
    WebLocation = "&nbsp;当前位置：<a href=""index.Asp"" class=""agray"">首页</a> - <a href=""About.Asp"" class=""agray"">关于我们</a> - "&vbCrLf
    Dim rs, sql
    Set rs = server.CreateObject("adodb.recordset")
    If request.QueryString("ID") = "" Or Not IsNumeric(request.QueryString("ID")) Then
        sql = "select top 1 * from Qianbo_About where ViewFlag and not ChildFlag order by Sequence asc"
    Else
        sql = "select * from Qianbo_About where ViewFlag and ID="&request.QueryString("ID")
    End If
    rs.Open sql, conn, 1, 1
    If rs.EOF Then
        WebLocation = WebLocation&"参数错误"
    Else
        WebLocation = WebLocation&""&rs("AboutName")
    End If
    rs.Close
    Set rs = Nothing
End Function
%>