{#include file="header.html"#}

<div id="container">
<!-- 工具栏 -->
<div id="counttool">
	<p id="countinfo">{#$tran_sitestat.membernum#}位用户，发布了{#$tran_sitestat.artnum#}篇文章，产生了{#$tran_sitestat.comnum#}条评论！欢迎新会员：{#$tran_sitestat.newmember#}</p>
	<p id="tool">
	<a href="{#$PB_ENV.PB_URL#}post.php?cid={#$cid#}"><img src="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/images/post_bg.gif" alt="{#$uimsg.post_thread#}" /></a></p>
</div>
<div class="clear5">&nbsp;</div>

<!-- 左内容-->
<div id="pbleft">
	<!-- 头部 -->
	<div id="indexhot">
		<div class="indexhot_1">
			<script src="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/js/flashobject.js" type=text/javascript></script>
			<div id="flashcontent">
				<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" 
				height="0" width="0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
					<param name="quality" value="high" />
					<param name="movie" value="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/flash/focus.swf" />
					<embed src="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/flash/focus.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="0" height="0"></embed>
				</object>
			</div>
			<script type=text/javascript>
				var fo = new FlashObject("{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/flash/focus.swf", "focus", "290", "230", "7", "#336699");
				fo.addParam("quality", "high");
				fo.addParam("menu","false");
				fo.addParam("wmode", "transparent");
				{#$commendarticle#}
				fo.write("flashcontent");
			</script>
		</div>
		<div class="indexhot_2">
			{#$firstarticle#}
			<ul>
			{#$tpl_daf657bf#}
			</ul>
		</div>
		<!-- 头部 bannar -->
  		<div class="clear"></div>
	</div>
	<!-- 头部 end -->
        <div class="c_list">
			<h2>精彩图文志</h2>
			<ul>
			{#$tpl_fe8f01a6#}
			</ul>
		<div class="clear"></div></div>   
    <div class="dtop_1">
    	<div class="top_article" id="top_article">
	<ul>
	{#$toparticle#}
    </ul>
    </div>
	</div>
	<div id="leftcontainer">
		<!-- 排序 -->
		<div class="lefttop">
			<h3><span class="tool"><strong>{#$uimsg.postdate#}</strong></span> <a href="index.php?viewday=365" class="tool">365 {#$uimsg.zday#}</a> <a href="index.php?viewday=30" class="tool">30 {#$uimsg.zday#}</a> <a href="index.php?viewday=7" class="tool">7 {#$uimsg.zday#}</a> <a href="index.php?viewday=1" class="tool">最近24小时</a></h3>
			<h2>发掘 &amp; 分享</h2>
		</div>
		<div class="clear"></div>

		<div class="clear5">&nbsp;</div>
		<!-- 文章列表 -->
		{#foreach from=$article item=item#}
		<!-- pbdigg -->
		<div class="newslist">
			<dl><img src="{#$item.avatar#}" alt="{#$item.author#}" class="small_user_avatar" /><dt class="topic"><a href="{#$item.titlelink#}"  target="_blank"><strong>{#$item.subject#}</strong></a><p class="author"><a href="user.php?uid={#$item.uid#}">{#$item.author#}</a>&nbsp;在 <span class="d">{#$item.postdate#}</span> {#$uimsg.postby#} ［<a href="category.php?cid={#$item.cid#}">{#$item.cate#}</a>］| {#$item.comments#} 条评论 | {#$item.views#} 次阅读</p></dt>
			</dl>
            
            <dl>
			<dd class="desc">
				<!--digg & bury-->
				{#if $diggbury eq "1"#}
				<div class="pb_box_r" id="digg_{#$item.tid#}">
					<div class="pb_box_rt" id="db_num_{#$item.tid#}">
						{#if $showdigg eq "1"#}<div class="pb_box_rtt" id="article_digg_{#$item.tid#}">{#$item.digg#}</div>{#/if#}
						{#if $showbury eq "1"#}<div class="pb_box_rtt2" id="article_bury_{#$item.tid#}">{#$item.bury#}</div>{#/if#}
					</div>
					<div class="pb_box_rb" id="db_do_{#$item.tid#}">
						{#if $showdigg eq "1"#}<div id="article_digg_do_{#$item.tid#}" class="pb_box_rbb">{#if $item.digged eq "1"#}<span class="digged">{#$uimsg.digg#}</span>{#elseif $allowdigg eq "1"#}<a href="javascript:void(0);" onclick="digg('{#$item.tid#}', 'article', 'digg')">{#$uimsg.digg#}</a>{#else#}<a href="login.php">{#$uimsg.digg#}</a>{#/if#}</div>{#/if#}
						{#if $showbury eq "1"#}<div id="article_bury_do_{#$item.tid#}" class="pb_box_rbb2">{#if $item.buryed eq "1"#}<span class="buryed">{#$uimsg.bury#}</span>{#elseif $allowbury eq "1"#}<a href="javascript:void(0);" onclick="digg('{#$item.tid#}', 'article', 'bury')">{#$uimsg.bury#}</a>{#else#}<a href="login.php">{#$uimsg.bury#}</a>{#/if#}</div>{#/if#}
					</div>
				</div>
				{#/if#}
				 {#$item.topicimg#}{#$item.content#}
				<span class="ddmove"> (<a href="show.php?tid={#$item.tid#}" target="_blank">详细内容>></a>)</span></dd>
			</dl>
			<dl>
				<dd class="detail"><p>来源: <a href="{#$item.contentlink#}" target="_blank">{#$item.linkhost#}</a> | 标签: {#$item.tags#}</p></dd>
			</dl>
		</div>
		<!-- pbdigg -->
		{#foreachelse#}
		<p class="nocontent">{#$uimsg.noarticle#}</p>
		{#/foreach#}
    <div class="clear5">&nbsp;</div>
	<!-- 分页链接 -->
	{#$mult_page#}
	</div>
  	<div class="clear"></div></div>

<!-- 右侧列表 -->
<div id="pbright">
	{#if $log_status != "1"#}
	<div class="list">
	<div class="list_title">网站登录</div>
	<p>
	<form action="login.php?action=login" method="post" onsubmit="javascript:if(this.UserName.value=='' || this.Password.value==''){alert('请填写用户名密码');return false;}return true;">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="195" height="30" align="left">帐&nbsp;&nbsp;户：<input name="username" type="text" class="log-inputbox" size="22" maxlength="20" /></td>
		<td width="70" rowspan="2" align="right"><input type="image" src="templates/{#$PB_ENV.PB_TEMPLATE#}/images/btn-login.gif" style="width:62px;height:44px;border:0" /></td>
	</tr>
	<tr>
		<td height="30" align="left">密&nbsp;&nbsp;码：<input name="password" type="password" class="log-inputbox" size="23" maxlength="20" /></td>
	</tr>
	{#if $pb_gdcheck.login eq "1"#}
	<tr>
		<td height="30" align="left">验证码：<input type="text" name="captcha" id="captcha" size="8" maxlength="4" />&nbsp;<img src="checkcode.php?" alt="{#$uimsg.captcha_intro#}" onclick="this.src='checkcode.php?'" style="cursor:pointer;" /></td>
	</tr>
	{#/if#}
	<tr align="left">
		<td height="15" colspan="2"><input class="checkbox" type="checkbox" name="persistent" value="1" id="persistent" title="{#$uimsg.persistent_notice#}" style="margin-left:50px"/> 记住我 <img src="templates/{#$PB_ENV.PB_TEMPLATE#}/images/register.gif" width="11" height="14" align="absmiddle" /> <a href="register.php">快速注册</a>&nbsp;<img src="templates/{#$PB_ENV.PB_TEMPLATE#}/images/forgetpw.gif" width="12" height="15" align="absmiddle" /> <a href="getpw.php" target="_blank">忘记密码</a></td>
	</tr>
	</table>
	<input type="hidden" name="verifyhash" id="verifyhash" value="{#$verifyhash#}" />
	</form>
	</p>
	</div>
	{#/if#}

	<!-- 0 -->
	{#if $announcebool eq "1"#}
	<script type=text/javascript>
			<!--
			var rollText_k={#$announcenum#}; //菜单总数
			var rollText_i=1; //菜单默认值
			//setFocus1(0);
			rollText_tt=setInterval("rollText(1)",3000);
			function rollText(a){
			clearInterval(rollText_tt);
			rollText_tt=setInterval("rollText(1)",3000);
			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="list">
		<div class="list_title">站点公告</div>
		<div class="list_content">
			<table border="0" cellspacing="0" class="rollboder">
		    <tr>
		      <td class="rollleft">
		          {#$announcements#}
		      </td>
		      <td class="rollcenter" id="pageShow">1/{#$announcenum#}</td>
		      <td class="rollright"><a title="上一条" href="javascript:rollText(-1);"><img src="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/images/last.gif" alt="上一条" width="11" height="11" border="0"></a> <a title="下一条" href="javascript:rollText(1);"><img src="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/images/next.gif" alt="下一条" width="11" height="11" border="0"></a></td>
		    </tr>
			</table>
		</div>
	</div>
	{#/if#}
	<div class="list bd-g">
		<div class="list_title bg-g">最新文章</div>
		<div class="list_content">
			<ul>
            	{#$tpl_f63d001d#}
			</ul>
		</div><div class="clear"></div>
	</div>
    	<!-- 标签-->
    <div class="list bd-r">
   		<div class="list_title bg-r"><span><a href="tag.php" target="_blank">{#$uimsg.more#}...</a></span>标签聚合</div>
			<div class="list_content hottags">
			{#foreach from=$tran_tags item=item#}
			<a href="index.php?tag={#$item.encodetagname#}" target="_blank"><span style="{#$item.color#}">{#$item.tagname#}</span><em>({#$item.usenum#})</em></a> 
			{#/foreach#}
			</div>
	<div class="clear"></div></div>
	<!-- 2 -->
   	<div class="list bd-r">
   		<div class="list_title bg-r">最新评论</div>
{#$tpl_6708bb12#}
	<div class="clear"></div></div>
	<!-- 评论 -->
	<div class="list bd-g">
		<div class="list_title bg-g">一周热门</div>
		<div class="list_content">
			<ul>
            	{#$tpl_80cc8536#}
			</ul>
		</div><div class="clear"></div>
	</div>
	<!-- 3 -->
	<div class="list">
		<div class="list_title"><span><a href="user_list.php" target="_blank">更多...</a></span>活跃会员</div>
		<div id="user-list">
			<ul>
				{#$tpl_680b7a23#}
			</ul>
		</div><div class="clear"></div>
	</div>
	<!--4-->
	<div class="list bd-r">
		<div class="list_title bg-r"><span><a href="http://www.pbdigg.com/partner.html" target="_blank">更多...</a></span>合作伙伴</div>
		<div class="cooperate">
			<ul>
				{#foreach from=$plink item=item#}
				<li><a href="{#$item.siteurl#}" title="{#$item.description#}" target="_blank"><img src="{#$item.logo#}" alt="" style="width:88px;height:31px;border:0" /></a></li>
				{#/foreach#}
			</ul>
		</div><div class="clear"></div>
	</div>
	<!-- end --->
</div>
<!-- 右列表结束 -->
<div class="clear"></div>
<!-- 友情链接 -->
<div class="friend_link bd-r">
	<div class="friend_link_title bg-r">友情连接</div>
	<div class="link-list">
		<ul>
		{#foreach from=$tlink item=item#}
		<li><a href="{#$item.siteurl#}" title="{#$item.description#}" target="_blank">{#$item.sitename#}</a></li>
		{#/foreach#}
		</ul>
	</div>
</div>
<script type="text/javascript">
<!--
var pb_url = '{#$PB_ENV.PB_URL#}';
var verifyhash = '{#$verifyhash#}';
var ajax_response_failed = '{#$uimsg.ajax_response_failed#}';
//-->
</script>
</div>
<!-- footer -->
{#include file="footer.html"#}
<!-- footer end -->

</body>
</html>