function main() { $callback = ''; $handled = false; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['callback'])) { $callback = $_GET['callback']; } if (!$handled) { if (isset($_GET['lastname']) && isset($_GET['firstname'])) { display_author_lastname_prefix($_GET['lastname'], $_GET['firstname'], $callback); $handled = true; } } }
function main() { $callback = ''; $handled = false; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['callback'])) { $callback = $_GET['callback']; } if (!$handled) { if (isset($_GET['wkt'])) { display_wkt($_GET['wkt'], 100, $callback); $handled = true; } } }
function main() { $callback = ''; $handled = false; //print_r($_GET); // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['callback'])) { $callback = $_GET['callback']; } // Submit job if (!$handled) { if (isset($_GET['id'])) { $id = $_GET['id']; if (isset($_GET['page'])) { $page = $_GET['page']; $size = ''; if (isset($_GET['size'])) { $size = $_GET['size']; } display_documentcloud_page($id, $page, $size, $callback); $handled = true; } if (!$handled) { display_documentcloud($id, $callback); $handled = true; } } } if (!$handled) { default_display(); } }
var h = today.getHours(); var m = today.getMinutes(); var s = today.getSeconds(); // add a zero in front of numbers<10 m = checkTime(m); s = checkTime(s); document.getElementById('time').innerHTML = h + ":" + m + ":" + s; t = setTimeout(function () { startTime() }, 500); } startTime(); </script> <?php } else { echo default_display($_GET['room']); } } ?> </td> </tr> </table> </td> </tr> <tr> <td align="center" style="border-top: 1px dashed;"> <?php if ($_SESSION['auth'] == '' || !isset($_SESSION['auth'])) { ?> <input type="button" onclick="location.href='?cmd=login';" value="Login" class="buttonTopMenuOn"> <?php
function main() { $callback = ''; $handled = false; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['callback'])) { $callback = $_GET['callback']; } if (!$handled) { if (isset($_GET['url'])) { $url = urldecode($_GET['url']); $page = ''; if (isset($_GET['page'])) { $page = $_GET['page']; } display_url($url, $page, $callback); $handled = true; } } }
function main() { $query = ''; $bookmark = ''; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } // Error message if (isset($_GET['error'])) { $error_msg = $_GET['error']; default_display($error_msg); exit(0); } // Show a single record if (isset($_GET['id'])) { $id = $_GET['id']; if (isset($_GET['page'])) { // we are vieiwng pages $page = $_GET['page']; // to do: sanity check display_record($id, $page); exit(0); } display_record($id); exit(0); } // Show journals if (isset($_GET['titles'])) { $letter = 'A'; if (isset($_GET['letter'])) { $letter = $_GET['letter']; // sanity check if (!in_array($letter, range('A', 'Z'))) { $letter = 'A'; } } display_titles($letter); exit(0); } // Show images if (isset($_GET['images'])) { display_images(); exit(0); } // Show map if (isset($_GET['map'])) { display_map(); exit(0); } // Show labs if (isset($_GET['labs'])) { display_labs(); exit(0); } // Show journal (ISSN) if (isset($_GET['issn'])) { $issn = $_GET['issn']; $year = ''; if (isset($_GET['year'])) { $year = $_GET['year']; display_journal_year('issn', $issn, $year); exit(0); } display_journal('issn', $issn, $year); exit(0); } // Show journal (OCLSC if (isset($_GET['oclc'])) { $oclc = $_GET['oclc']; $year = ''; if (isset($_GET['year'])) { $year = $_GET['year']; display_journal_year('oclc', $oclc, $year); exit(0); } display_journal('oclc', $oclc, $year); exit(0); } // Show search (text, author) if (isset($_GET['q'])) { $query = $_GET['q']; $bookmark = ''; if (isset($_GET['bookmark'])) { $bookmark = $_GET['bookmark']; } display_search($query, $bookmark); exit(0); } }
function main() { $callback = ''; $handled = false; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['callback'])) { $callback = $_GET['callback']; } // Optional fields to include $fields = array('all'); if (isset($_GET['fields'])) { $field_string = $_GET['fields']; $fields = explode(",", $field_string); } if (!$handled) { if (isset($_GET['letter'])) { display_starting_with(strtoupper($_GET['letter']), $callback); $handled = true; } } if (!$handled) { // OCLC if (isset($_GET['oclc'])) { $oclc = $_GET['oclc']; if (!$handled) { if (isset($_GET['volumes'])) { display_decade_volumes('oclc', $oclc, $callback); $handled = true; } } if (!$handled) { if (isset($_GET['year'])) { $year = $_GET['year']; display_articles_year('oclc', $oclc, $year, $callback); $handled = true; } } if (!$handled) { display_oclc($oclc, $callback); $handled = true; } } // ISSN if (isset($_GET['issn'])) { $issn = $_GET['issn']; if (!$handled) { if (isset($_GET['volumes'])) { display_decade_volumes('issn', $issn, $callback); $handled = true; } } if (!$handled) { if (isset($_GET['year'])) { $year = $_GET['year']; display_articles_year('issn', $issn, $year, $callback); $handled = true; } } if (!$handled) { if (isset($_GET['romeo'])) { display_romeo($issn, $callback); $handled = true; } } if (!$handled) { display_issn($issn, $callback); $handled = true; } } } }
function main() { global $config; global $debug; $query = ''; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } $pageNum = 1; // if $_GET['page'] defined, use it as page number if (isset($_GET['page'])) { $pageNum = $_GET['page']; } // Mode $mode = 'genus'; if (isset($_GET['mode'])) { $mode = $_GET['mode']; switch ($mode) { case 'genus': case 'author': case 'publication': break; default: $mode = 'genus'; } } $genus = ''; if (isset($_GET['q'])) { $query = $_GET['q']; display_search($query, $mode); } if (isset($_GET['genus'])) { $genus = $_GET['genus']; display_genus($genus, $pageNum); } if (isset($_GET['author'])) { $author = $_GET['author']; display_author($author, $pageNum); } if (isset($_GET['publication'])) { $publication = $_GET['publication']; display_publication($publication, $pageNum); } }
function main() { $callback = ''; $handled = false; //print_r($_GET); // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['callback'])) { $callback = $_GET['callback']; } // Submit job if (!$handled) { if (isset($_GET['id'])) { $id = $_GET['id']; $format = ''; if (isset($_GET['format'])) { $format = $_GET['format']; if (isset($_GET['style'])) { $style = $_GET['style']; display_formatted_citation($id, $style); $handled = true; } } if (!$handled) { display_one($id, $format, $callback); $handled = true; } } } if (!$handled) { if (isset($_GET['q'])) { $q = $_GET['q']; $bookmark = ''; if (isset($_GET['bookmark'])) { $bookmark = $_GET['bookmark']; } display_search($q, $bookmark, $callback); $handled = true; } } if (!$handled) { if (isset($_GET['images'])) { display_images(); $handled = true; } } if (!$handled) { if (isset($_GET['page'])) { $PageID = $_GET['page']; $format = ''; if (isset($_GET['format'])) { $format = $_GET['format']; if ($format == 'html') { display_one_page_html($PageID, $format, $callback); $handled = true; } } if (!$handled) { display_one_page($PageID, $callback); $handled = true; } } } if (!$handled) { default_display(); } }
function main() { $query = ''; $bookmark = ''; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } // If show a single record if (isset($_GET['id'])) { $id = $_GET['id']; display_record($id); } if (isset($_GET['q'])) { $query = $_GET['q']; if (isset($_GET['bookmark'])) { $bookmark = $_GET['bookmark']; } display_search($query, $bookmark); exit(0); } if (isset($_GET['page'])) { $page = $_GET['page']; display_page($page); exit(0); } /* if (isset($_GET['author'])) { $query = $_GET['author']; display_author($query); exit(0); } */ }
function main() { $query = ''; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } // If show a single record if (isset($_GET['id'])) { $id = $_GET['id']; display_record($id); } if (isset($_GET['search'])) { $query = $_GET['search']; display_search($query); exit(0); } if (isset($_GET['author'])) { $query = $_GET['author']; display_author($query); exit(0); } if (isset($_GET['publication_outlet'])) { $query = $_GET['publication_outlet']; display_outlet($query); exit(0); } }
function main() { $callback = ''; $handled = false; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['callback'])) { $callback = $_GET['callback']; } if (!$handled) { if (isset($_GET['hash_numbers'])) { display_hash_numbers($_GET['hash_numbers'], $callback); $handled = true; } } if (!$handled) { if (isset($_GET['hash_all_pages'])) { display_hash_all_pages($_GET['hash_all_pages'], $callback); $handled = true; } } if (!$handled) { if (isset($_GET['hash_author'])) { display_hash_author($_GET['hash_author'], $callback); $handled = true; } } }
function main() { $page = ''; // If no query parameters if (count($_GET) == 0) { default_display(); exit(0); } if (isset($_GET['page'])) { $page = $_GET['page']; $result = display_svg($page); if (!$result) { display_error($page); } } else { default_display(); exit(0); } }