* */ require_once ("config.php"); require_once ("base.php"); require_once ("author.php"); require_once ("serie.php"); require_once ("tag.php"); require_once ("customcolumn.php"); require_once ("book.php"); // If we detect that an OPDS reader try to connect try to redirect to feed.php if (preg_match("/(MantanoReader|FBReader|Stanza|Aldiko|Moon+ Reader)/", $_SERVER['HTTP_USER_AGENT'])) { header("location: feed.php"); exit (); } $withToolbar = false; if (!isset($_COOKIE['toolbar'])) $withToolbar = true; header ("Content-Type:application/xhtml+xml"); $page = getURLParam ("page", Base::PAGE_INDEX); $query = getURLParam ("query"); $qid = getURLParam ("id"); $n = getURLParam ("n", "1"); $currentPage = Page::getPage ($page, $qid, $query, $n); $currentPage->InitializeContent (); /* Test to see if pages are opened on an Eink screen * test Kindle, Kobo Touch and Sony PRS-T1 Ereader. * HTTP_USER_AGENT = "Mozilla/5.0 (Linux; U; en-us; EBRD1101; EXT) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" */ if (preg_match("/(Kobo|Kindle\/3.0|EBRD1101)/", $_SERVER['HTTP_USER_AGENT'])) { $isEink = 1; } else { $isEink = 0; } ?> <?php echo htmlspecialchars ($currentPage->title) ?> " media="screen" />

waiting Please Wait

" alt="Settings and menu" />

title) ?>

>
containsBook ()) { ?>
Sort
entryArray as $entry) { if (get_class ($entry) != "EntryBook") { ?>
title) ?>
content) ?>
linkArray as $link) { ?> nav
isPaginated ()) { ?>
" alt="Previous" />

n . " / " . $currentPage->getMaxPage () . " " ?>

" alt="Next" />