<!--<?php
print <<<EOT
-->
				<div class="c"></div>
<!--#
if(!empty($notice_A)){
$noticedb = '';
foreach($notice_A as $value){
$noticedb .= "<li><a href=\"$value[url]\">$value[subject]</a> <span class=\"f9 gray\">$value[startdate]</span></li>";
}
#-->
<div class="readtop">
	<span class="fl">公告： </span>
	<div id="notice" style="overflow: hidden;">
		<div id="notice0" style="width:96%;_width:95%;height:35px;line-height:35px;overflow-y: hidden;"><ul>$noticedb</ul>
		</div>
	</div>
	<div class="c"></div>
</div>
<div class="c"></div>
<script language="javascript">
function bbsNoticeLoad() {
	bbsNoticeF = getObj('notice');
	bbsNoticeC = getObj('notice0');
	bbsNoticeF.scrollTop = bbsNoticeC.scrollTop = 0;
	bbsNoticeO = setTimeout('bbsNoticePlay()',4000);
	bbsNoticeF.onmouseover = new Function("if(bbsNoticeO && bbsNoticeH){clearTimeout(bbsNoticeO);bbsNoticeO=0;}");
	bbsNoticeF.onmouseout  = new Function("if(!bbsNoticeO){bbsNoticeO = setTimeout('bbsNoticePlay()',4000);bbsNoticeH=true;}");
}
function bbsNoticePlay() {
	if (bbsNoticeC.scrollHeight <= 35) {
		bbsNoticeO = setTimeout('bbsNoticePlay()',4000);
		bbsNoticeF.scrollTop = bbsNoticeC.scrollTop = 0;
		bbsNoticeH = true;
		return ;
	}
	if (bbsNoticeH) {
		bbsNoticeF.scrollTop = 35;
		if (bbsNoticeC.scrollHeight-37 <= bbsNoticeC.scrollTop) {
			bbsNoticeC.scrollTop = 0;
		} else {
			bbsNoticeC.scrollTop += 37;
		}
		bbsNoticeH = false;
		bbsNoticeO = setTimeout('bbsNoticePlay()',500);
	} else {
		bbsNoticeF.scrollTop = 0;
		bbsNoticeH = true;
		bbsNoticeO = setTimeout('bbsNoticePlay()',4000);
	}
}
var bbsNoticeF = bbsNoticeC = null;
var bbsNoticeH = true;
var bbsNoticeO = 0;
bbsNoticeLoad();
</script>
<!--#}else{#-->
<div class="readtop">
	<span class="fl">公告： </span>
	<div id="notice" style="overflow:hidden;">
		<div id="notice0" style="width:95%;height:35px;line-height:35px;overflow-y: hidden;">最近没有论坛公告
		</div>
	</div>
<div class="c"></div>
</div>
<div class="c"></div>
<!--#}#-->
<!--ads begin-->
<!--#
if($advertdb['text']){
#-->
<div class="c"></div>
<div class="t5" style="padding:.5em 0;">
	<table width="100%" cellspacing="0" cellpadding="0">
<!--#
$id=0;
$idp = 100/$db_txtadnum;
foreach($advertdb['text'] as $value){
if($id==0){
#-->
		<tr class="tr1">
<!--#
}
$id++;
#-->
			<td class="tac" width="$idp%">$value[code]</td>
<!--#
if($id==$db_txtadnum){
$id=0;
#-->
		</tr>
<!--#
}}if($id && $id<$db_txtadnum){
for($i=$id;$i<$db_txtadnum;$i++){
#-->
		<td width="$idp%"><br /></td>
<!--#}#-->
		</tr>
<!--#}#-->
	</table>
</div>
<!--#}else{#-->

<!--#}#-->
				<div id="content-index" class="contentA fl">
<div class="w350 fl">
<!--flash-->
<style>
.pwSlide {background:#fff;position:relative;width:348px;height:233px;overflow:hidden;border:1px solid #B6CAE3;text-align:left}
.pwSlide a:hover{text-decoration:none;}
.pwSlide .bg {position:absolute;left:0;bottom:0;width:348px;height:30px;background:#000000;filter:alpha(opacity=39);-moz-opacity:0.39;opacity:0.39;}
.pwSlide h3 {position:absolute;left:10px;top:200px;width:340px;height:35px;line-height:35px;z-index:2;color:#FFFFFF;}
.pwSlide ul {z-index:2;position:absolute;right:5px;bottom:5px;_bottom:2px;}
.pwSlide ul li {float:left;width:18px;height:13px;line-height:15px;text-align:center;margin-left:1px;background: url($imgpath/focus1.gif) no-repeat;}
.pwSlide ul li a {display:block;width:18px;height:13px;font-size:10px;font-family:Tahoma;color:#FFFFFF;}
.pwSlide ul li a:hover, .pwSlide ul li a.sel {color:#fff;text-decoration:none;background: url($imgpath/focus2.gif) no-repeat;}
</style>

<div id="pwSlidePlayer" class="pwSlide" onmouseover="pwSlidePlayer('pause');" onmouseout="pwSlidePlayer('goon');">
<pw id="index_flash" name="首页flash" stamp="push" num="7"/>
<loop>
<!--#$tmpCount++;#-->
<div id="Switch_$key" style="display:none">
	<a href="{url}"><img src="{image,348,233}" title="{title}" />
	<h3 class="fn f12">{title,40}</h3></a>
</div>
</loop>
<!--#
if(empty($tmpCount)){
$tmpCount = 1;
#-->
<div id="Switch_0">
	<img src="$pwModeImg/flash-no.gif" />
	<h3 class="fn f12">赶紧去帖子页里使用推送功能</h3>
</div>
<!--#}#-->
<ul id="SwitchNav"></ul>
<div class="bg"></div></div>
<div class="c"></div>
<script type="text/javascript" src="js/picplayer.js"></script>
<script language="JavaScript">pwSlidePlayer('play',1,$tmpCount);</script>
<!--flash结束-->
<div class="box2 mtop">
<h2 class="s0">{degist_index}</h2>
<ul class="list f14" style="height:250px;">
<pw id="degist_index" name="社区精华" stamp="subject" />
<loop>
<li><span class="s5 f12">{postdate,m-d}</span><a href="{url}" title="{title}" target="_blank">{title}</a></li>
</loop>
</ul>
</div>
<div class="c"></div>
</div>
<!--布局层-->
<div class="box1">
<div class="box1-hot">
<div class="box1-hot-top">{index_push}
</div>
<div class="fr">
<div class="c" style="width:200px;"></div>
<pw name="社区焦点" stamp="push" id="index_push" num="3" />
<loop>
<h2><a href="{url}" target="_blank">{title}</a></h2>
<div class="text">{value}</div>
</loop>
</div>
</div>
<h3>{hot_redian}</h3>
<ul style="height:250px;_height:252px;">
<pw id="hot_redian" name="社区热点" stamp="subject" />
<loop>
<li><span><a href="u.php?uid={authorid}">{author}</a></span><a href="thread.php?fid={fid}">[{$forum[{fid}][name]}]</a> <a href="{url}" title="{title,60}" target="_blank">{title}</a> </li>
</loop>
</ul>
</div>
<!--滚动图片 start-->
<div class="c"></div>
<div class="rollphotos">
<div class="FixTitle">

<div class="blk_29">
<div class="LeftBotton" id="RightArr"></div>
<div class="Cont" id="ISL_Cont_1">
<pw id="newimage" name="社区图展" stamp="image" num="6" />
<loop>
<div class="box"><a href="{url}" title="{title}" target="_blank"><img height="84" src="{image,100,84}" width="100" /></a>
<P><a href="{url}" title="{title}" target="_blank">{title,10}</a></P></div>
</loop>

</div>
<div class="RightBotton" id="LeftArr"></div></div>
<script src="mode/area/images/ScrollPic.js" language="javascript"></script>
<SCRIPT language=javascript type=text/javascript>

		var scrollPic_02 = new ScrollPic();
		scrollPic_02.scrollContId   = "ISL_Cont_1";
		scrollPic_02.arrLeftId      = "LeftArr";
		scrollPic_02.arrRightId     = "RightArr";

		scrollPic_02.frameWidth     = 680;
		scrollPic_02.pageWidth      = 135;

		scrollPic_02.speed          = 10;
		scrollPic_02.space          = 10;

		scrollPic_02.initialize();

</SCRIPT>
</div></div>

					<div class="c"></div>
					<div class="box3">
						<h2 class="s0">
							<span class="fr fn gray3">
<!--
EOT;
if($db_todaypost){print <<<EOT
-->
							今日:$tposts | 昨日:$yposts |
<!--
EOT;
}print <<<EOT
-->
							最高日:$hposts | 主题:$topics | 帖子:$article | 会员:$totalmember | 新会员:<a href="u.php?action=show&username=$rawnewuser" target="_blank">$newmember</a></span>
						社区地图</h2>
						<div class="c"></div>
						<div class="cc">
<!--#
$a=0;
foreach($catedbs as $k=>$cate){
if($forumdb[$k]){
if($a==0){
$_tmpStyle = $_tmpStyle=='forum-map' ? 'forum-map bgC' : 'forum-map';
#-->
							<div class="$_tmpStyle">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
<!--#}#-->
										<td><dl>
												<dt><a class="big b" href="cate.php?cateid=$k">$cate</a><span class="s2 f12" style="margin-left:5px">今天{$pwTPost[$k]}帖</span></dt>
<!--#
$i=0;
foreach($forumdb[$k] as $forums){
if($i>=4)break;
#-->
												<dd><a href="thread.php?fid=$forums[fid]" id="fn_$forums[fid]">$forums[name]</a>
<!--#
if($db_todaypost){
#-->
													<span style="margin-left:5px">($forums[tpost])</span>
<!--#}#-->
												</dd>
<!--#
$i++;
}
#-->
											</dl>
											<div class="c"></div>
<!--#if($i>=4){#-->
											<div class="fr" style="margin:0 1.5em;"><a href="cate.php?cateid=$k"><span class="s5">&raquo; 更多</span></a></div>
<!--#}#-->
										</td>
<!--#
$a++;
if($a==2){
$a=0;
#-->
									</tr>
								</table>
							</div>
<!--#}#-->
<!--#
}}if($a){
#-->
				<td><dl><dt></dt><dd></dd></dl></td></tr>
								</table>
							</div>
<!--#}#-->
						</div>
					</div>


<!--#
if($db_indexlink==1){
#-->
					<div class="box3">
						<div class="cc">
							<h2 class="s0">
<!--#
if($db_ifselfshare && $groupid!='guest'){
#-->
								<div class="fr fn">
									<a id="selfshare" style="cursor:pointer;" onclick="sendmsg('pw_ajax.php','action=sharelink',this.id)">自助友情链接</a>
								</div>
<!--#}#-->
							友情链接
							</h2>
							<div class="pd8 gray2" style="word-break: keep-all;">
<!--#
foreach($sharelink[0] as $share){
#-->
			$share
			<div style="margin:5px 0;border-top:1px dashed #CCCCCC;"></div>
<!--#}#-->
							$sharelink[1]
							</div>
							<div class="c"></div>
						</div>
						<div style="margin:0 10px;;border-top:1px dashed #CCCCCC;"></div>
						<h2 style="border-bottom:0px;background-color:#fff;"><span class="s2">在线用户</span><a name="online"></a> <span class="fn">- 共 $usertotal 人在线,$userinbbs 位会员,$guestinbbs 位访客,最多 $higholnum 人发生在 $mostinbbstime</span></h2>
					</div>
<!--#}#-->

					<div class="c"></div>
				</div>
				<div id="sidebar-index" class="sidebarA fr">
					<!--布局层-->
					<div id="hot" class="bdA boxA">
						<h4 class="bgD pr"><span class="pr">版块榜单</span>
							<div class="tabA" id="sortforum">
								<span class="active" id="forum_tpost" onmouseover="showTabs('sortforum','forum_tpost','span','active')"><a href="javascript:void(0)">{forumtoday}</a></span>
								<span id="forum_topic" onmouseover="showTabs('sortforum','forum_topic','span','active')"><a href="javascript:void(0)">{forumarticle}</a></span>
							</div>
						</h4>
						<div class="listTable">
							<table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;border-collapse:collapse;">
								<tbody id="info_forum_tpost">
								<pw id="forumtoday" name="今日" stamp="forum" />
									<loop>
										<tr>
											<td class="forum-name"><div><a href="{url}">{title}</a></div></td>
											<td class="forum-count">{value}</td>
										</tr>
									</loop>
								</tbody>
								<tbody id="info_forum_topic" style="display:none">
									<pw id="forumarticle" name="版块排行" stamp="forum" />
									<loop>
										<tr>
											<td class="forum-name"><div><a href="{url}">{title}</a></div></td>
											<td class="forum-count">{value}</td>
										</tr>
									</loop>
								</tbody>
							</table>
						</div>
						<div class="c"></div>
					</div>
				<div class="bdA boxA">
						<h4 class="bgD pr"><span class="pr">会员榜单</span>
							<div class="tabA" id="sortmember">
								<span class="active" id="member_todaypost" onmouseover="showTabs('sortmember','member_todaypost','span','active')"><a href="javascript:void(0)">{user_todaypost}</a></span>
								<span id="member_monthpost" onmouseover="showTabs('sortmember','member_monthpost','span','active')"><a href="javascript:void(0)">{user_monthpost}</a></span>
							</div>
						</h4>
							<div class="hot-g cc" id="info_member_todaypost">
								<pw id="user_todaypost" name="今日" stamp="user" num="5" />
								<loop>
									<dl>
									<dd class="l1"><img src="{image}" width="40" height="40" align="absmiddle" /></dd>
									<dt class="r1"><a href="{url}" class="big">{title}</a></dt>
									<dd class="r1">数量：&nbsp;{value}</dd>
									<dd class="c"></dd>
									</dl>
								</loop>
							</div>
							<div class="hot-g cc" id="info_member_monthpost" style="display:none">
								<pw id="user_monthpost" name="本月" stamp="user" num="5" />
								<loop>
									<dl>
									<dd class="l1"><img src="{image}" width="40" height="40" align="absmiddle" /></dd>
									<dt class="r1"><a href="{url}" class="big">{title}</a></dt>
									<dd class="r1">数量：&nbsp;<span class="colorA">{value}</span></dd>
									<dd class="c"></dd>
									</dl>
								</loop>
							</div>
						<div class="c"></div>
					</div>

					<div id="hot-live" class="bdA boxA">
						<h4 class="bgD pr"><span class="pr">活动榜单</span>
							<div class="tabA"><span class="active"><a href="javascript:void(0)">{active_day}</a></span></div>
						</h4>
						<div class="c"></div>
						<div class="hot-g cc" style="line-height:18px;padding-top:0;">
							<pw id="active_day" name="今日" stamp="active" num="3" />
							<loop>
								<dl style="padding:0 .5em .5em .5em;">
								<dd><a href="{url}" target="_blank">{title}</a></dd>
								<dd>参加人数：&nbsp;{num}
									<span class="nw">费用：&nbsp;{costs}</span></dd>
								<dd>活动地点：&nbsp;{location}</dd>
							</dl>
							</loop>
						</div>
					</div>

					<div id="tags" class="bdA boxA">
						<!--样式层-->
						<h4 class="bgD pr"><span class="pr"><a href="job.php?action=taglist">标签/Tags</a></span>
							<div class="tabA" id="sorttag">
							<span class="active" id="forum_hottag" onmouseover="showTabs('sorttag','forum_hottag','span','active')"><a href="javascript:void(0)">{taghot}</a></span>
							<span id="forum_newtag" onmouseover="showTabs('sorttag','forum_newtag','span','active')"><a href="javascript:void(0)">{tagnew}</a></span></div>
						</h4>

						<div class="pd8 tags-list cc small" id="info_forum_hottag">
							<pw id="taghot" name="热门" stamp="tag" num="20" />
							<loop>
								<span><a href="{url}">{title}</a> ({value})</span>
							</loop>
						</div>

						<div class="pd8 tags-list cc small" id="info_forum_newtag" style="display:none">
							<pw id="tagnew" name="最新" stamp="tag" num="20" />
							<loop>
								<span><a href="{url}">{title}</a> ({value})</span>
							</loop>

						</div>
					</div>
				</div>
<script type="text/javascript">
function showTabs(id,select,element,css){
	var o = getObj(id);
	var t = o.getElementsByTagName(element);
	for (var i=0;i<t.length;i++) {
		if (t[i].id) {
			var oo = getObj(t[i].id);
			if (t[i].id == select) {
				getObj(t[i].id).className = css;
				getObj('info_'+t[i].id).style.display = '';
			} else {
				getObj(t[i].id).className = '';
				getObj('info_'+t[i].id).style.display = 'none';
			}
		}
	}
	return false;
}
</script>
<!--
EOT;
$head_pop && require PrintEot($head_pop);
?>-->