<!--#include file="_header.html"-->
<script type="text/javascript" language="javascript" src="templates/<%=CurrentTemplateName%>/scripts/tab.js"></script>
<script language="javascript" type="text/javascript" src="templates/scripts/dvajax.js"></script>
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/dvwnd.js"></script>
<script type="text/javascript" language="javascript" src="templates/<%=CurrentTemplateName%>/scripts/board.js"></script>
<div class="mainbox">
	<div class="notice">
		<div style="float:left"><!--#include file="_nav.html"-->
		</div>		
		<a onclick="javascript:AddItem('additem.aspx?item=board&itemid=<%=BoardStatus.BoardId.ToString()%>','operatetip')" style="cursor:pointer">收藏版块</a>
		<!--{if(TabIndex>0)}-->
		<a href="##" onclick="contract(this,'Tab');return false;">隐藏子版</a>
		<!--{endif}-->
	</div>
	<span class="operatetip" id="operatetip" style="float:right;display:none">
    <!--操作结果提示的显示区域-->
	</span>
	<div style="clear:both"></div>
	<!--{if( ("1" == Dvbbs.Utils.Config.Settings["BbsFrameStat"] &&( 1 == IsUseLeft || -1 == IsUseLeft)) || ("0" == Dvbbs.Utils.Config.Settings["BbsFrameStat"] && 1 == IsUseLeft) )}-->
	<script language="javascript">
	if (this.window == top)
	{
		top.location.href = "index_main.aspx?actleft="+escape(this.window.location.href);
	}
	</script>
	<!--{endif}-->
	<!---------------选项页展示内容------------------->
	<!--{if(TabIndex>0)}-->
	<div id="Tab">
		<div class="Menubox">
			<ul>
			<!--<%
			   int temptab=1; //临时变量
			%>-->
				<!--{for(int i=1;i<Tabs.Length;i++)}-->
				<!--{if(Tabs[i]!=null)}-->
				<li id="two<%=temptab%>" onclick="setTab('two',<%=temptab%>,tabCount);">
					<%=Tabs[i]%>
				</li>
				<!--<% temptab++;%>-->
			   <!--{endif}-->
				<!--{endfor}-->
			</ul>
		</div>
		<div class="Contentbox">
		 <!--<% temptab=1; %>-->
			<!--{for(int i=1;i<Tabs.Length;i++)}-->
			 <!--{if(Tabs[i]!=null)}-->
			<div id="con_two_<%=temptab%>" style="display:none">
				<!--{if(1==i)}-->
				<!-- 子版块列表开始 -->
				<!--{if (null != BoardStatus && BoardStatus.Children.Count > 0)}-->
				<div class="bbs_column">
					<ul id="childboard" style="border:0px">
						<!--{foreach (Dvbbs.bbs.Entity.BoardList.BoardInfo dr in BoardStatus.Children)}-->
						<table border="0">
							<tr>
								<td width="60"><div class="<%=dr.TodayNum>0 ? "todaynew" : "today"%>"><%=dr.TodayNum%><p>today</p>
									</div>
								</td>
								<td>
									<a href="<%=Rewrite("board.aspx?boardid=" + dr.BoardId, "board-" + dr.BoardId + Extension,"board/b" + dr.BoardId)%>">
										<%=dr.BoardType%>
									</a>
									<br />
									<%=dr.Readme%>
									<span>版主：<%=UtilityHandler.DisplayBoardMaster(dr.BoardMaster)%> | 帖子：<%=dr.TopicNum%> | 主题：<%=dr.CurrentPostNum%></span></td>
								<!--{if(dr.IndexImg!=null&&string.Empty!=dr.IndexImg)}-->
								<td align="right">
									<a href="<%=Rewrite("board.aspx?boardid=" + dr.BoardId, "board-" + dr.BoardId + Extension,"board/b" + dr.BoardId)%>">
										<img src="<%=dr.IndexImg%>" width="80" height="50" alt="<%=dr.BoardType%>" title="<%=dr.BoardType%>" /></a>
								</td>
								<!--{endif}-->
							</tr>
						</table>
						<!--{endforeach}-->
					</ul>
				</div>
				<!--{endif}-->
				<!-- 子版块列表结束 -->
				<!--{else if(2==i)}-->
				<!-- 本版版规开始 -->
				<div class="padding">
				<!--{if(BoardStatus.Rules.ToString()!=string.Empty)}--><%=BoardStatus.Rules.ToString()%><!--{endif}--></div>
				<!-- 本版版规结束 -->
				<!--{else if(3==i)}-->
				<!-- 本版专题开始 -->
				<div class="padding">
				<!--{if (null != ClassList && ClassList.Length > 0)}-->
				<!--{foreach (System.Data.DataRow dr in ClassList)}-->
				<a href="<%="board.aspx?boardid=" + dr["boardid"] + "&classid=" + dr["id"]%>" title="<%=dr["description"]%>">
					<%=dr["classname"]%>
				</a>&nbsp;&nbsp; 
				<!--{endforeach}-->
				<!--{endif}--></div>
				<!-- 本版专题结束 -->
				<!--{endif}-->
			</div>
			<!--<% temptab++; %>-->
			<!--{endif}-->
			<!--{endfor}-->
		</div>
	</div>
	<!--{endif}-->
	<script language="javascript">
		<!--
			var tabCount=<%=TabIndex%>;		
			function setTab(name,cursel,tabCount)
			{
				try
				{
					for(i=1;i<=tabCount;i++)
					{
						var menu = $(name+i);
						var con = $("con_"+name+"_"+i);
						if(menu!=null && con!=null){
							menu.className = (i==cursel) ? "hover" : "";
							con.style.display = (i==cursel) ? "block" : "none";
						}
					}
				}
				catch(e){alert(name+i);}
			}		
			<!--<% int temp=1; %>-->
			<!--{for(int i=Tabs.Length-1;i>0;i--)}-->
			<!--{if(Tabs[i] !=null)}-->
				setTab('two',<%=temp%>,tabCount);
				<!--<% temp++; %>-->
			<!--{endif}-->
			<!--{endfor}-->
		//-->
	</script>
	<!---------------选项页展示内容------------------->
	<!-- 公告部分开始 -->
	<!--{if (null != AnnouncementInfo && AnnouncementInfo.Length>0)}-->
	<script type="text/javascript" language="JavaScript">
