assign( 'page_info', \DB::getAll( "SELECT * FROM `pages_category` WHERE `id`=?", $_GET['id'] ) );//получаем инфо о категории $list= \DB::getAll ( "SELECT * FROM `pages` WHERE `category`=?", $_GET['id'] ); $smarty -> assign( 'list', $list ); $smarty -> assign( 'sliders', $sliders ); ?>