|
|
@ -37,7 +37,7 @@ class default_controller { |
|
|
|
} else $word = $books = $count = $categories = null; |
|
|
|
$records = isset($_SESSION['user']) ? records::get_in_records_by_uid($_SESSION['user']['uid']) : null; |
|
|
|
$records_count = isset($_SESSION['user']) ? records::count_in_records_by_uid($_SESSION['user']['uid']) : 0; |
|
|
|
$this->template('馆存查询', 'search', ['books' => $books, 'page' => $page, 'count' => $count, 'categories' => $categories, 'records' => $records, 'records_count' => $records_count]); |
|
|
|
$this->template('书籍检索', 'search', ['books' => $books, 'page' => $page, 'count' => $count, 'categories' => $categories, 'records' => $records, 'records_count' => $records_count]); |
|
|
|
} |
|
|
|
|
|
|
|
public function book($bid) { |
|
|
|