<script type="text/javascript" language="javascript">
///防止
function ImageOnError(imgobj,reurl)
{
   if(typeof(imgobj.getAttribute('FirstErr',1))==='undefined' || imgobj.getAttribute('FirstErr',1)==null)
   {
      imgobj.setAttribute('FirstErr','NotFirst',1);
      imgobj.src=reurl;
   }
   else
   {
     return ;
   }
}
</script>
<div class="mainbox">
	<div align="left" style="margin-top:8px"><font class="fon2"><%="该版主题数:&nbsp;&nbsp;<b>" + Fetch.Get("TopicNum") + "</b>&nbsp;&nbsp;篇, 帖子数:&nbsp;&nbsp;<b class=\"fon3\">" + Fetch.Get("PostNum") + "</b>&nbsp;&nbsp;篇, 今日发贴:&nbsp;&nbsp;<b class=\"fon1\">" + Fetch.Get("TodayNum") + "</b>&nbsp;&nbsp;篇," + "当前与您同在版面：会员"+Member+"人，游客："+Guest+"人"+OnlineListTitle%></font></div>
	<ul class="users" style="margin-top:0px;">
		<!--{if (null != UserList && UserList.Rows.Count > 0)}-->
		<!--{foreach (System.Data.DataRow dr in UserList.Rows)}-->
		<li>
			<!--{if("" == dr["userpic"].ToString())}-->
			<img style="float:left" height="20" width="20" src="files/uploadfaces/userface/noface.gif" border="0" title="<%=dr["AnchorName"]%>" />
			<!--{else if("游客" == dr["username"].ToString())}-->
			<img style="float:left" height="20" width="20" src="<%="templates/"+ CurrentTemplateName +"/images/nouser.gif"%>"  border="0" title="<%=dr["AnchorName"]%>" />
			<!--{else}-->
			<img style="float:left"  height="20" width="20" src="<%=Server.HtmlEncode(dr["userpic"].ToString())%>" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" border="0" title="<%=dr["AnchorName"]%>" />
			<!--{endif}-->
			<a style="float:left" class="<%=(dr["username"].ToString()=="游客" ? ((null == Cookie.Get("session") ? "" : Cookie.Get("session").Values["sessionid"].ToString()) == dr["id"].ToString() ? "fon0" : "fon2") : ((null == Cookie.Get("session") ? "" : Cookie.Get("session").Values["sessionid"].ToString()) == dr["id"].ToString() ? "fon0" : (int.Parse(dr["power"].ToString())>1 ? "fon1" : "fon3")))%>" <%=(""!= dr["AnchorHref"].ToString() ? "href=\""+dr["AnchorHref"].ToString()+"\"" : "")%> title="最后活动于<%=dr["startime"].ToString()%>">
				<%=dr["AnchorName"]%>
				&nbsp;</a>
		</li>
		<!--{endforeach}-->
		<!--{endif}-->
	</ul>
	<div style="clear:both"></div>
	<br />
	<!--#include file="_temppager.htm"-->
</div>
<!--#include file="_footer.html" -->
<script type="text/javascript" language="javascript">
parent.document.getElementById('three2').innerHTML='与我同在(会员<span class=\"green\"><%=Member%></span>&nbsp;&nbsp;游客<span class=\"green\"><%=Guest%></span>)';
var list_container = parent.document.getElementById('OnlineListContainer');
list_container.innerHTML = document.body.innerHTML;
</script>
