{template "content","header"}
<div class="neiye youhui">
    {pc:content action="lists"  catid="$catid" num="6"  order="listorder DESC" moreinfo="1"}
    {loop $data $r}
        <div class="youhui_list">
            <div class="youhui_body">
                <div class="youhui_border">
                    <a href="{$r[url]}" target="_blank">
                        <div class="youhui_bfloat_l f1">
                            <h3>{$r[title]}</h3>
                            <span class="time">POST：{date('Y-m-d',$r[inputtime])}</span>
                            {php $db = pc_base::load_model('hits_model');   $_r = $db->get_one(array('hitsid'=>'c-'.$modelid.'-'.$r[id])); $views = $_r[views]; }
                            <span class="view">VIEW：{$views}</span>
                        </div>
                        <div class="youhui_bfloat_r f2">
                            <img src="{$r[img]}" alt="" />
                        </div>
                    </a>
                </div>
            </div>
        </div>
    {/loop}
    {/pc}
</div>

{template "content","footer"}