<!--{template 'default/head'}-->
<div class="main cbody margintop">
	<div class="thisplace">
		<div class="placenav">
			<span>当前位置 :</span>
			<a href="{W_P}">网站首页</a> &gt; <a href="<!--{echo toPath($channelid);}-->">{$channelname}</a> 
			<!--{eval $_obj = menuPath();}-->
			<!--{loop $_obj $val}-->
				&gt; <a href="{$val['url']}">{$val['name']}</a> 
			<!--{/loop}-->
			&nbsp;列表
		</div>
	</div>
	<div class="pright">
        <div class="classbox">
			<dl>
				<h3><span>栏目列表</span></h3>
				<dd style="padding-top:8px;border-top:1px solid #DDDDDD">
					<ul>
					<!--{eval $_obj = menus($channelid, $cid);}-->
					<!--{loop $_obj $v}-->
						<li {if $v['cid'] == $cid} class='on'{/if}><a href="{$v['url']}">{$v['title']}</a></li>
					<!--{/loop}-->
					</ul>
				</dd>
			</dl>
	  </div>
		<div class="classbox margintop">
			<dl>
				<h3><span>热门下载</span></h3>
				<div class="rbox">
					<ul>
					<!--{cms $_obj = cmsQuery("channelid={$channelid}&cid={$cid}&order=views desc&pagesize=10&cacheTime=3600");}-->
					<!--{loop $_obj['data'] $v}-->
						<li><a href="{$v['url']}"><!--{echo qbase::substrs($v['subject'], 30);}--></a></li>
					<!--{/loop}-->					
					</ul>
				</div>
			</dl>
		</div>
	</div>

	<div class="pleft">

		<h3 class="b"><span>最新下载</span></h3>

		<div class="sbox" >
			<!--{cms $_obj = cmsQuery("channelid={$channelid}&cid={$cid}&order=id desc&pageno={$pageno}&pagesize={$info['num']}&showpage=1");}-->
			<!--{loop $_obj['data'] $v}-->
			<dl>
				<dt><a href="{$v['url']}" title="{$v['subject']}"><!--{echo qbase::formatSubject($v['subject'], $v['subject_color'])}--></a></dt>
				<dd class="info"><strong>下载次数：</strong> {$v['views']} <strong>更新日期：</strong> <!--{echo qbase::formatTime('Y-n-d', $v['dateline'])}--><strong>语言：</strong>{$v['op_language']}<strong>授权：</strong>{$v['op_use_type']}</dd>
				<dd class="preview"><!--{echo qbase::substrs($v['description'], 240)}-->…</dd>
			</dl>
			<!--{/loop}-->

			<!--{if $_obj['pager']}-->
			<div class="pager">
				{$_obj['pager']}
			</div>
			<!--{/if}-->
		</div>
	</div>

	<div class="floatclear"></div>

</div>


<!--{template 'default/foot'}-->