<!--
<?php
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$Mdomain/images/$STYLE/digg.css">
<div class="MainContainer">
	<div class="main">
    	<div class="digglist">
        	<div class="head"><span class="tag">最近被顶的文章</span></div>
            <div class="cont">
<!--
EOT;
foreach($listdb AS $key=>$rs){
$rs[content]=get_word($rs[content],$fidDB[config][listContentNum]>0?$fidDB[config][listContentNum]:150);
$target=$rs[target]?'_blank':'_self';
print <<<EOT
-->
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
                  <tr>
                    <td class="shownum">
                    	<div class="number" id="DiggNum_$rs[aid]">$rs[digg_num]</div>
                        <div class="title" id="DiggDo_$rs[aid]"><a href="$Mdomain/job.php?job=digg&type=vote&id=$rs[aid]" target="DiggIframe_$rs[aid]">顶一下</a></div>
                        <div style="display:none;"><iframe src="$Mdomain/job.php?job=digg&type=getnum&id=$rs[aid]" width=0 height=0 name="DiggIframe_$rs[aid]" id="DiggIframe_$rs[aid]"></iframe></div>
                    </td>
                    <td class="word">
                    	<h3><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'>$rs[title]</a></h3>
                        <p>{$rs[content]}<span>({$rs[posttime]})</span></p>
                    </td>
                  </tr>
                </table>
<!--
EOT;
}if($showpage){print <<<EOT
-->
				<div class="page">$showpage</div>
<!--
EOT;
}print <<<EOT
-->
            </div>
        </div>
    </div>
    <div class="side">
    	<div class="newssort">
        	<div class="head">
            	<div class="tag">分类资讯</div>
                <div class="more">
                	<div id="Span1" onmouseover="ShowTab(1,1,4)"><span>新闻</span></div>
                    <div id="Span2" onmouseover="ShowTab(2,1,4)"><span>图片</span></div>
                    <div id="Span3" onmouseover="ShowTab(3,1,4)"><span>视频</span></div>
                </div>
            </div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="cont">
              <tr id="Tab1">
                <td>{$label[blue_diggst1]}</td>
              </tr>
              <tr id="Tab2"> 
                <td>{$label[blue_diggst2]}</td>
              </tr>
              <tr id="Tab3">
                <td>{$label[blue_diggst3]}</td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="cont2">
              <tr>
                <td>{$label[blue_diggt2]}</td>
              </tr>
            </table>
            <SCRIPT LANGUAGE="JavaScript">ShowTab(1,1,4);</SCRIPT>
        </div>
        <div class="topdigg mt10">
        	<div class="head"><div class="tag">被顶最多的文章</div></div>
            <div class="cont">
<!--
EOT;
$fid=0;
$array=Get_article($rows=10,$leng=60,$order='digg_num');
foreach($array AS $key=>$rs){
$num = $key+1;
print <<<EOT
-->
				<div class="list$key">
                	<span>$num</span>
                    <a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'>$rs[title]<em>($rs[digg_num])</em></a>
                </div>
<!--
EOT;
}print <<<EOT
-->
            </div>
        </div>
        <div class="boldgz mt10">
        	<div class="head"><div class="tag">重点关注</div></div>
            <div class="cont">{$label[blue_diggt3]}</div>
        </div>
        <div class="diggadr">{$label[blue_diggadr]}</div>
    </div>
    <div style="clear:both;"></div>
</div>
<!--
EOT;
?>
-->
