include "authrep.php";
?>
bioRxiv viewer
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
$sub = $_POST['Submit'];
?>
Build published links data
$page = 1;
if(!empty($_GET['page'])) {
$page = filter_input(INPUT_GET, 'page', FILTER_VALIDATE_INT);
if(false === $page) {
$page = 1;
}
}
// set the number of items to display per page
$items_per_page = 600;
$offset = ($page - 1) * $items_per_page;
//$sql = "SELECT * FROM menuitem LIMIT " . $offset . "," . $items_per_page;
$start = $_GET["start"];
$next = $_GET["next"];
if ($next == ""){
$wherestr = "";
$limitstr = " limit 20 ";
}
else {
$wherestr = " where id > $next ";
$limitstr = " limit 20 ";
}
if (!($start == "")){
if ($start == "all"){
$limitstr = "";
$wherestr = "";
}
else {
$limitstr = " limit $start, 20 ";
}
}
$limitstr = " limit 200 ";
$category = $_GET["cat"];
if ($category == "evolutionary-biology"){
$category = "evolutionary biology";
}
$cat = strtolower($category);
include "../connect_symposia.php";
mysql_set_charset("utf8");
include('../simple_html_dom.php');
if (!($sub == "Submit")){
echo '