assign( 'list_cat', $list_cat ); $list_books=\DB::getAll("SELECT * FROM `bib` WHERE `category`=?", $parent); $smarty -> assign( 'list_books', $list_books ); $smarty -> assign( 'list', 'api/modules/' . MOD . '/list.html' ); ?>