<!--#include file="../inc/mdb.asp"-->
<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/cmspublic.asp"-->
<!--#include file="../inc/cmsfunction.asp"-->
<%
dim aid,showbody,About_id,precis
aid=trim(request.querystring("id"))
if aid="" or not IsNumeric(aid) then
   Call HxErrMsg("传值参数非法!","goto")
else
   aid=CLng(aid)
end if
if aid>0 then
   sql="select id,title,content,precis from Channel where id="&aid
   set rs=server.createobject("adodb.recordset")
   rs.open sql,conn,1,1
	if rs.bof and rs.eof then
                Call HxErrMsg("你要找的文章不存在，或者已经被管理员删除!","goto")
	else	
                About_id= rs("id")
                precis = rs("precis")
                start=rs("title")
                showbody=rs("content")
        end if
   rs.close:set rs=nothing
end if
'=================================================
'过程名：class_About
'作  用：显示下级频道
'参  数：无
'=================================================
sub class_About()
Response.Write "<ul>"
Set rs=server.CreateObject("Adodb.Recordset")
sql="select * from Channel where f_id="&About_id&" order by id"
rs.open sql,conn,1,1
IF rs.eof Then
response.write "<li>"&precis&"</li>"
Else
do while not(rs.eof)
response.write "<li>"
response.write "<a href='?id="&rs("id")&"'><font color=""red"">·</font>&nbsp;"&rs("title")&"</a>"
response.write "</li>"
rs.movenext
loop
End IF
rs.close
set rs = nothing
response.write "<li>&nbsp;&nbsp;<a href='"&Request.ServerVariables("HTTP_REFERER")&"'><img src=""../img/back.gif"" alt="""" /></a></li>"
Response.Write "</ul>"
end sub
cmshead="<link href=""../Css/textbox.css"" type=""text/css"" rel=""stylesheet"" />" & vbCrLf
Call triman_Head()
%>
<!--页面顶部结束-->
<!--页面当前位置-->
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><div align="center">
      <table width="890" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="222" valign="top" bgcolor="EBF3FE" style="BORDER-right: #ffffff 5px solid"><table width="222" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div align="left">
                <table width="222" border="0" cellpadding="0" cellspacing="0" background="<%=InstallDir%>image/z/bj-1.jpg">
                  <tr>
                    <td width="17"><img src="<%=InstallDir%>image/z/1.jpg" width="17" height="33" /></td>
                    <td><span class="STYLE6">◎ 用户登录</span></td>
                    <td width="18"><img src="<%=InstallDir%>image/z/2.jpg" width="18" height="33" /></td>
                  </tr>
                </table>
              </div></td>
              </tr>
            <tr>
              <td height="120" valign="top">
			  <table width="88%" border="0" align="center" cellpadding="0" cellspacing="5">
              <tr><td>
			          <div class="other_16" id="userinfo"><img alt="" src="../images/loading.gif" /><br/>加载中……</div>
        </div><div class="cle_fl"></div>
			  </td></tr>
			  </table>
			  </td>
            </tr>
            <tr>
              <td height="25" bgcolor="A7C0E0"><div align="left"><span class="STYLE7">&nbsp; ◎ 下级频道</span></div></td>
            </tr>
            <tr>
              <td height="150" valign="top"><table width="222" border="0" cellspacing="5" cellpadding="0">
                <tr>
                  <td valign="top"><div align="left"><span class="STYLE8"><div class="other_16 list_block"><%call class_About()%></div></span></div></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
          <td height="300" valign="top"><table width="662" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="101" background="<%=InstallDir%>image/z/3.jpg"><div align="left"><span class="STYLE9">&nbsp;&nbsp; <%=start%></span></div></td>
            </tr>
            <tr>
              <td height="25" bgcolor="E6E6E6" style="BORDER-top: #ffffff 5px solid"><div align="left"><span class="STYLE10"><div id="position"><h6><span>您的位置：</span><a href='../'>网站首页</a>&nbsp;>>&nbsp;<%=start%></h6></div></span></div></td>
            </tr>
            <tr>
              <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="5">
                <tr>
                  <td><div align="left"><span class="STYLE11">
<!--页面左边开始-->
<div class="Tab_left w_8">
        <div class="w_8 side_border">
        <div class="topic_bg1_1">频道内容</div>
        <div class="textbox">
	     <div class="text_body" id="ShowBody"><%=showbody%></div>
             <div class="text_tool"><span>【 <a href='javascript:copyText(document.all.ShowBody)'>复制</a> 】 【 <a href="javascript:window.print()">打印</a> 】</span></div>
        </div>
        </div>
</div>
<!--页面左边结束-->
				  </span></div></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      </table>
    </div></td>
  </tr>
</table>
<!--页面右边结束-->
<!--页面底部开始-->
<%
Call triman_Footer()

%>