<!--
var rollText_k = <%=AnnouncementInfo.Length%>; //菜单总数
var rollText_i = 1; //菜单默认值
//setFocus1(0);
rollText_tt = setInterval("rollText(1)",4000);
function rollText(a)
{
	clearInterval(rollText_tt);
	rollText_tt=setInterval("rollText(1)",4000);
	rollText_i+=a;
	if (rollText_i>rollText_k)
	{
		rollText_i=1;
	}
	if (rollText_i==0)
	{
		rollText_i=rollText_k;
	}
	//alert(i)
	for (var j = 1; j <= rollText_k; j++)
	{
		document.getElementById("rollTextMenu"+j).style.display="none";
	}
	document.getElementById("rollTextMenu"+rollText_i).style.display="block";
	document.getElementById("pageShow").innerHTML = rollText_i+"/"+rollText_k;
}
//-->
	</script>
	<div class="rollboder">
		<ul>
			<li class="rollleft">
				<div class="rollTextMenus">
					<!--{for(int i=0;i<AnnouncementInfo.Length;i++)}-->
					<!--{if(i==0)}-->
					<div id="rollTextMenu<%=i+1%>" style="DISPLAY: block">
						<!--{else}-->
						<div id="rollTextMenu<%=i+1%>" style="DISPLAY: none">
							<!--{endif}-->
							<strong>&nbsp;&nbsp;公告：</strong> 
							<!--{if(AnnouncementInfo[i]!=null)}-->
							<a href="javascript:;" onclick="DvWnd.open('公告：<font style=COLOR: #ff3300;><%=AnnouncementInfo[i].Title%></font>','announcements.aspx?action=showone&newid=<%=AnnouncementInfo[i].Id.ToString()%>',600,450,1,{bgc:'black',opa:0.5});"><%=AnnouncementInfo[i].Title%></a>(<%=AnnouncementInfo[i].AddTime%>)
							
							<!--{endif}-->
						</div>
						<!--{endfor}-->
					</div>
				</TD>
			</li>
			<li class="rollright" width="40">
				<a title="上一条" href="javascript:rollText(-1);"><img src="templates/<%=CurrentTemplateName%>/images/last.gif"
      alt="上一条" width="11" height="11" border="0" /></a> <a title="下一条" href="javascript:rollText(1);">
					<img src="templates/<%=CurrentTemplateName%>/images/next.gif"
      alt="下一条" width="11" height="11" border="0" /></a></li>
			<li class="rollcenter" id="pageShow" width="30">
				1/<%=AnnouncementInfo.Length%></li>
		</ul>
	</div>
	<!--{endif}-->
	<!-- 公告部分结束 -->
	<!-- 发表按钮部分开始 -->
	<div class="notice" style="margin-bottom:2px;padding-right:5px;">
		<span>
			<ul class="menu2" onmouseover="this.className='menu1'" onmouseout="this.className='menu2'" onclick="location.href='board_addtopic.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&amp;pt=0'" title="发表一个新帖子">
				&nbsp;
				<li class="list">
					<a href="board_addtopic.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&pt=0"><img src="templates/<%=CurrentTemplateName%>/images/posts/new_post2.gif" border="0" alt="" />&nbsp;&nbsp;新的主题</a>
					<!--{if( ("1" == bs[58] && 1 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowNewVote] == "1") || (2 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowNewVote] == "1") )}-->
					<a href="board_addtopic.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&pt=1"><img src="templates/<%=CurrentTemplateName%>/images/posts/vote_post2.gif" border="0" alt="" />&nbsp;&nbsp;投票帖</a>
					<!--{endif}-->
					<!--{if( ("1" == bs[59] && 1 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowActive] == "1") || (2 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowActive] == "1") )}-->
					<a href="board_addtopic.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&pt=2"><img src="templates/<%=CurrentTemplateName%>/images/posts/play_post.gif" border="0" alt="" />&nbsp;&nbsp;活动帖</a>
					<!--{endif}-->
					<!--{if( ("1" == bs[57] && 1 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowPkPost] == "1") || (2 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowPkPost] == "1") )}-->
					<a href="board_addtopic.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&pt=6"><img src="templates/<%=CurrentTemplateName%>/images/posts/pk_post2.gif" border="0" alt="" />&nbsp;&nbsp;PK帖</a>
					<!--{endif}-->
					<!--{if( ("1" == bs[60] && 1 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowBusy] == "1") || (2 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowBusy] == "1") )}-->
					<a href="board_addtopic.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&pt=3"><img src="templates/<%=CurrentTemplateName%>/images/posts/shop_post2.gif" border="0" alt="" />&nbsp;&nbsp;交易帖</a>
					<!--{endif}-->
					<!--{if( ("1" == bs[56] && 1 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowReword] == "1") || (2 == user.UserBaseStrategy.UseStrag && user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowReword] == "1") )}-->
					<a href="board_addtopic.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&pt=4"><img src="templates/<%=CurrentTemplateName%>/images/posts/survey_post2.gif" border="0" alt="" />&nbsp;&nbsp;悬赏帖</a>
					<!--{endif}-->
				</li>
				<div style="clear:both"></div>
			</ul>
		</span>
		<b>版主：</b><!--{if(BoardMaster != null && BoardMaster != "")}--><%=BoardMaster%><!--{else}-->  目前还没有版主<!--{endif}-->
	</div>
	<!-- 发表按钮部分结束 -->
