<!-- #include file="include/skin.asp" -->
<%
'****************************************************************
'
'       插件名称：即时聊天 joekoe CMS 1.2 免费版（绿色插件）
'
'          上海闸北第三中心小学---阳光校园---阳光工作室
'
'                      制作：少数派&HUOYING
'
'                网址：http://www.szxx.edu.sh.cn
'
'                      http://zbszx.xicp.net
'
'****************************************************************
tit="开心聊天"

call web_head(0,0,5,0,0)
dim chatuser,username
if var_null(login_username)="" then
chatuser=request.cookies(joekoe_cms.web_cookies)("guest_name")
else
chatuser=login_username
end if
username=trim(request.querystring("username"))
%>
<script language=javascript src='style/joekoe_functions.js'></script>
</head>
<body topmargin=0 leftmargin=0>
<TABLE width="100%" border=1 align=center cellPadding=0 cellSpacing=0>
<form name=write_frm method="post" action="chat_pros.asp" target="pros">
<input type=hidden name=chatuser value='<%response.write chatuser%>'>
<tr><td align=center valign=middle>
<% if login_mode="admin" then response.write "<a href='admin_chat.asp' target='_blank'><b>编辑</b></a>&nbsp;&nbsp;<a href='admin_chat.asp?action=clean'><b>清屏</b></a>&nbsp;&nbsp;"%>
<a href='javascript:;' onclick="javascript:parent.showmsg.location.href='chat_showmsg.asp';"><b>刷新</b></a>
&nbsp;&nbsp;<font class=blue><%response.write chatuser%></font>&nbsp;对&nbsp;
<select name=username>
<option value="大家"<%if username="大家" then response.write " selected"%>>大家</option>
<%
sql="select l_username from user_login order by l_id"
set rs=joekoe_cms.exec(sql,1)
do while not rs.eof
response.write "<option value="&rs("l_username")&""
if rs("l_username")=username then response.write " selected"
response.write ">"&rs("l_username")&"</option>"
rs.movenext
loop
rs.close
%>
</select>&nbsp;说：</td></tr>
<tr><td align=center valign=middle><input name=jk_word type="text" value="" size="70">&nbsp;
<INPUT type=submit value=发送 name=send></td></tr>
<tr class=bg_td>
<td><a href=help.asp?action=ubb target=_blank><b>UBB帮助</b></a>&nbsp;<%response.write jk_em("write_frm","jk_word")%></td>
</tr></form>
</table>
</body> 
</html>
<%
call web_clears(1)
'****************************************************************
'
'       插件名称：即时聊天 joekoe CMS 1.2 免费版（绿色插件）
'
'          上海闸北第三中心小学---阳光校园---阳光工作室
'
'                      制作：少数派&HUOYING
'
'                网址：http://www.szxx.edu.sh.cn
'
'                      http://zbszx.xicp.net
'
'****************************************************************
%>