<%@ Page CodeBehind="inquireonline.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="yn165.admin.inquireonline" %>
<HTML>
	<HEAD>
		<TITLE>在线咨询</TITLE>
		<META content="text/html; charset=gb2312" http-equiv="Content-Type">
		<META content="no-cache" http-equiv="Pragma">
		<STYLE type="text/css">INPUT { FONT-SIZE: 9pt; FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	A:hover { COLOR: #ff6666; FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	A { FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	TD { FONT-SIZE: 9pt; FONT-FAMILY: "宋体", "Arial", "Times New Roman"; TEXT-DECORATION: none }
	.unnamed1 { FONT-SIZE: 7pt; TEXT-DECORATION: none }
	.unnamed2 { FONT-SIZE: 10.5pt; TEXT-DECORATION: none }
	.unnamed3 { FONT-SIZE: 14pt; TEXT-DECORATION: none }
	</STYLE>
		<!--web design:zheng guiwen E-mail:guiwen@zheng.com.cn -->
		<META content="MSHTML 5.00.2614.3500" name="GENERATOR">
		<META HTTP-EQUIV="REFRESH" CONTENT="2">
	</HEAD>
	<BODY aLink="#000000" bgColor="#f4f4f4" link="#000000" text="#000000" vLink="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="">
		<form runat="server">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
				<tr align="left" valign="top">
					<td>
						<table width="160" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
							<tr bgcolor="#ff6600" align="middle" valign="center">
								<td><font color="#ffffff">所有在线用户
										<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="img\out.gif"></asp:ImageButton></font></td>
							</tr>
							<%
						for (int i= 1; i<=100;i++)
						{
							if (Application["user" + i.ToString()] == Session["user"])
							{
								Application["user" + i.ToString()] = null;
							}
						}
						for (int i=1;i<=100;i++)
						{ 
							if (Application["user"+i.ToString()]!=null && Application["user"+i.ToString()]!="")
							{
						%>
							<tr bgcolor="#ffffff">
								<td >ID:
									<% Response.Write("<a href=sendmsg.aspx?id=" + i.ToString() + " >" + Application["user"+i.ToString()] + "</a>");
								if (Application["msg"+i.ToString()]!=null && Application["msg"+i.ToString()].ToString()!="")
								{
									Response.Write("<a href=sendmsg.aspx?id=" + i.ToString() + " >  <font color=red>  [新消息]</font></a>");
									%>
									<embed height="0" src="img/new1.wav" type="audio/x-pn-realaudio-plugin" width="0" autostart="true" controls="PlayButton">
									</embed>
									<%
								}
								
								%>
								<a href=delapp.aspx?appid=<%=i.ToString()%> >(删)</a></td>
							</tr>
							<% 
						} } %>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</BODY>
</HTML>
