<!--
<?php
$listdb || $hide_listnews='none';		//如果是大分类的话,就不存在标题,就把标题框隐藏
!$listdb_moresort && !$listdb && !$fidDB[type] && $hide_listnews='';
print <<<EOT
--> 
<link rel="stylesheet" type="text/css" href="$Mdomain/images/$STYLE/list.css">
<div class="MainContainer">
    <div class="main">
    	<div class="listcont" style="display:$hide_listnews">
<!--
EOT;
foreach($listdb AS $key=>$rs){
$rs[content]=get_word($rs[content],$fidDB[config][listContentNum]>0?$fidDB[config][listContentNum]:200);
print <<<EOT
-->
			<div class="list">
            	<h3><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="$target" title='$rs[full_title]'>$rs[title]</a></h3>
                <p>{$rs[content]}</p>
                <div>
                	录入者：<span>{$rs[username]}</span>
                    发表于：<span>{$rs[posttime]}</span>
                    点击：<span>{$rs[hits]}</span>
                    评论：<span>{$rs[comments]}</span>
                    <a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="$target">查阅全文...</a>
                </div>
            </div>
<!--
EOT;
}if($showpage){print <<<EOT
-->
			<div class="page">$showpage</div>
<!--
EOT;
}print <<<EOT
-->
        </div>
<!--
EOT;
if($listdb_moresort){print <<<EOT
-->
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="showbigsort">
<!--
EOT;
$j = 0;
foreach($listdb_moresort AS $key2=>$rss){
if($j==0){
print <<<EOT
-->
			<tr>
<!--
EOT;
}$j++;
$tdclass = $j%2==1 ? "tdl" : "tdr";
print <<<EOT
-->
				<td class="$tdclass">
                	<div class="head">
                    	<div class="tag"><a href="list.php?fid=$rss[fid]">$rss[name]</a></div>
                        <div class="more"><a href="list.php?fid=$rss[fid]">更多&gt;&gt;</A></div>
                    </div>
                    <div class="cont">
<!--
EOT;
foreach($rss[article] AS $key1=>$rs){
if($key1==0){
$rs[content]=get_word($rs[content],60);
print <<<EOT
-->
                        <div class="list0">
                        	<h3><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]">$rs[full_title]</a></h3>
                            <p>
                            	{$rs[content]} <span>共有<em>{$rs[hits]}</em>人关注 评论<em>{$rs[comments]}</em>条</span> 
                        		[<A HREF="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank">阅读全文</A>]
                            </p>
                        </div>
<!--
EOT;
}else{print <<<EOT
-->

      					<div class="list"><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank">$rs[full_title]</a></div>
<!--
EOT;
}}print <<<EOT
-->
                    </div>
                </td>
<!--
EOT;
if($j==2){
$j=0;print <<<EOT
-->
			</tr>
<!--
EOT;
}}if($j && $j<2){
for($i=$j;$i<2;$i++){print <<<EOT
-->
				<td><br/></td>
<!--
EOT;
}print <<<EOT
-->
			</tr>
<!--
EOT;
}print <<<EOT
-->
        </table>
<!--
EOT;
}print <<<EOT
-->
    </div>    
    <div class="side">
    	<div class="showsort mt10">
<!--
EOT;
$array=is_array($Fid_db[$fid])?$Fid_db[$fid]:$Fid_db[$fidDB[fup]];
foreach($array AS $key=>$value){
	$array[$key]=array($key,$value);
}
$i=0;
foreach($array AS $key=>$rs){
$i++;
$float = $i%2 ==0 ? " class=\"fr\"":"";
$thisfid = $key==$fid ? " style=\"color:red;\"" : "";
print <<<EOT
-->
			<div class="listsort"><a href="list.php?fid=$rs[0]"{$float}{$thisfid }>{$rs[1]}</a></div>
<!--
EOT;
}print <<<EOT
-->
			<div style="clear:both"></div>
		</div>
        <div class="sidecont1 mt10">
        	<div class="head"><div class="tag">{$label[blue_nlisth1]}</div></div>
            <div class="cont1">
            	{$label[blue_nlistt1]}
            </div>
        </div>
        <div class="sideadr mt10">{$label[blue_nlistad1]}</div>
        <div class="sidecont1 mt10">
        	<div class="head"><div class="tag">{$label[blue_nlisth2]}</div></div>
            <div class="cont2">
                <div class="h">
                    {$label[blue_nliststh1]}            	
                </div>
                <div id="Tab1" class="c">{$label[blue_nlistst1]}</div>
                <div id="Tab2" class="c">{$label[blue_nlistst2]}</div>
                <div id="Tab3" class="c">{$label[blue_nlistst3]}</div>
                <div id="Tab4" class="c">{$label[blue_nlistst4]}</div>
                <SCRIPT LANGUAGE="JavaScript">ShowTab(1,1,5);</SCRIPT>
            </div>
        </div>
        <div class="mt10">{$label[blue_nlistad2]}</div>
    </div>  
    <div style="clear:both"></div>
</div>
<!--
EOT;
?>
-->
