<!--<?php print <<<EOT
-->
<div class="mode-head cc">
		<ul class="nav-cms fl">
<!--
EOT;
foreach($catedbs as $key => $value){
if($value){print <<<EOT
-->
	   		<li><a href="thread.php?fid=$key" title="$value"><span>$value</span></a></li>
<!--
EOT;
}}print <<<EOT
-->
		</ul>
		<div class="c"></div>
</div>
	<div class="c"></div>
	<div id="breadCrumb">
<!--
EOT;
if($cateinfo[admin]){print <<<EOT
-->
		<span class="fr">频道版主： {$cateinfo[admin]}</span>
<!--
EOT;
}print <<<EOT
-->
		<img src="$imgpath/$stylepath/thread/home-old.gif" align="absmiddle" />&nbsp;<a href="$db_bbsurl">$db_bbsname</a> &raquo; $cateinfo[name]
	</div>
<!--ads begin-->
<!--
EOT;
if($advertdb['text']){print <<<EOT
-->
<div class="c"></div>
<div class="ad-text">
	<table width="100%" cellspacing="0" cellpadding="0">
<!--
EOT;
$id=0;
$idp = 100/$db_txtadnum;
foreach($advertdb['text'] as $value){
if($id==0){print <<<EOT
-->
		<tr class="tr3">
<!--
EOT;
}$id++;print <<<EOT
-->
			<td class="tac" width="$idp%">$value[code]</td>
<!--
EOT;
if($id==$db_txtadnum){
$id=0;print <<<EOT
-->
		</tr>
<!--
EOT;
}}if($id && $id<$db_txtadnum){
for($i=$id;$i<$db_txtadnum;$i++){print <<<EOT
-->
		<td width="$idp%"><br /></td>
<!--
EOT;
}print <<<EOT
-->
		</tr>
<!--
EOT;
}print <<<EOT
-->
	</table>
</div>
<div class="c"></div>
<!--
EOT;
}print <<<EOT
-->
    <div class="mode-main-left-bg mt">
    <div class="mode-main-left-bot">
    <div class="mode-main-left">
    	<div class="pt pb pl pr10">
    		<h2>$cateinfo[name]</h2>
            <div class="mode-listA">
    		<ul>
<!--
EOT;
foreach($forumdb as $value){print <<<EOT
-->
					<li><a href="thread.php?fid=$value[fid]" title="今日发帖: $value[tpost] ">$value[name]</a>
					</li>
<!--
EOT;
}print <<<EOT
-->
            </ul></div><br />
	    	<h2>{user_rvrc}</h2>
			<div class="mode-u-img mode-user-list">
				<pw id="user_rvrc" name="威望" stamp="user" num="10" />
				<loop>
					<dl>
					<dt><img src="{image}" /></dt>
	            	<dd><a href="{url}">{title}</a></dd><dd>数量：&nbsp;{value}</dd>
					</dl>
				</loop>
	        </div>
        	<br />
        	<h2>{cate_postoday}</h2>
            <div class="mode-listA">
        	<ul>
	        	<pw id="cate_postoday" name="今日" stamp="subject" num="10" />
				<loop>
					<li><a href="{url}">{title}</a></li>
				</loop>
        	</ul></div>
            <br />
        </div>
		</div>


	<div class="mode-main-right2 cc">
			<div class="y-bg"></div>
			<div class="y-bg2"></div>
			<div class="y-bg3"></div>
			<div class="y-bg4">
				<div class="c-t">
					<div class="c-t-img fr pl bdl">
						<pw id="cate_focus" stamp="push" name="频道焦点" num="1" />
<!--#
if($pwresult){
#-->
							<loop>
								<a href="{url}" title="{title}"><img src="{image}" /></a>
                        		<p class="tac"><a href="{url}" target="_blank">{title}</a></p>
							</loop>
<!--#
}else{
#-->
								<img src="$pwModeImg/flash-02.gif" width="300" />
<!--#
}
#-->
                    </div>
                  	<div class="c-t-300 fl bdr pr10">
                        <h2 class="fn">{cate_color}</h2>
                    	<ul class="mode-listA mode-listB ml">
                    		<pw id="cate_color" stamp="subject" name="频道热点" num="10" />
                    		<loop>
								<li><a href="{url}" title="{title,60}" target="_blank">{title}</a></li>
							</loop>
                        </ul>
                    </div>
                    <div class="fl img c-t-150">
                        <pw id="cate_newpic" stamp="image" name="频道最新图片" num="4" />
                        <loop>
                        <dl class="box-dl black" style="margin:0 0 5px 10px;">
                            <dt><a href="{url}"><img src="{image}" /></a></dt>
                            <dd class="title"><a href="{url}">{title}</a></dd>
                        </dl>
                        </loop>
                    </div>
                    <div class="c"></div>
				</div>
<!--
EOT;
include PrintEot('cate_type');
print <<<EOT
-->
			</div>
			<div class="y-bg3"></div>
			<div class="y-bg2"></div>
			<div class="y-bg"></div>
			<div class="c"></div>
</div>
<div class="c"></div>
</div>
<div class="c"></div>
</div>
<!--
EOT;
?>-->