*/ require_once ("config.php"); require_once ("base.php"); require_once ("book.php"); require_once ("resources/php-epub-meta/epub.php"); header ("Content-Type: text/html;charset=utf-8"); $idData = getURLParam ("data", NULL); $add = "data=$idData&"; if (!is_null (GetUrlParam (DB))) $add .= DB . "=" . GetUrlParam (DB) . "&"; $myBook = Book::getBookByDataId($idData); $book = new EPub ($myBook->getFilePath ("EPUB", $idData)); $book->initSpineComponent (); ?>