assign( 'all_cat', $all_cat ); if ($_GET['id'])$book=\DB::getRow("SELECT * FROM `bib` WHERE `id`=? LIMIT 1", $_GET['id']); assign( 'book', $book); //$smarty -> assign( 'list_books', $list_books ); //$smarty -> assign( 'list', 'api/modules/' . MOD . '/list.html' ); ?>