c098789a18373b5b2189861eeae298194595b242
[bookreader.git] / BookReaderIA / www / browserunsupported.php
1 <? require_once '/petabox/setup.inc';
2 /*
3 Copyright(c)2008 Internet Archive. Software license AGPL version 3.
4
5 This file is part of BookReader.
6
7     BookReader is free software: you can redistribute it and/or modify
8     it under the terms of the GNU Affero General Public License as published by
9     the Free Software Foundation, either version 3 of the License, or
10     (at your option) any later version.
11
12     BookReader is distributed in the hope that it will be useful,
13     but WITHOUT ANY WARRANTY; without even the implied warranty of
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU Affero General Public License for more details.
16
17     You should have received a copy of the GNU Affero General Public License
18     along with BookReader.  If not, see <http://www.gnu.org/licenses/>.
19 */
20
21
22 $id = urlencode($_REQUEST['id']); // Sanitize since we put this value in the page
23
24 $flippyURL = "/texts/flipbook/flippy.php?id=$id";
25
26 Nav::bar('Unsupported browser', 'home', null, null, 1, null,
27          '<meta http-equiv="refresh" content="10;url=http://www.archive.org'.$flippyURL.'">',
28          '', true);
29 ?>
30
31
32 <div class="box">
33 <p>
34 Sorry, but our new viewer does not work in this browser yet.
35 </p>
36
37 <p>
38 Either go to our <a href="<?=$flippyURL?>">old viewer</a>,  
39 or download <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> or
40   <a href="http://www.microsoft.com/windows/internet-explorer/download-ie.aspx">IE7 (or higher)</a>.
41 </p>
42
43 <p>
44 You will be automatically redirected to the older viewer in 10 seconds.
45 </p>
46
47 </div>
48
49 <?=footer();?>