<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td width="65%" height="393" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable"  style="clear:both;display:$hide_listnews">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">最近被頂的文章</span> 
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle"> 
            <!--****************************子欄目文章列表開始****************************-->  
         <!--
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_sortTCP">
              
			  <tr> 
                <td rowspan="2" width="13%" class="pic">
                  <table width="74" border="0" cellspacing="0" cellpadding="0" height="71" class="Digg">
                    <tr> 
                      <td class="left"></td>
                      <td valign="top" class="center"> 
                        <div class="number" id="DiggNum_$rs[aid]">$rs[digg_num]</div>
                        <div class="title" id="DiggDo_$rs[aid]"><a href="$webdb[www_url]/do/job.php?job=digg&type=vote&id=$rs[aid]" target="DiggIframe_$rs[aid]">頂一下</a></div>
                        <div style="display:none;"><iframe src="$webdb[www_url]/do/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="right"></td>
                    </tr>
                  </table>
                </td>
                <td width="87%" class="title"><a href="$webdb[www_url]/bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'><b>$rs[title]</b></a></td>
              </tr>
              <tr> 
                <td width="87%" valign="top" class="content">{$rs[content]} 
                  ({$rs[posttime]}) </td>
              </tr>
                 
            </table> <!--
EOT;
}
print <<<EOT
-->
         
            <div class="page">$showpage</div>
            <!--****************************子欄目文章列表結束****************************-->
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
    </td>
    <td width="35%" height="393" valign="top" class="Side" align="right"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">
        <tr> 
          <td class="head" height="19"> 
            <h3 class="L"></h3>
            <span class="TAG">被頂最多的文章</span> 
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle" align="left"> 
           
            
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <!--
EOT;
$fid=0;
$array=Get_article($rows=10,$leng=50,$order='digg_num');
foreach($array AS $key=>$rs){print <<<EOT
-->
  <tr>
    <td><div class="small_digg">$rs[digg_num]</div></td>
                <td><a href="$webdb[www_url]/bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'>$rs[title]</a> 
                </td>
  </tr><!--
EOT;
}print <<<EOT
-->
</table>
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">普通廣告位</span> 
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle" valign="top" align="left"> {$AD_label['digg_list']} 
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">竟價廣告位</span> 
            <h3 class="R"></h3> 
            <span class="more"><a href="../member/?main=buy_sellad.php?job=buy&id=3" target="_blank">購買</a></span> 
          </td>
        </tr>
        <tr> 
          <td class="middle" valign="top" align="left"> <SCRIPT LANGUAGE='JavaScript' src='$webdb[www_url]/do/a_d_s.php?job=sell&id=3'></SCRIPT>
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->
