<!------------大分类开始----------------->
<!--
<?php
if($listdb_moresort){
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/blue/bigsort.css">
<div class="ListContTop">
	<div class="ListHots">
        <div class="HotList">
<!--
EOT;
$ListHots=fetch_article($fid,"hot",13,60);
foreach($ListHots AS $key=>$rs){
print <<<EOT
-->
			<div class="list"><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'>$rs[title]</a><span>$rs[posttime]</span></div>
<!--
EOT;
}
print <<<EOT
-->
        </div>
<script type="text/javascript">
	$(".ListHots .HotList div:eq(0)").addClass("list0");
	$(".ListHots .HotList div:eq(4)").addClass("list_spac");
</script>
    </div>
    <div class=div_jflash>
<table id=pictable style="display:none;">
<!--
EOT;
$ListPics=fetch_article($fid,"pic",4,46);
foreach($ListPics AS $key=>$rs){
$rs[picurl]=tempdir($rs[picurl],'400:350');
print <<<EOT
-->
<tr>
<td><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" title="$rs[title]"><img src="$rs[picurl]"/></a></td>
</tr>
<!--
EOT;
}
print <<<EOT
-->
</table>
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/blue/bigsortpic.js"></SCRIPT>
    </div>
</div>
<div class="MainBanner">{$label[blue_listad1]}</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListContMain">
  <tr>
    <td class="ListSorts">
<!--include
EOT;
//这是列出大分类里的小栏目部分标题
@include("$bigsortTPL");
print<<<EOT
include-->
    </td>
    <td class="ListNest">
		<div class="SideCont">
        	<div class="head"><div class="tag">最新资讯</div></div>
        	<div class="cont">
<!--
EOT;
$ListHots=fetch_article($fid,"new",10,32);
foreach($ListHots AS $key=>$rs){
$listnum=$key+1;
print <<<EOT
-->
			<div class="list$listnum"><span>$listnum</span><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" title='$rs[full_title]'>$rs[title]</a></div>
<!--
EOT;
}
print <<<EOT
-->
        	</div>
        </div>
    </td>
  </tr>
</table>
<!--
EOT;
}
?>
--> 
<!------------大分类结束----------------->

<!------------小栏目开始----------------->
<!--
<?php
if(!$listdb_moresort){
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/blue/list.css">
<div class="TopBanner">{$label[blue_listad1]}</div>
<div class="MainContainer">
	<div class="MainL">
		<div class="maincont">
        	<div class="head"><span class="tag">$fidDB[name]</span></div>
            <div class="cont">
<!--include
EOT;
//小栏目的标题
if($listdb){@include("$listTPL");}print<<<EOT
include-->
				<div class="showpage">$showpage</div>
            </div>
        </div>
    </div>
    <div class="SideR">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ShowSort">
          <tr>
            <td class="cont">
<!--
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 $key2=>$array2){
$i++;
$float = $i%2==0 ? "FR" : "FL";
$array2[1] = $array2[0] == $fid ? "<font color=\"red\">$array2[1]</font>" :$array2[1];
print <<<EOT
-->
					<div class="listsort"><a href="list.php?fid=$array2[0]" class="$float">$array2[1]</a></div>
<!--
EOT;
}
print <<<EOT
-->
            </td>
          </tr>
        </table>
        <div class="TopArticle">
        	<div class="head"><span class="tag">{$label[blue_listh1]}</span></div>
            <div class="cont">
            	<div class="h">
                	{$label[blue_listh2]}
                </div>
                <div class="c" id="Tab1">{$label[blue_listt1]}</div>
                <div class="c" id="Tab2">{$label[blue_listt2]}</div>
                <div class="c" id="Tab3">{$label[blue_listt3]}</div>
            </div>
<SCRIPT LANGUAGE="JavaScript">ShowTab(1,1,4);</SCRIPT>
        </div>
        <div class="HotZtcont">
        	<div class="head">{$label[blue_listh3]}</div>
            <div class="cont">
            	<div class="c1">{$label[blue_listt4]}</div>
                <div class="c2">{$label[blue_listt5]}</div>
            </div>
        </div>
    </div>
    <div class="ClearDiv"></div>
</div>
<!--
EOT;
}
?>
-->
<!------------小栏目结束----------------->