<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="setup.asp"-->
<!--#include file="conn.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">
<link href="style.css" rel="stylesheet" type="text/css" />
<title><%=site_name%></title></head>
<body>
<!--#include file="top.asp"-->
<div id="box">
<div id="left">

<div id="nav4">栏目导航</div>
  <div id="nav_content">
  <ul class="cannel2">
</ul>
</div>
<div id="nav4">点击排行</div>
<div id="nav_content">
<ul>
<%
 Set rs2 = Server.CreateObject("ADODB.RecordSet")
rs2.open "select top 6 * from news order by hit desc",conn,1,1
if rs2.eof and rs2.bof then
response.Write("暂无信息")
else
do while not rs2.eof
%>
<li>·<a href="list.asp?yiid=<%=rs2("yiid")%>"><%=rs2("title")%></a></li>
<%
rs2.movenext
loop
end if
rs2.close
set rs2=nothing
 %>
</ul>
</div>

</div>

<div id="right">
    <% 
exec="select * from star where id="& request.QueryString("id") 
set rs=server.createobject("adodb.recordset") 
rs.open exec,conn,1,1 
%>
<div id="address">您的位置：本站首页 → 名星风采
    → <%=rs("name")%>    </div>


<div id="big_content">
<div id="content">
<table width="763" height="79" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="8" align="center"><a href="star_view.asp?id=<%=rs("id")%>" title="<%=rs("name")%>"><img src="<%=rs("photo")%>" width="194" height="202" border="0" /></a></td>
  </tr>
  <tr>
    <td width="43" bgcolor="#F3F3F3">姓名：</td>
    <td width="107" bgcolor="#F7F7F7"><%=rs("name")%></td>
    <td width="45" bgcolor="#F3F3F3">年龄：</td>
    <td width="126" bgcolor="#F7F7F7"><%=rs("age")%></td>
    <td width="45" bgcolor="#F3F3F3">职业：</td>
    <td width="157" bgcolor="#F7F7F7"><%=rs("Professional")%></td>
    <td width="48" bgcolor="#F3F3F3">性别：</td>
    <td width="192" bgcolor="#F7F7F7"><%=rs("sex")%></td>
  </tr>
  <tr>
    <td colspan="8"><%=rs("content")%></td>
  </tr>
</table>
</div>
</div>
</div>
</div>
<!--#include file="bottom.asp"-->
</body>
</html>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>