<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/common.js"></script>
		<link href="<%=CurrentSkinPath%>style.css" rel="stylesheet" type="text/css" />
		<title></title>
		<script type="text/javascript">
		window.onload = function () {
			if (!parent)
			{
				return true;
			}		
			var list_container = parent.document.getElementById('OnlineListContainer');
			if (!list_container)
			{
				return true;
			}
			list_container.innerHTML = document.body.innerHTML;
		}
		</script>
	</head>
	<body>	
	<ul class="users">
	<!--{if(Config.Settings["EnIndexList"].ToLower()=="true")}-->
		<!--<%
			System.Data.DataTable dt = list.Tables.Count>0?list.Tables[0]:new System.Data.DataTable();
			int	c = dt.Rows.Count, _i01=0;
		%>-->
		<!--{if(c==0)}-->
		<li nowap="nowap">当前无人员在线。</li>
		<li nowap="nowap">欢迎您<a href="user_reg.aspx" style="color:red">注册加入</a>我们哦！</li>
		<!--{else}-->
			<!--{for(;_i01<dt.Rows.Count;_i01++)}-->
			<li>
			<img style="float:left" height=20 width=20 src="<%=(("" == dt.Rows[_i01]["userpic"].ToString() || "游客"==dt.Rows[_i01]["username"].ToString()) ? "templates/" + CurrentTemplateName + "/images/nouser.gif" : dt.Rows[_i01]["userpic"].ToString())%>" border="0" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" title="<%=dt.Rows[_i01]["username"]%>" />
			<a  target="_blank" class="<%=(dt.Rows[_i01]["username"].ToString()=="游客" ? ((null == Cookie.Get("session") ? "" : Cookie.Get("session").Values["sessionid"].ToString()) == dt.Rows[_i01]["id"].ToString() ? "fon0" : "fon2") : ((null == Cookie.Get("session") ? "" : Cookie.Get("session").Values["sessionid"].ToString()) == dt.Rows[_i01]["id"].ToString() ? "fon0" : (int.Parse(dt.Rows[_i01]["power"].ToString())>1 ? "fon1" : "fon3")))%>" <%=((true != bool.Parse(dt.Rows[_i01]["isfade"].ToString()) && "游客" != dt.Rows[_i01]["username"].ToString()) ? "href=\"" + Rewrite("user_info.aspx?name=" + Server.UrlEncode((string)dt.Rows[_i01]["username"]), "user_info-" + Server.UrlEncode(dt.Rows[_i01]["username"].ToString()) + Extension, "user_info/m" + dt.Rows[_i01]["username"]) : "#")+"\""%>" title="最后活动于<%=dt.Rows[_i01]["startime"].ToString()%>"><%=((bool.Parse(dt.Rows[_i01]["isfade"].ToString()) && "游客" != dt.Rows[_i01]["username"].ToString()) ? "隐身会员" : dt.Rows[_i01]["username"].ToString())%></a>
			</li>
			<!--{endfor}-->
		<!--{endif}-->
	<!--{else}-->
	<li nowap="nowap">论坛已关闭在线列表。</li>
	<!--{endif}-->
		</ul>
		<div style="clear: both;margin-top:10px;">
	        <!--#include file="_temppager.htm"-->
	    </div>
	</body>
</html>

	