]> git.wh0rd.org Git - tt-rss.git/blob - error.php
e1e9045bf66f487bcd220d1c1add50fbcdd0bc6b
[tt-rss.git] / error.php
1 <? require_once "version.php" ?>
2 <? require_once "config.php" ?>
3
4 <?
5         $ERRORS[0] = "Unknown error";
6
7         $ERRORS[1] = "This program requires XmlHttpRequest " .
8                         "to function properly. Your browser doesn't seem to support it.";
9
10         $ERRORS[2] = "This program requires cookies " .
11                         "to function properly. Your browser doesn't seem to support them.";
12
13         $ERRORS[3] = "Backend sanity check failed.";
14
15         $ERRORS[4] = "Frontend sanity check failed.";
16
17         $ERRORS[5] = "Incorrect database schema version.";
18
19 ?>
20
21 <html>
22 <head>
23         <title>Tiny Tiny RSS : Error Message</title>
24
25         <link   rel="stylesheet" href="tt-rss.css" type="text/css">
26         
27         <!--[if gte IE 5.5000]>
28                 <script type="text/javascript" src="pngfix.js"></script>
29         <![endif]-->
30
31         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
32 </head>
33
34 <table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
35 <? if (DISPLAY_HEADER) { ?>
36 <tr>
37         <td colspan="2">
38                 <table cellspacing="0" cellpadding="0" width="100%"><tr>
39                         <td class="header" valign="middle">     
40                                 <img src="images/ttrss_logo.png" alt="logo">    
41                         </td>
42                         <td align="right" valign="top">
43                                 <div id="notify"><span id="notify_body"></div>
44                         </td>
45                 </tr></table>
46         </td>
47 </tr>
48 <? } ?>
49 <tr>
50         <td id="prefContent" class="prefContent" valign="top" colspan="2">
51                 
52                 <h1>Fatal Error</h1>
53
54                 <div class="bigErrorMsg"><?= $ERRORS[$_GET["c"]] ?></div>
55
56         </td>
57 </tr>
58 <? if (DISPLAY_FOOTER) { ?>
59 <tr>
60         <td class="footer" colspan="2">
61                 <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
62                 <? if (WEB_DEMO_MODE) { ?>
63                 <br>Running in demo mode, some functionality is disabled.
64                 <? } ?>
65         </td>
66 </td>
67 <? } ?>
68 </table>
69
70
71
72 </body>
73 </html>
74