2 require_once "sanity_check.php";
3 require_once "version.php";
4 require_once "config.php";
5 require_once "db-prefs.php";
7 $ERRORS[0] = "Unknown error";
9 $ERRORS[1] = "This program requires XmlHttpRequest " .
10 "to function properly. Your browser doesn't seem to support it.";
12 $ERRORS[2] = "This program requires cookies " .
13 "to function properly. Your browser doesn't seem to support them.";
15 $ERRORS[3] = "Backend sanity check failed.";
17 $ERRORS[4] = "Frontend sanity check failed.";
19 $ERRORS[5] = "Incorrect database schema version.";
21 $ERRORS[6] = "Not authorized.";
23 if ($_GET["c"] == 6) {
24 header("Location: login.php");
27 $ERRORS[7] = "No operation to perform.";
29 $ERRORS[8] = "Could not display feed: query failed. Please check label match syntax or local configuration.";
35 <title
>Tiny Tiny RSS
: Error Message
</title
>
37 <link rel
="stylesheet" href
="tt-rss.css" type
="text/css">
39 <!--[if gte IE
5.5000]>
40 <script type
="text/javascript" src
="pngfix.js"></script
>
43 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
46 <table width
="100%" height
="100%" cellspacing
="0" cellpadding
="0" class="main">
49 <table cellspacing
="0" cellpadding
="0" width
="100%"><tr
>
50 <td
class="header" valign
="middle">
51 <img src
="images/ttrss_logo.png" alt
="logo">
53 <td align
="right" valign
="top">
54 <div id
="notify"><span id
="notify_body"></div
>
60 <td id
="prefContent" class="prefContent" valign
="top" colspan
="2">
64 <div
class="bigErrorMsg"><?
= $ERRORS[$_GET["c"]] ?
></div
>
69 <td
class="footer" colspan
="2">
70 <a href
="http://bah.spb.su/~fox/tt-rss/">Tiny
-Tiny RSS
</a
> v
<?
= VERSION ?
> ©
; 2005 Andrew Dolgov
71 <?
if (WEB_DEMO_MODE
) { ?
>
72 <br
>Running in demo mode
, some functionality is disabled
.