require ROOT . "/include/admin-init.php"; if (!is_login()) { die(html_jump('login.php')); } set_page_type('library', 'library_manage'); set_page_power(array(1)); set_title("图书管理"); $category = new library_category(); $category->get_id_list(); $all_user = new user_info(); $all_user->get_id_list(); library_option(); get_admin_header(); $library = new library(); $library->check_parameter(); $library->get_book(); ?> <div id="library"> <div class="manage"> <h2 align="center">图书管理</h2> <form name="tableform" action="library-action.php" method="post"> <table border="0" align="center" cellspacing="0"> <?php if (empty($library->list)) { echo "<tr class=\"title\"><td>没有搜索到相关图书</td></tr>\n"; } else { echo "<tr class=\"title\"><th>ID</th><th>图书名</th><th>图书馆<br>编号</th><th>ISBN</th><th>分类</th><th>所有者</th><th>借来时间</th><th>借阅者</th><th>借出时间</th><th>距到期</th><th>电子书</th><th>操作</th><th><a href=\"javascript:selectAll('select');\" title=\"全选\\取消全选\">选择</a></th></tr>\n"; $i = 0; foreach ($library->list as $v) { echo "<tr title=\""; echo "作者或编辑:", $v['editor'], "\n出版社:", $v['press'], "\n出版时间:", $v['publishTime'], "\n内容简介:", $v['content'];