<!--#include file="inc_const.asp"-->
<%
response.expires=0
Response.CacheControl = "Private"

room_id=trim(request("room_id"))
application.lock
if room_id="" or instr(Application( ConstStr & "_room_list"),"<$"&room_id&"$>")=0 then
  response.redirect("showerr.asp?errtext=您要查看的房间并不存在！")
  application.unlock
  response.end
end if

function trlg(u,pu,tu,fu)
  if u=pu then
    trlg=tu
  else
    trlg=fu
  end if
end function

room_array=split(Application( ConstStr & "_room_list"),"<$"&room_id&"$>")
application.unlock
room_array2=split(room_array(1),"$>")

room_name=room_array2(0)
room_owner=room_array2(1)
room_auto=room_array2(2)
room_des=room_array2(3)
room_top=room_array2(4)
room_title=room_array2(5)
room_keep=trlg(room_array2(6),"0","否","是")
room_time=room_array2(7)
room_tt=trlg(room_array2(8),"0","禁止","允许")
room_html=trlg(room_array2(9),"0","禁止","允许")
room_door=trlg(room_array2(15),"0","关门","开门")
room_level=room_array2(14)
room_exp=room_array2(10)
room_build_time=room_array2(11)
room_life=application( ConstStr & "_roomtimeout")-application( ConstStr & "_roomexpperday")*DATEDIFF("d",room_build_time,now())+room_exp
if room_keep="是" then
  room_life="永久"
else
  room_life=room_life &"分钟"
end if
room_user_list=room_array2(12)
%>
<html><title>查看房间信息</title>
<META content="text/html; charset=gb2312" http-equiv=content-type><meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
<link rel="stylesheet" type="text/css" href="chat.css"></head>
<style>td{text-align:left}</style>
<body style="background-color:EAF2FF;color:112233;scrollbar-Base-Color: #b0d8ff;SCROLLBAR-DARKSHADOW-COLOR:#b0d8ff;SCROLLBAR-arrow-COLOR:#336699;SCROLLBAR-TRACK-COLOR: EAF2FF;SCROLLBAR-3DLIGHT-COLOR: #b0d8ff;SCROLLBAR-SHADOW-COLOR: #336699;SCROLLBAR-HIGHLIGHT-COLOR: #b0d8ff;" leftmargin=3 topmargin=20 onload="this.focus();">
<table align=center border=1 bordercolordark=#ffffff bordercolorlight=#000000 cellspacing=0 width=90% >
 <tr><td>
  <table  class=navy2 border=0 cellpadding=2 cellspacing=0 width=100% >
    <tr><td width=100% class=navy2 style="text-align:center">〖<%=room_name%>〗当前信息
    <td><table border=1 style="background-color:EAF2FF;color:112233;scrollbar-Base-Color: #b0d8ff;SCROLLBAR-DARKSHADOW-COLOR:#b0d8ff;SCROLLBAR-arrow-COLOR:#336699;SCROLLBAR-TRACK-COLOR: EAF2FF;SCROLLBAR-3DLIGHT-COLOR: #b0d8ff;SCROLLBAR-SHADOW-COLOR: #336699;SCROLLBAR-HIGHLIGHT-COLOR: #b0d8ff;"  bordercolordark=#ffffff bordercolorlight=#666666 cellpadding=0 cellspacing=0 width=18>
    <tr><td width=16><b><a href='javascript:window.close()' title=退出><font color=#000000>×</font></a></b>
      </table>
  </table>
  <table style="background-color:EAF2FF;color:112233;scrollbar-Base-Color: #b0d8ff;SCROLLBAR-DARKSHADOW-COLOR:#b0d8ff;SCROLLBAR-arrow-COLOR:#336699;SCROLLBAR-TRACK-COLOR: EAF2FF;SCROLLBAR-3DLIGHT-COLOR: #b0d8ff;SCROLLBAR-SHADOW-COLOR: #336699;SCROLLBAR-HIGHLIGHT-COLOR: #b0d8ff;" border=0 bordercolordark=#ffffff bordercolorlight=#000000 cellpadding=5 cellspacing=0 width=100%>
   <tr align=middle valign=center>
    <td>
    <table align=center border=1 bordercolordark=#ffffff bordercolorlight=#ccccff cellspacing=0 width=100%>
    <tr><td nowrap>房 间 名<td width=100% ><%=room_name%></td></tr>
    <tr><td>房间主人<td><%=room_owner%></td></tr>
    <tr><td>机 器 人<td><%=room_auto%></td></tr>
    <tr><td nowrap>允许贴图<td><%=room_tt%></td></tr>
    <tr><td>永久保留<td><%=room_keep%></td></tr>
    <tr><td>允许字效<td><%=room_html%></td></tr>
    <tr><td>级别限制<td><%=room_level%></td></tr>
    <tr><td>进入准许<td><%=room_door%></td></tr>
    <tr><td>建立时间<td><%=room_build_time%></td></tr>
    <tr><td>最后光顾<td><%=room_time%></td></tr>
    <tr><td nowrap>房间人气<td><%=room_exp%></td></tr>
    <tr><td>房间生命<td><%=room_life%></td></tr>
    <tr><td>房间描述<td><%=room_des%></td></tr>
    <tr><td>房间标题<td><%=room_title%></td></tr>
    <tr><td>管理标题<td><%=room_top%></td></tr>
    <tr><td>在线名单<td style="color:blue">&nbsp;<%=room_user_list%></td></tr>
   </table></table></table></body></html>
































