<!--#include file="chat/config.asp"-->
<!--#include file="inc/conn.asp"-->
<%
'on error resume next'错误忽略，以便能捕获错误信息

Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = 0

'----------------------------------------------------------------------------------------
rem 判断global.asa是否被正确执行
if not Application("initialized") then response.Redirect("initchat.asp")
%>
<script language="JavaScript">
//打开窗口宽度的设置
//暂时只支持1024*768 和 800*600两种分辨率,且暂时只打开两种分辩率下的窗口.不会在过大分辩率下显示全屏

Win_width=screen.availWidth;

if (Win_width>1024)Win_width=1024;
Win_width-=10;

Win_height=screen.availHeight;
if (Win_height>600)
Win_height=768;
Win_height-=50;

function openWin() 
{winst="Status=no,scrollbars=yes,resizable=yes,width="+(Win_width)+",height="+(Win_height)+",top=0,left=0";
 window.open('about:blank','G_chatsystemWindow',winst);
} 
function openWin2(str,w,h) 
{winst="Status=yes,scrollbars=yes,resizable=yes,width="+(w)+",height="+(h)+",top=0,left=0";
 window.open(str,'G_chatsystemWindow2',winst);
} 
function check(){
f=document.form1
if (f.username.value.length<1){alert("请输入呢称！");return false;}
if (f.room_id.value<0){alert("请选择房间（点击您想要进入的房间）之后再提交！");return false;}
openWin();
f.submit();
f.username.value="";
f.password.value="";
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎光临<%=chat_name%></title>
<meta name="keywords" content="情感,在线,新新,照片,动感影片,诗歌,爱情,纯洁,心连心">
<meta name="description" content="红嫂视屏交友情缘 情感在线">
<link href="style.css" rel="stylesheet" type="text/css">
<link href="css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
}
.STYLE81 {color: #CC0099;
	font-size: 12px;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="top.asp"--></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="204" height="539" valign="top"><table width="210" border="0" cellpadding="0" cellspacing="0" style="border-left:#9DCCF6 1px solid;border-right:#9DCCF6 1px solid;border-bottom:#9DCCF6 1px solid;border-top:#9DCCF6 1px solid  " >
      <tr>
        <td height="28" background="images/lg_3.gif">&nbsp;&nbsp;<strong>交友指南</strong></td>
      </tr>
      <tr>
        <td height="493" valign="top"><br>
            <table width="93%" border="0" align="center" cellpadding="0" cellspacing="0" class="STYLE81">
              <tr>
                <td width="17%" height="30" align="center"><div align="left" class="p1">本聊天系统(以下简称系统)为公共交流、休闲场所，为维护网上公共秩序、明确各自义务以及确保双方各自利益不受侵害，请您先阅读以服务条款：<br>
                    <span class="STYLE1">一、</span>不得利用本站危害国家安全、泄露国家秘密，不得侵犯国家社会集体的和公民的合法权益，不得利用本站制作、复制和传播下列信息:<br>
                    <span class="STYLE1">二、</span>您在本站注册所填写的个人资料，均受「电脑处理个人资料保密法」所保护，本站依法不会将会员资料提供其他公司或第三者使用。 <br>
                    <span class="STYLE1">三、</span>用户在本站的言论其著作权均归其个人所有，但本系统保留根据管理的需要维护，更改，删除，转移等权利；保留取消不受欢迎的用户的会员资格权利，调整服务内容而不事先通知并征得用户同意的权利。 <br>
                    <span class="STYLE1">四、</span>任何社员没有以本系统成员名义从事任何本站未授权的活动的权利。 <br>
                  <span class="STYLE1">五、</span>互相尊重，对自己的言论和行为负责。</div></td>
              </tr>
          </table></td>
      </tr>
    </table>
</td>
    <td width="583" valign="top"><table width="565" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><TABLE width="100%" border=0 
            cellPadding=0 cellSpacing=0 bgColor=white class="STYLE4" >
              <TBODY>
                <TR>
                  <TD width="2%" align=left background="image/tiao_4.gif"><img src="image/tiao_3.gif" width="10" height="31"></TD>
                  <TD width="14%" align=center background="image/tiao_4.gif"><table width="122" height="25" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td align="center" class="pgd">聊天室区域分布</td>
                      </tr>
                  </table></TD>
                  <TD width="50%" height="20" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="32%" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="2%" align="right" background="image/tiao_4.gif"><img src="image/tiao_2.gif" width="10" height="31"></TD>
                </TR>
              </TBODY>
          </TABLE></td>
        </tr>
        <tr>
          <td height="299" valign="top" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid;border-bottom:#C7C8CC 1px solid"><br>
              <br>
              <table width="520" border="0" align="center" cellpadding="0" cellspacing="0">
                <form name="form1" method="post" action="chat/process.asp" target="G_chatsystemWindow">
                  <tr>
                    <td height="449" align="center" valign="top"><table width="520" border="0" cellpadding="0" cellspacing="0" class="STYLE4">
                        <tr>
                          <td height="8" colspan="3"></td>
                        </tr>
                        <tr>
                          <td colspan="3" align="left"><%
set res=server.CreateObject("adodb.recordset")
sql1="select * from sheng"
res.open sql1,conn,1
j=1
do while not res.eof
%>
                              <input type="radio" name="city111" value="<%=res("id")%>"<%if res("id")=8 then response.Write " checked"%> />
                              <%=res("sheng")%>
                              <%  
res.movenext
j=j+1
if j mod 10 =0 then response.Write "<br>"
loop
res.close
set res=nothing
%>
                          </td>
                        </tr>
                        <tr>
                          <td height="8" colspan="3" align="left"></td>
                        </tr>
                        <tr>
                          <td colspan="3" align="left"><hr size="1" class="STYLE88" /></td>
                        </tr>
                        <tr>
                          <td height="30" colspan="3" align="left" class="STYLE1"><strong class="hong">会员-聊天室登录</strong></td>
                        </tr>
                        <tr>
                          <td width="53" height="30" align="center">昵称：</td>
                          <td width="142" align="left"><input name="textfield" type="text" class="STYLE88" style="height:18px; width:60px;" /></td>
                          <td width="365" align="center">性别：
                              <input type="radio" name="radiobutton" value="radiobutton" />
              女
              <input type="radio" name="radiobutton" value="radiobutton" />
              男
              <input type="radio" name="radiobutton" value="radiobutton" />
              保密&nbsp;&nbsp;
              <input name="Submit" type="submit" class="STYLE1" value="登陆" /></td>
                        </tr>
                      </table>
                        <table width="520" border="0" cellpadding="0" cellspacing="0" class="STYLE4">
                          <tr>
                            <td align="left"><table width="100%" border="1" cellspacing="0" bordercolorlight="#FFFFFF" bordercolordark="#9DCCF6" class="style30">
                                <tr align="middle">
                                  <td width="52">选择</td>
                                  <td width="103">聊天室名称</td>
                                  <td width="100"> 在线人数</td>
                                  <td width="339">当前话题</td>
                                </tr>
                                <tr align="middle">
                                  <td width="52"><input type="radio" value="35" name="rooms"></td>
                                  <td width="103">呼和浩特</td>
                                  <td width="100"><script language="JavaScript" type="text/javascript">  
v = "";  
if(v!="")  
{  
v = v.substring(1,v.length-1);  
lis = v.split(",,");
document.write(lis.length);
}
else  
{document.write("0");}  
                    </script>
                    /100 </td>
                                  <td width="339" align="left">&nbsp;呼和浩特聊天室</td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td height="32" align="center"><input name="Submit2" type="submit" class="STYLE1" value="提交" /></td>
                          </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td height="31" align="center" bgcolor="#EEEEEE">&nbsp;</td>
                  </tr>
                </form>
          </table></td>
        </tr>
    </table></td>
    <td width="163"><!--#include file="fenlei.asp"-->
&nbsp;</td>
  </tr>
</table>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="root.asp"--></td>
  </tr>
</table>
</body>
</html>