</div>
<div style="clear:both"></div>
<div class="mainbox">
	<div style="float:right;padding-bottom:5px;"><!--#include file="_temppager.htm"--></div>
</div>
<div style="clear:both"></div>
<!-- 主题列表开始 -->
<table class="mainbox tableborder" cellspacing="0" cellpadding="0" ID="Table3" style="margin-top:0px; "
	border="0">
	<form id="admin" method="post">
		<input type="hidden" name="event" id="event" value="" />
		<tr>
			<th>
				状态</th>
			<th>
				主题</th>
			<th>
				作者</th>
			<th>
				回复 | 人气</th>
			<th>
				最后更新</th>
		</tr>
		<tr>
			<td colspan="5" class="thematic">
				<!--{if(!Recent)}-->
				<a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId%>">全部</a>&nbsp;|&nbsp;
				<a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=0"%>">普通</a>&nbsp;|&nbsp;
				<a class="fon5" href="board.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&filter=classical">
					精华</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=1"%>">
					投票</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=2"%>">
					活动</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=3"%>">
					交易</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=4"%>">
					悬赏</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=6"%>">
					PK贴</a> 
				<!--{else}-->
				<a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId%>">全部</a>&nbsp;|&nbsp;
				<a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=0&recent=true&recentday="+RecentDay.ToString()%>">
					普通</a>&nbsp;|&nbsp; <a class="fon5" href="board.aspx?boardid=<%=BoardStatus.BoardId.ToString()%>&filter=classical&recent=true&recentday=<%=RecentDay.ToString()%>">
					精华</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=1&recent=true&recentday="+RecentDay.ToString()%>">
					投票</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=2&recent=true&recentday="+RecentDay.ToString()%>">
					活动</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=3&recent=true&recentday="+RecentDay.ToString()%>">
					交易</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=4&recent=true&recentday="+RecentDay.ToString()%>">
					悬赏</a>&nbsp;|&nbsp; <a class="fon5" href="<%="board.aspx?boardid=" + BoardStatus.BoardId + "&pt=6&recent=true&recentday="+RecentDay.ToString()%>">
					PK贴</a> 
				<!--{endif}-->
			</td>
		</tr>
		<!-- 置顶主题列表开始 -->
		<!-- {if (null != TopTopicList && TopTopicList.Length > 0)} -->
		<!--{foreach (Topic topic in TopTopicList)} -->
		<tr onmouseover="this.className='tableboxon'" onmouseout="this.className='tableboxonout'">
			<td class="list1">
				<a href="<%=Rewrite("topic.aspx?topicid=" + topic.Id.ToString(), "topic-"+ topic.Id.ToString() + Extension, "topic/t" + topic.Id.ToString())%>" target="_blank"><img src="templates/<%=CurrentTemplateName%>/images/<%=(topic.IsTopAll) ? "ztop.gif" : "top.gif"%>" border="0" alt="<%=(topic.IsTopAll) ? "总置顶主题" : "置顶主题"%>"/></a>
			</td>
			<td class="list2">
				<!--{if (  ismanage  )}-->
				<input type="checkbox" name="chkbox" value="<%=topic.Id.ToString()%>" class="checkbox" ID="Checkbox1"/>
				<!-- {endif} -->
				<%=(topic.AttachType.Length > 0) ? "<img src=\"templates/" + CurrentTemplateName +"/images/posts/" + topic.AttachType.ToString() +"\" border=\"0\" />" : ""%>
				<a href="<%=Rewrite("topic.aspx?topicid=" + topic.Id.ToString(), "topic-"+ topic.Id.ToString() + Extension, "topic/t" + topic.Id.ToString())%>" <%=GetTitleColor(topic.TitleColor.ToString())%>>
					<%=LeftTitle(topic.Title.ToString(),TitleSize)%>
				</a>&nbsp;&nbsp;&nbsp;&nbsp;<%=topic.PagesIndex(PageSizeOfReplies,CurrentTemplateName)%>
			</td>
			<td class="list3"><a href="user_info.aspx?userid=<%=topic.PostUserId.ToString()%>"><%=topic.PostUserName.ToString()%></a><br />
				<a  class="font10">
					<%=topic.DateAndTime.ToString("d")%>
				</a>
			</td>
			<td class="list4 font10"><span><%=topic.ReplyNum.ToString() +"</span> / " + topic.Hits.ToString()%></td>
			<td class="list5">
				<!--{if(String.Empty!=topic.LastReplyUserName.ToString())}-->
				<a class="font10">
					<%=(System.DateTime.Parse(topic.LastPostTime.ToString()).ToString("G"))%>
				</a>
				<br />
				<a href="user_info.aspx?name=<%=Server.UrlEncode(topic.LastReplyUserName.ToString())%>">
					<%=topic.LastReplyUserName.ToString()%>
				</a>
				<!--{else}-->
				暂无更新 
				<!--{endif}-->
			</td>
		</tr>
		<!-- {endforeach} -->
		<tr>
			<td colspan="5" id="topline">-=普通主题=-</td>
		</tr>
		<!-- {endif} -->
		<!-- 置顶主题列表结束 -->
		<!-- 普通主题列表开始 -->
		<!-- {if (null != TopicList && TopicList.Length > 0)} -->
		<!--{foreach (Topic topic in TopicList)} -->
		<tr onmouseover="this.className='tableboxon'" onmouseout="this.className='tableboxonout'">
			<td class="list1"><a href="<%=Rewrite("topic.aspx?topicid=" + topic.Id.ToString(), "topic-"+ topic.Id.ToString() + Extension, "topic/t" + topic.Id.ToString())%>" target="_blank"><%=GetTopicIcon(topic)%></a></td>
			<td class="list2">
				<!--{if(1==topic.TopicType)}-->
				<span style="float:right;">
				  <!--{if(topic.Ext_info[0]=="0")}-->目前还没有人参与<!--{else}-->共有<font class="fon3">
						<%=topic.Ext_info[0]%>
					</font>人参与<!--{endif}-->,
				   <!--{if(topic.Ext_info[2]=="0")}-->永不过期<!--{else}-->
				     <!--<%
				      System.DateTime mAddTime=System.DateTime.Parse(topic.Ext_info[1]);
				      int leftdays=mAddTime.Date.Subtract(System.DateTime.Today).Days+Int32.Parse(topic.Ext_info[2]);
				      %>-->				    
				      <!--{if(leftdays<=0)}-->已经过期<!--{else}-->还有<font class="fon3">
						<%=leftdays.ToString()%>
					</font>天过期<!--{endif}-->
				   <!--{endif}-->
				</span>
				<!--{else if(4==topic.TopicType)}--><span alt="悬赏<%=topic.Repostmoney.ToString()%>金钱" title="悬赏<%=topic.Repostmoney.ToString()%>金钱"><!--{if("-1"==topic.Ext_info[0])}-->悬赏结束<!--{endif}--><img src="templates/<%=CurrentTemplateName%>/images/posts/money.gif"><font class="fon3"><b><%=topic.Repostmoney.ToString()%></b></font></span>
				<!--{else if(6==topic.TopicType)}-->
				<!--{if("-1"==topic.Ext_info[0])}-->
				<span style="float:right;">
					PK结束，
					<!--{if("1"==topic.Ext_info[1])}-->
					正方胜
					<!--{else if("2"==topic.Ext_info[1])}-->
					反方胜
					<!--{else if("3"==topic.Ext_info[1])}-->
					双方中立
					<!--{endif}-->
					</span>
				<!--{endif}-->
				<!--{endif}-->
				<!--{if (  ismanage  )}-->
				<input type="checkbox" name="chkbox" value="<%=topic.Id.ToString()%>" class="checkbox" ID="Checkbox2"/>
				<!--{endif}-->
				<%=(topic.AttachType.Length > 0) ? "<img src=\"templates/" + CurrentTemplateName +"/images/posts/" + topic.AttachType.ToString() +"\" border=\"0\" />" : ""%>
				<a href="<%=Rewrite("topic.aspx?topicid=" + topic.Id.ToString(), "topic-"+ topic.Id.ToString() + Extension, "topic/t" + topic.Id.ToString())%>" <%=GetTitleColor(topic.TitleColor.ToString())%> >
					<%=LeftTitle(topic.Title.ToString(),TitleSize)%>
				</a>&nbsp;&nbsp;&nbsp;&nbsp;<%=topic.PagesIndex(PageSizeOfReplies,CurrentTemplateName)%>
				<!--<%
					System.TimeSpan ts_1 = LastVisitTime - topic.LastPostTime;
					System.TimeSpan ts_2 = LastVisitTime - topic.LastPostTime;
				%>-->
				<!--{if (null == base.GetBoardSet(uint.Parse(Get("boardid"))))}-->
				<!--{if (LastVisitTime < topic.LastPostTime)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/posts/topic_isnew.gif" alt="" border="0" />
				<!--{endif}-->
				<!--{endif}-->
				<!--{if (null != base.GetBoardSet(uint.Parse(Get("boardid"))))}-->
				<!-- 回复时间 -->
				<!--{if ("0" == base.GetBoardSet(uint.Parse(Get("boardid")))[45])}-->
				<!--{if ( int.Parse(base.GetBoardSet(uint.Parse(Get("boardid")))[46]) + ts_1.TotalMinutes <= 0 )}-->
				<img src="<%=base.GetBoardSet(uint.Parse(Get("boardid")))[47]==string.Empty||base.GetBoardSet(uint.Parse(Get("boardid")))[47]=="0"?"":base.GetBoardSet(uint.Parse(Get("boardid")))[47]%>" alt="" border="0" />
				<!--{endif}-->
				<!--{else if ("1" == base.GetBoardSet(uint.Parse(Get("boardid")))[45])}-->
				<!-- 发帖时间 -->
				<!--{if ( int.Parse(base.GetBoardSet(uint.Parse(Get("boardid")))[46]) + ts_2.TotalMinutes <= 0   )}-->
				<img src="<%=base.GetBoardSet(uint.Parse(Get("boardid")))[47]==string.Empty||base.GetBoardSet(uint.Parse(Get("boardid")))[47]=="0"?"":base.GetBoardSet(uint.Parse(Get("boardid")))[47]%>" alt="" border="0" />
				<!--{endif}-->
				<!--{endif}-->
				<!--{endif}-->
			</td>
			<td class="list3"><a href="user_info.aspx?userid=<%=topic.PostUserId.ToString()%>"><%=topic.PostUserName.ToString()%></a><br />
				<a  class="font10">
					<%=topic.DateAndTime.ToString("d")%>
				</a>
			</td>
			<td class="list4 font10"><span><%=topic.ReplyNum.ToString() +"</span> / " + topic.Hits.ToString()%></td>
			<td class="list5">
				<!--{if(String.Empty!=topic.LastReplyUserName.ToString())}-->
				<a  class="font10">
					<%=(System.DateTime.Parse(topic.LastPostTime.ToString()).ToString("G"))%>
				</a>
				<br />
				<a href="user_info.aspx?name=<%=Server.UrlEncode(topic.LastReplyUserName.ToString())%>">
					<%=topic.LastReplyUserName.ToString()%>
				</a>
				<!--{else}-->
				暂无更新 
				<!--{endif}-->
			</td>
		</tr>
		<!-- {endforeach} -->
		<!-- {endif} -->
		<!-- 普通主题列表结束 -->
	</form>
</table>
<!-- 主题列表结束 -->
<div class="mainbox notice">
	<div style="float:left;">
		<!--{if (  ismanage  )}-->
		<select id="operate" onmousewheel="return false" enableViewState="false" decoration1="color:red" decoration2="color:green" decoration3="color:blue" decoration4="color:#ff6600" decoration5="color:red;font-weight:bold" decoration6="color:green;font-weight:bold" decoration7="color:blue;font-weight:bold" decoration8="color:#ff6600;font-weight:bold" decoration9="color:gray" onchange="adminOperate(this,'<%=Config.Settings["bbsurl"].ToString()%>', <%=Fetch.Get("boardid")%>)" name="operate">
			<option value="" selected="true">管理选中的主题</option>
			<option value="">-------------------</option>
			<!--{if("1" == bs[62] && user.GetUserLimitValue((int)PopStrategyEnum.AllowDecorateTitle) == "1" )}-->
			<option value="signed">鉴定</option>
			<!--{endif}-->
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowMask) == "1" )}-->
			<option value="mask">屏蔽</option>
			<!--{endif}-->
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowDisMask) == "1" )}-->
			<option value="dismask">解除屏蔽</option>
			<!--{endif}-->
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowMoveTopic) == "1" )}-->
			<option value="move">转移</option>
			<!--{endif}-->
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowDeleteTopic) == "1" )}-->
			<option value="delete">删除</option>
			<!--{endif}-->
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowCommand) == "1" )}-->
			<option value="recommend">推荐帖子</option>
			<!--{endif}-->
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowDeleteTopic) == "1" )}-->
			<option value="lock">锁定</option>
			<!--{endif}-->			
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowTopTopic) == "1" )}-->
			<option value="top">置顶</option>
			<!--{endif}-->		
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowTopAll) == "1" )}-->
			<option value="topall">总置顶</option>
			<!--{endif}-->		
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowElite) == "1" )}-->
			<option value="classical">设为精华</option>
			<!--{endif}-->	
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowPostDown) == "1" )}-->
			<option value="go_down">沉底</option>
			<!--{endif}-->	
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowUpPost) == "1" )}-->
			<option value="go_up">提升</option>
			<!--{endif}-->	
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowCancelLock) == "1" )}-->
			<option value="nolock">解锁</option>
			<!--{endif}-->	
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowCancelTop) == "1" )}-->
			<option value="notop">取消置顶</option>
			<!--{endif}-->	
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowCanceTopAll) == "1" )}-->
			<option value="notopall">取消总置顶</option>
			<!--{endif}-->			
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowCancelElite) == "1" )}-->
			<option value="noclassical">取消精华</option>
			<!--{endif}-->		
			<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowResetTitle) == "1" )}-->
			<option value="decoration0">标题 取消所有修饰</option>
			<option value="decoration1" style="color:red">标题 = 红色</option>
			<option value="decoration2" style="color:green">标题 = 绿色</option>
			<option value="decoration3" style="color:blue">标题 = 蓝色</option>
			<option value="decoration4" style="color:#ff6600">标题 = 橙色</option>
			<option value="decoration5" style="color:red">标题 = 红色 + 粗</option>
			<option value="decoration6" style="color:green">标题 = 绿色 + 粗</option>
			<option value="decoration7" style="color:blue">标题 = 蓝色 + 粗</option>
			<option value="decoration8" style="color:#ff6600">标题 = 橙色 + 粗</option>
			<option value="decoration9" style="color:#666666">标题 = 灰色</option>
			<!--{endif}-->		
		</select>
		<!--{endif}-->
		<select id="boardid" name="boardid" onmousewheel="return false" onchange="boardJump(this,'<%=Config.Settings["bbsurl"].ToString()%>')">
			<option value="-1" selected="selected">论坛快速跳转...</option>
			<!--#include file="_board_jump_list.html"-->
		</select>
		<script language="javascript">
		function RecentTopic(bid,obj,url)
		{
			var selectedValue = obj.options[obj.selectedIndex].value;
			if (selectedValue.indexOf(',') != -1 || selectedValue == 0)
			{
				obj.options[0].selected = true;
				location.href = url + 'board.aspx?boardid=' + bid;
				return;
			}
			location.href = url + 'board.aspx?recent=true&boardid=' + bid + '&recentday=' + selectedValue;
		}
		</script>
		<select id="recentday" name="recentday" onmousewheel="return false" onchange="RecentTopic(<%=BoardStatus.BoardId%>, this,'<%=Config.Settings["bbsurl"].ToString()%>')">
			<option value="0" <%=Get("recentday")==null?"selected":""%>>全部主题</option>
			<option value="1" <%=Get("recentday")=="1"?"selected":""%>>1 天内主题</option>
			<option value="2" <%=Get("recentday")=="2"?"selected":""%>>2 天内主题</option>
			<option value="7" <%=Get("recentday")=="7"?"selected":""%>>1 周内主题</option>
			<option value="30" <%=Get("recentday")=="30"?"selected":""%>>1 个月内主题</option>
			<option value="90" <%=Get("recentday")=="90"?"selected":""%>>3 个月内主题</option>
			<option value="180" <%=Get("recentday")=="180"?"selected":""%>>6 个月内主题</option>
			<option value="365" <%=Get("recentday")=="365"?"selected":""%>>1 年内主题</option>
		</select>
	</div>
	<div style="float:right;">
		<!--#include file="_temppager.htm"-->
	</div>
