Esempio n. 1
0
<?php

require_once '../adminHeader.html';
?>

<?php 
require_once '../../models/book.php';
require_once '../../models/record.php';
if ($_SERVER['REQUEST_METHOD'] == 'GET') {
    $bookId = $_GET['bookId'];
    $book = BookManager::getBook($bookId);
    if ($books === false) {
        echo "<script>history.back();alert('没有数据');</script>";
        return;
    }
    $records = RecordManager::searchRecordsWithPersonName($bookId);
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
  <?php 
require_once "../adminHead.php";
?>
</head>

<body>

  <?php 
require_once "../adminNav.html";