{:W('Common/mainMenu',array('ul_attr'=>'class="menu"'))}
if(I('get.info')!=2){
echo ' ';
}
$posts_id = $CatsLogic->getPostsId($cat_children['cat_children']['cat_id']);
$count = sizeof($posts_id);
($count == 0) ? $res404 = 0 : $res404 = 1;
if (!empty($posts_id)) {
$Page = new Common\Util\GreenPage($count, get_opinion('PAGER'));
$pager_bar = $Page->show();
$limit = $Page->firstRow . ',' . $Page->listRows;
$posts_list = $Posts->getList($limit, 'single', 'post_date desc', true, array(), $posts_id);
}else{
$posts_list=array();
}
$posts_id="";
$count=0;