{template "content","header"}
<link href="{CSS_PATH}download.css" rel="stylesheet" type="text/css" />
<!-----ornigiz------>
    <div id="ornigiz"><div class="crumbs"><a href="{siteurl($siteid)}">首页</a><span> &gt; </span>{catpos($catid)}</div></div>
<!-----ornigiz------>
<!---------------ottora mazmuni--------------->
<div id="korsak">
<!-----------ottora soltarap------------>
<div id="korsaksol">
<!-----soltarap angyigi ditallar----------->
<div id="angyigi">
<h2>最新更新</h2>
<ul>
{pc:content action="lists" catid="$catid" num="14"  thumb="1" order="id DESC" page="$page"}
{loop $data $r}
<li>
<div id="yigisoftimg">
<a href="{$r[url]}#"><img src="{$r[thumb]}"></a>
</div>
<div id="yigisoftismi">
<a href="{$r[url]}" title="{$r[title]}">{str_cut($r[title],24,'')}</a>
</div>
</li>
{/loop}
{/pc}
</ul>
</div>
<!-----soltarap angyigi ditallar-----------><div style="clear:both;"></div>
<!------------ditallar katari---------------->
<div id="ditallarkatari">
{pc:content action="lists" catid="$catid" num="15" order="id DESC" page="$page"}
		{loop $data $r}
<div id="softkatar">
<ul>

<li>

<div id="softimg"><a href="{$r[url]}#"><img src="{$r[thumb]}"></a></div>
 <div id="softtxt"><dt><h5><a target="_blank" href="{$r[url]}" title="{$r[title]}">{$r[title]}</a></h5></dt>
              <dd class="down_txt">{$r[description]}</dd></div><div style="clear:both;"></div>
<div id="softdarija"><dd class="down_attribute align_r"><span class="icon_1">软件大小：{$r[filesize]}</span><span class="icon_3">星级：{$r[stars]}</span><span class="icon_4">更新时间：{date('Y-m-d',$r[inputtime])}</span></dd>

</li>

</ul></div>		{/loop}
<!--pages-->
        <div class="PAG" id="pages">{$pages}</div>
		{/pc}
</div>
<!------------ditallar katari---------------->
</div>
<!-----------ottora soltarap------------>

<!-----------ottora ongtarap------------>
<div id="korsakong">
<!-----qolpan ditallar----->
<div id="qolpandital">
<h2>下载排行</h2>
<ul>
{pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
{loop $data $r}
<li><a href="{$r[url]}" target="_blank">{$r[title]}</a></li>
{/loop}
{/pc}
</ul>
</div>
<div class="bk10"></div>
<!-----qolpan ditallar----->
<!----------tawsiya ditallar--------->
<div id="qolpandital">
<h2>推荐下载</h2>
<ul>
{pc:content  action="position" posid="5" order="listorder DESC" num="4"}
{loop $data $r}        
<li><a href="{$r[url]}" title="{$r[title]}">{str_cut($r[title],34)}</a></li>
{/loop}  
{/pc}
</ul>
</div>
<!----------tawsiya ditallar--------->
</div>
<!-----------ottora ongtarap------------>

</div>
<div style="clear:both;"></div>
<!---------------ottora mazmuni--------------->


<div class="bk10"></div>
{template "content","footer"}