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

<!-- 工具栏 -->
<div id="counttool">
	<p id="countinfo"><span>{#$tran_sitestat.membernum#}</span>位用户，发布了<span>{#$tran_sitestat.artnum#}</span>篇文章，产生了<span>{#$tran_sitestat.comnum#}</span>条评论！欢迎新会员：<span>{#$tran_sitestat.newmember#}</span></p>
	<p id="tool">
   {#if $log_status == "1"#}随时随地快速<a href="{#$PB_ENV.PB_URL#}post.php?cid={#$cid#}">{#$uimsg.post_thread#}</a>，与大家交流分享{#else#} 你可以<a href="{#$PB_ENV.PB_URL#}register.php" title="注册">注册</a>一个帐号，并以此<a href="{#$PB_ENV.PB_URL#}login.php">登录</a>，以浏览更多精彩内容{#/if#}</p>
	
</div>
<div class="top_article" id="top_article">
	<ul>
		{#$toparticle#} 
	</ul>
</div>
<div id="container">
<!-- 左内容-->
<div id="pbleft">
	<!-- 头部 -->
	<div id="indexhot">
		<div class="topflash">
			<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="topnews">
			{#$firstarticle#}
			<ul>
			{#$tpl_daf657bf#}
			</ul>
		</div>
		<!-- 头部 bannar -->
  		<div class="clear"></div>
	</div>
	<!-- 头部 end -->
    <ul class="notice">
    	<!-- 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>


		         <li><strong>公告:</strong>{#$announcements#}
		<span id="pageShow">[ 1/{#$announcenum#} ]</span><span class="imgs"><a title="上一条" href="javascript:rollText(-1);" class="last"></a> <a title="下一条" href="javascript:rollText(1);" class="next"></a></span></li>

	{#/if#}
	</ul>
	<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>
		<!-- 文章列表 -->
		{#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">{#$item.subject#}</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>］</p></dt>
			</dl>
            
            <dl>
            				<!--digg & bury-->
				{#if $diggbury eq "1"#}
				<dd class="pb_box_r" id="digg_{#$item.tid#}">

					<a class="pb_box_rt" href="../show/{#$item.tid#}.html" id="db_num_{#$item.tid#}">
                    	{#if $showdigg eq "1"#}<span class="pb_box_rtt" id="article_digg_{#$item.tid#}">{#$item.digg#}</span><br />{#/if#}
						{#if $showbury eq "1"#}<span class="pb_box_rtt2" id="article_bury_{#$item.tid#}">{#$item.bury#}</span>{#/if#}
					</a>
					<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>
				</dd>
				{#/if#}
			<dd class="desc">

				 {#$item.topicimg#}{#$item.content#}
				<span class="ddmove"> (<a href="show.php?tid={#$item.tid#}" target="_blank">详细内容>></a>)</span></dd>
			</dl>
			<dl>
				<dd class="detail"><span class="pinglun">{#$item.comments#} 条评论</span><span class="hits">{#$item.views#} 人读过</span><span class="share">来源 : <a href="{#$item.contentlink#}" target="_blank">{#$item.linkhost#}</a></span><span class="tagico">Tags :  {#$item.tags#}</span></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="sidebar">

<a href="http://www.pbdigg.net/show/2828.html" class="pbdigg_ads"></a>


	{#if $log_status != "1"#}
	<h2>网站登录</h2>
	<form action="login.php?action=login" method="post" onsubmit="javascript:if(this.UserName.value=='' || this.Password.value==''){alert('请填写用户名密码');return false;}return true;">
		<ul class="login">
        <li class="userpass"><label for="username">帐&nbsp;&nbsp;户：</label>
        <input name="username" type="text" id="username" class="log-inputbox" size="22" maxlength="20" /></li>
		<li class="userpass"><label for="password">密&nbsp;&nbsp;码：</label>
        <input name="password" type="password" id="password" class="log-inputbox" size="23" maxlength="20" /></li>
        
        <p><input type="image" src="templates/{#$PB_ENV.PB_TEMPLATE#}/images/btn-login.gif" style="width:62px;height:44px;border:0" /></p>
	{#if $pb_gdcheck.login eq "1"#}
		<li class="yzm"><span><label for="captcha">验证码：</label>
        <input type="text" name="captcha" id="captcha" size="8" maxlength="4" /></span>&nbsp;<img src="checkcode.php?" alt="{#$uimsg.captcha_intro#}" onclick="this.src='checkcode.php?'" style="cursor:pointer;" align="absmiddle" /></li>
	{#/if#}
<li class="checkbox"><input type="checkbox" name="persistent" value="1" id="persistent" title="{#$uimsg.persistent_notice#}" /> 记住我 <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></li>
	<input type="hidden" name="verifyhash" id="verifyhash" value="{#$verifyhash#}" />
	</form>
	</ul>
	{#/if#}



<h2>订阅RSS</h2>
<div class="feed">
  <p><!-- FEED -->
<a href="http://www.zhuaxia.com/add_channel.php?url=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_zhuaxia.gif" alt="&#25235;&#34430;" /></a><a href="http://www.pageflakes.com/subscribe.aspx?url=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_pageflakes.gif" alt="pageflakes" /></a><a href="http://www.rojo.com/add-subscription?resource=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_rojo.gif" alt="Rojo" /></a><a href="http://fusion.google.com/add?feedurl=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_google.gif" alt="google reader" /></a><a href="http://www.netvibes.com/subscribe.php?url=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_netvibes.gif" alt="netvibes" /></a><a href="http://add.my.yahoo.com/rss?url=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_yahoo.gif" alt="my yahoo" /></a><a href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_newsgator.gif" alt="newsgator" /></a><a href="http://www.bloglines.com/sub/http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_bloglines.gif" alt="bloglines" /></a><a href="http://www.xianguo.com/subscribe.php?url=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_xianguo.jpg" alt="&#40092;&#26524;" /></a><a href="http://reader.yodao.com/#url=http://feed.feedsky.com/pbdigg" target="_blank"><img border="0" src="http://img.feedsky.com/images/icon_subshot02_youdao.gif" alt="&#26377;&#36947;" /></a>
<a href="javascript:location.href='http://127.0.0.1:18087/subitem?title={$title}&amp;url='+ encodeURI('http://feed.feedsky.com/pbdigg')" target="_blank"><img src="http://feeds.feedsky.com/images/newsants.png" alt="新闻蚂蚁" /></a>
<a href="javascript:location.href='http://www.potu.com/sub/'+ encodeURI('http://feed.feedsky.com/pbdigg')"><img src="http://feeds.feedsky.com/images/potu_01.png" alt="周博通" /></a><br /><a href="http://inezha.com/add?url=http://feed.feedsky.com/pbdigg"><img src="http://img.feedsky.com/images/addtoanothr4.gif" alt="订阅到MSN Skype Gtalk"/></a><!-- FEED --></p>
  </div>

	<h2>最新文章</h2>

			<ol>
            	{#$tpl_f63d001d#}
			</ol>

    	<!-- 标签-->
   		<h2><span><a href="tag.php" target="_blank">{#$uimsg.more#}...</a></span>标签聚合</h2>
			<div class="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>

	<!-- 2 -->
<h2>最新评论</h2>
{#$tpl_6708bb12#}
	<!-- 评论 -->
		<h2>一周热门</h2>

			<ol>
            	{#$tpl_80cc8536#}
			</ol>

	<!-- 3 -->

		<h2><span><a href="user_list.php" target="_blank">更多...</a></span>活跃会员</h2>
		<div id="user-list">
			<ul>
				{#$tpl_680b7a23#}
			</ul>
		</div>
	<!--4-->
		<h2><span><a href="http://www.pbdigg.com/partner.html" target="_blank">更多...</a></span>合作伙伴</h2>
		<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>
	<!-- end --->
</div>
<!-- 右列表结束 -->
<div class="clear"></div>
<!-- 友情链接 -->

	<div class="link-list">
		<h2>友情链接</h2>
		<ul>
		{#foreach from=$tlink item=item#}
		<li><a href="{#$item.siteurl#}" title="{#$item.description#}" target="_blank">{#$item.sitename#}</a></li>
		{#/foreach#}
		</ul>
	<div class="clear"></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>