assign( 'list_cat', $list_cat); $bib_category=\DB::getRow("SELECT * FROM `content_category` WHERE `id`=? AND `site`=?", array($_GET['id'], $_SERVER['SERVER_NAME'] ) ); $bib_category['filename']=\DB::getValue("SELECT `filename` FROM `img` WHERE `content_id`=? AND `content_type`=? AND `site`=?", array( $_GET['id'], $_GET['mod'], $_SERVER['SERVER_NAME'] )); //print_r($bib_category); $smarty -> assign( 'info', $bib_category ); $list_books=\DB::getAll("SELECT * FROM `content` WHERE `category`=? AND `status`=? AND `site`=? AND `content_type`=?", array($parent, 1, $_SERVER['SERVER_NAME'], 'bib')); for ($i=0; $i assign( 'list_books', $list_books ); $smarty -> assign( 'list', 'api/modules/' . MOD . '/list.html' ); ?>