{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>
<!-----soltarap angyigi ditallar turi boyiqa----------->
<div id="newditaltur">
{loop subcat($catid,0) $r}
        {php $num++}
        <div {if $num%3!=0}style="margin-right: 15px;"{/if} id="turi">
        		<h2>{$r[catname]}<a class="more" href="{$r[url]}">更多&gt;&gt;</a></h2>
             <div class="content">
                <ul class="list lh24 f14">
                {pc:content action="lists" catid="$r[catid]" num="10"  order="id DESC" return="info"}
             	{loop $info $v}
                	<li><span class="rt">{date('m-d',$v['inputtime'])}</span>·<a target="_blank" href="{$v['url']}" title="{$v['title']}">{str_cut($v['title'],38)}</a></li>
              {/loop}
              {/pc}
                </ul>
            </div>
        </div>
        {if $num%3==0}<div class="bk10"></div>{/if}
 		{/loop}
		 {/pc}       
</div>
<!-----soltarap angyigi ditallar turi boyiqa----------->
</div>
<!-----------ottora soltarap------------>

<!-----------ottora ongtarap------------>
<div id="korsakong">
<!-----ongtarap dital turliri----------->
<div id="ditalturliri">
<h2>下载分类</h2>
<ul>
{loop subcat($catid) $r}
<li><a href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a></li>
{/loop}
</ul>
</div>
<div class="bk10"></div>
<!-----ongtarap dital turliri----------->
<!-----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--------------->

{template "content","footer"}