</div>
<div style="clear:both"></div>
<!---------------底部友情链接部分------------------->
<div class="mainbox" >
	<div id="Tab2">
		<div class="Menubox">
			<ul>
				<li id="three1" onclick="setTab('three',1,2)" class="hover">
					帖子图例说明</li>
				<li id="three2" onclick="setTab('three',2,2)">
					与我同在</li>
			</ul>
		</div>
		<div class="Contentbox">
			<div id="con_three_1">
				<div class="count">
					<ul>
						<li>
							帖子图例：<img src="templates/<%=CurrentTemplateName%>/images/ztop.gif" alt="总置顶" /> 
							总置顶 <img src="templates/<%=CurrentTemplateName%>/images/top.gif" alt="版置顶" /> 版置顶
							<img src="templates/<%=CurrentTemplateName%>/images/posts/new_post.gif" alt="普通主题" />
							普通主题 <img src="templates/<%=CurrentTemplateName%>/images/posts/hotfolder.gif" alt="热门主题" />
							热门主题 <img src="templates/<%=CurrentTemplateName%>/images/posts/isbest.gif" alt="精华帖" />
							精华帖 <img src="templates/<%=CurrentTemplateName%>/images/posts/vote_post.gif" alt="投票帖" />
							投票帖
						</li>
					</ul>
				</div>
			</div>
			<div id="con_three_2" style="display:none">
				<div class="online3u" id="OnlineListContainer" name="OnlineListContainer"></div>
				<iframe style="border: 0px; width: 0px; height: 0px; overflow: hidden;" src="boardulist.aspx?boardid=<%=Fetch.Get("boardid")%>&TopicNum=<%=BoardStatus.TopicNum.ToString()%>&PostNum=<%=BoardStatus.PostNum.ToString()%>&TodayNum=<%=BoardStatus.TodayNum.ToString()%>" name="ListIframe" id="ListIframe">
				</iframe><div style="clear:both"></div><br />
			</div>
		</div>
	</div>
</div>
<!---------------end 底部友情链接部分------------------->
<!--浮动广告部分-->
<!-- {if (null != AdsSetting && AdsSetting.IsEnableFloat)} -->
<!--{if(AdsSetting.TimeFloat)}-->
<script language="JavaScript" type="text/javascript">
				<!--				
				move_ad('<%=AdsSetting.PicUrlFloat%>','<%=AdsSetting.PicLinkFloat%>','<%=AdsSetting.PicWidthFloat%>','<%=AdsSetting.PicHeightFloat%>');
				//-->
</script>
<!--{endif}-->
<!-- {endif} -->
<!--end 浮动广告-->
<!--固定广告-->
<!-- {if (null != AdsSetting && AdsSetting.IsEnableFix)} -->
<!--{if(AdsSetting.TimeFix)}-->
<script language="JavaScript" type="text/javascript">
				<!--
				fix_up_ad('<%=AdsSetting.PicUrlFix%>','<%=AdsSetting.PicWidthFix%>','<%=AdsSetting.PicHeightFix%>','<%=AdsSetting.PicLinkFix%>');
				//-->
</script>
<!--{endif}-->
<!-- {endif} -->
<!--end固定广告-->
<!--#include file="_footer.html"-->