📄 main.php
字号:
<?
$chatroom_name=db("get","files/system.php",1,"chatroom_name",2);
$row=file("files/custom.php");
$custom_back=""; $custom_music=""; $custom_act=""; $stat="custom_back";
for($i=1;$i<count($row);$i++)
{
if(chop($row[$i])=="")
continue;
if($stat=="custom_back")
{
if(eregi("以下是定义背景图片",$row[$i])) continue;
if(eregi("以下是定义背景音乐",$row[$i])) { $stat="custom_music"; continue; }
$sub=explode("=",$row[$i]);
$custom_back.="<option value=\"".chop($sub[1])."\"> ".chop($sub[0])."</option>\n";
continue;
}
if($stat=="custom_music")
{
if(eregi("以下是定义动作描述",$row[$i])) { $stat="custom_act"; continue; }
$sub=explode("=",$row[$i]);
$custom_music.="<option value=\"".chop($sub[1])."\">".chop($sub[0])."</option>\n";
continue;
}
if($stat=="custom_act")
{
$sub=explode("=",$row[$i]);
$custom_act.="<option value=\"".chop($sub[1])."\">".chop($sub[0])."</option>\n";
continue;
}
}
?>
<html><head><title><?echo$chatroom_name;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="index.files/css.css" type="text/css"></head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0"><center>
<script language="javascript" src="index.files/js.js"></script>
<table border="0" cellpadding="0" cellspacing="0" width="780" id="main">
<tr>
<td><img src="index.files/shim.gif" width="15" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="83" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="319" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="168" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="9" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="80" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="82" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="24" height="1" border="0"></td>
<td><img src="index.files/shim.gif" width="1" height="1" border="0"></td>
</tr>
<tr valign="top">
<td colspan="8"><img src="index.files/index_r01_c1.gif" width="780" height="16" border="0"></td>
<td><img src="index.files/shim.gif" width="1" height="16" border="0"></td>
</tr>
<tr valign="top">
<td colspan="3"><img src="index.files/index_r02_c1.gif" width="417" height="21" border="0"></td>
<td colspan="5"><img src="index.files/index_r02_c4.gif" width="363" height="21" border="0"></td>
<td><img src="index.files/shim.gif" width="1" height="21" border="0"></td>
</tr>
<tr valign="top">
<td rowspan="8"><img src="index.files/index_r03_c1.gif" width="15" height="412" border="0"></td>
<td><a name="top"></a><a href=#top onclick="showadvance();"><img src="index.files/index_r03_c2.gif" width="83" height="34" border="0"></a></td>
<td colspan="6" background="index.files/index_r03_c3.gif" width="682" height="34" align=center valign=bottom>
<table border="0" cellPadding="0" cellSpacing="0" id=advance style="DISPLAY:" width=682 height=30>
<FORM name=bgmFo><input type=hidden name=inited value=""><tr>
<td width=150 align=center valign=middle><select name=backlist onChange="showback()" size=1>
<option value="default" selected>选择背景图片</option>
<?echo$custom_back;?>
<option value="addition/no.gif">---------------</option>
<option value="addition/no.gif">取消背景图片</option>
</select></td>
<td width=150 align=center valign=middle><select name=bgmList onChange='chaBGMAc22("bgmFo","bgmList")' size=1>
<option value="default" selected>选择背景音乐</option>
<?echo$custom_music;?>
<option value="no.mid">---------------</option>
<option value="no.mid">取消背景音乐</option>
</select></td>
<td width=282><SPAN class=class1Ac22 id=BGM></SPAN></td>
<td width=40 align=left><a href="help.htm" target="_blank">[帮助]</a></td>
<td width=60 align=left><a href="index.php?action=escape">[退出]</a></td>
</tr></table></td></FORM>
<td><img src="index.files/shim.gif" width="1" height="34" border="0"></td>
</tr>
<tr valign="top">
<td rowspan="3" colspan="3" bgcolor="#CCCCCC" align="center" valign="middle" width="570" height="323" id=chatback background="addition/no.gif">
<table border="0" cellPadding="0" cellSpacing="0" width="560" height="319">
<tr><td height="66%" id="div1">
<iframe class=alpha src="about:blank" id="output" name="output" marginWidth=0 frameSpacing=0 marginHeight=0 frameBorder=0 border=0 noResize width="100%" height="100%"></iframe>
<script>check_output();</script></td></tr><tr><td height="1%" bgcolor="#7A85AD" id="line"></td></tr>
<tr><td height="33%" id="div2">
<iframe class=alpha2 src="about:blank" id="hasme" name="hasme" marginWidth=0 frameSpacing=0 marginHeight=0 frameBorder=0 border=0 noResize width="100%" height="100%"></iframe>
</td></tr></table></td>
<td colspan="4" width=195 height=31 background="index.files/index_r04_c5.gif">
<table border="0" cellPadding="0" cellSpacing="0" width="100%">
<tr><td height=27 align=center valign=bottom><a href="#top" onclick="online.location.reload()" title="点击刷新在线列表"><font color=#FFFFFF>在 线 用 户 [刷新]</font></a></td></tr><tr><td height=4></td></tr></table>
</td>
<td><img src="index.files/shim.gif" width="1" height="31" border="0"></td>
</tr>
<tr valign="top">
<td rowspan="6"><img src="index.files/index_r05_c5.gif" width="9" height="347" border="0"></td>
<td colspan="2" width="162" height="272">
<TABLE width="100%" height="100%" border=1 cellPadding=0 cellSpacing=0 style="BORDER-RIGHT: #677074 1px solid; BORDER-TOP: #677074 1px solid; BORDER-LEFT: #677074 1px solid; BORDER-BOTTOM: #677074 1px solid; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: #ededed">
<tr><td><iframe src="index.php?action=show_online" name="online" marginWidth=0 frameSpacing=0 marginHeight=0 frameBorder=0 border=0 noResize width="100%" height="100%" scrolling="yes" vspale="0"></iframe></td></tr></TABLE></td>
<td rowspan="6"><img src="index.files/index_r05_c8.gif" width="24" height="347" border="0"></td>
<td><img src="index.files/shim.gif" width="1" height="272" border="0"></td>
</tr>
<tr valign="top"><form name=funtable>
<td rowspan="2" colspan="2" width=162 height=31 background="index.files/index_r06_c6.gif" align=center valign=middle>
<select name=fuzhu size=1 onchange="if(this.options[this.selectedIndex].value!=''){eval('init.'+this.options[this.selectedIndex].value)}">
<option value="" selected>辅助功能</option>
<option value="reflush()">断线重连</option>
<option value="b_or_s_font(12)">正常字体</option>
<option value="b_or_s_font(14)">稍大字体</option>
<option value="addpri('addpri')">加入密谈</option>
<option value="addpri('seepri')">查看密谈</option>
<option value="addpri('nopri')">解除密谈</option>
<option value="filter('filter')">屏蔽此人</option>
<option value="filter('seefilter')">查看屏蔽</option>
<option value="filter('nofilter')">解除屏蔽</option>
<option value="filter('noallfilter')">解除所有</option>
</select>
私<input type=checkbox name=is_private onclick="javascript:change_pri();">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -