| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!---
- /**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category Zend
- * @package Zend_Gdata
- * @subpackage Demos
- * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- *
- */
- -->
- <html>
- <head>
- <title>Books Data API Browser in PHP</title>
- <link href="books_browser.css" type="text/css" rel="stylesheet"/>
- <script type="text/javascript" src="http://www.google.com/jsapi">
- </script>
- <script type="text/javascript">
- function load_viewport(identifier, viewport_div_id) {
- var viewport_div = document.getElementById(viewport_div_id);
- var rightpane_div = viewport_div.parentNode;
- rightpane_div.style.display = 'table-cell';
- viewport_div.innerHTML = 'Loading...';
- var viewer = new google.books.DefaultViewer(viewport_div);
- viewer.load(identifier, handle_not_found);
- }
- function on_load() {
- }
- function handle_not_found() {
- var viewport_div = document.getElementById(viewport_div_id);
- viewport_div.parentNode.style.display = 'none';
- }
- google.load('books', '0');
- google.setOnLoadCallback(on_load);
- </script>
- </head>
- <body>
- <script>
- </script>
- <div id="titleBar">
- <div id="titleText"><h1>Books Data API Browser in PHP</h1></div>
- <br />
- </div>
- <br clear="all" />
- <div id="mainSearchBox">
- <h2>Search Books:</h2>
- <form id="mainSearchForm" action="index.php">
- <select name="queryType">
- <option value="all" selected="true">All Books</option>
- <option value="partial_view">Limited preview and full view</option>
- <option value="full_view">Full view books only</option>
- </select>
- <input name="maxResults" type="hidden" value="6">
- <input name="searchTerm" type="text" value="">
- <input type="submit" value="Search">
- <a href="http://www.google.com"><img
- src="http://books.google.com/googlebooks/images/poweredby.png"
- border="0" width="62" height="30" align="absbottom"
- style="position:relative; top: 6px; padding-left: 10px"></a>
- </form>
- </div>
- <br>
- <br clear="all" />
|