<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="setup.asp"-->
<!--#include file="conn.asp"-->
<%
dim id
id=getsaferequest(request.QueryString("id"))
columnid=getsaferequest(request.QueryString("columnid"))%>
<!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><%=site_name%></title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body class="body_qian">
<!--#include file="top.asp"-->
<div id="box">
<div id="left">
  <div id="nav4">栏目导航</div>
  <div id="nav_content">
<ul class="cannel2">
<%
set rsok=server.createobject("ADODB.recordset")
sqlok="select * from com where yiid="& columnid &" order by paixu asc"
rsok.open sqlok,conn,1,1
do while not rsok.eof
%>
<li><a class="ertitle" href="introduce.asp?id=<%=rsok("id")%>&columnid=<%=rsok("yiid")%>"><%=left(rsok("title"),10)%></a></li>
<%rsok.movenext
loop
rsok.close
set rsok=nothing
%>
</ul>
</div>

<div id="nav4">投票调查</div>
<div id="nav_content">
<script language="javascript" src="vote/votescript.asp?vid=7"></script>
</div>
</div>
<%
set rsok=server.createobject("ADODB.recordset")
if id="" then
sqlok="select * from com where yiid="& columnid &" order by paixu asc"
else
sqlok="select * from com where yiid="& columnid &" and id="& getsaferequest(request.QueryString("id")) &" order by paixu asc"
end if
rsok.open sqlok,conn,1,1
if not rsok.eof then
rsok.movefirst
title=rsok("title")
content=rsok("content")
end if
rsok.close
set rsok=nothing
%>
<div id="right">
<div id="address">您的位置：本站首页→</div>

<div id="big_content">
<div id="content">
<h1><%=title%></h1>
<%=content%>
</div>
</div>
</div>
</div>
<!--#include file="bottom.asp"-->
</body>
</html>
<%conn.close
set conn=nothing%>