<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Inc/Inc.asp"-->
<!--#Include file="Inc/Check_Sql.asp"-->
<!--#Include file="Inc/function.asp"-->
<!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=gb2312" />
<title><%=SiteTitle%></title>
<meta name="keywords" content="<%=SiteKey%>" />
<meta name="description" content="<%=SiteName%>" />
<link href="css/css.css" rel="stylesheet" type="text/css" />




</head>

<body>

<%
daoh=strToNum(Request.QueryString("id"))
%>
<!--#include file="head.asp"-->

<%
Dim MenuBar,Com_content
cID=strToNum(Request.QueryString("cid"))
nid=strToNum(Request.QueryString("id"))
If cID=0 Then
	cId = 1
End If
Set RsC = Conn.execute("select * from [Company] where ID="&cID)
if not RsC.eof then
	Cstart = RsC("ComName")
	Ccontent = RsC("Content")
end if
If nid = 0 Then
	Msql = "Select Top 1 id,ComName,Content,IsOutLink,OutLinkUrl From [Company] where ParentID = "&cID&" Order By OrderID"
Else
	Msql = "Select Top 1 id,ComName,Content,IsOutLink,OutLinkUrl From [Company] Where ID="&nid
End If
Set ComContentRs=Conn.execute(Msql)
If ComContentRs.Eof Then
	MenuBar = "<a href=""index.asp"">首页</a>&nbsp;-&nbsp;<a href='about.asp?cID="&cID&"'>"&Cstart&"</a>"
	Com_Title=Cstart
	Com_Content=Ccontent
Else
	MenuBar = "<a href=""index.asp"">首页</a>&nbsp;-&nbsp;<a href='about.asp?cID="&cID&"'>"&Cstart&"</a>&nbsp;-&nbsp;<a href='about.asp?cID="&cID&"&id="&ComContentRs("id")&"'><span class=""blue"">" & ComContentRs("ComName") & "</span></a>"
	Conn.execute("update Company Set Hits=Hits+1 Where ID="&ComContentRs("id"))
	If  ComContentRs("IsOutLink")=1 And ComContentRs("OutLinkUrl")<>"" Then
		Response.Redirect(ComContentRs("OutLinkUrl"))
		response.End()
	End If
	Com_Content= ComContentRs("Content")
	Com_Title = ComContentRs("ComName")
End If
ComContentRs.Close
Set ComContentRs = Nothing
start=""&Com_Title&""
%>

<!--head end-->



<table width="952" border="0" cellspacing="0" cellpadding="0" align="center" style="margin-top:10px;">
  <tr>
    <td  width="234" valign="top">
    <!--left-->

<!--#include file="proleft.asp"-->
    
    <!--left-->
    </td>
    <td width="10"></td>
    <td width="708" valign="top">
    <!--r-->

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    
<table width="708" border="0" cellspacing="0" cellpadding="0" style="border:#FFBA53 solid 1px; padding:2px;" align="center">
  <tr>
    <td bgcolor="#FEECD4" class="link_hong2 fbold font14" style="padding-left:10px;">
    当前位置：<%=MenuBar%>
    </td>
  </tr>
</table>

    
    </td>
  </tr>
  <tr>
    <td background="images/t5mid.jpg" valign="top" style="padding:10px;">
     <!--c-->
     
     <div style="width:680px; overflow:hidden">
      <%=Com_Content%>
        </div>
        
        <!--c-->
        </td>
  </tr>
  <tr>
    <td background="images/t5bottom.jpg" height="1"></td>
  </tr>
</table>

    <!--r-->
    </td>
  </tr>
</table>







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



</body>
</html>
