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.";
33 <title
>Tiny Tiny RSS
: Error Message
</title
>
35 <link rel
="stylesheet" href
="tt-rss.css" type
="text/css">
37 <!--[if gte IE
5.5000]>
38 <script type
="text/javascript" src
="pngfix.js"></script
>
41 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
44 <table width
="100%" height
="100%" cellspacing
="0" cellpadding
="0" class="main">
47 <table cellspacing
="0" cellpadding
="0" width
="100%"><tr
>
48 <td
class="header" valign
="middle">
49 <img src
="images/ttrss_logo.png" alt
="logo">
51 <td align
="right" valign
="top">
52 <div id
="notify"><span id
="notify_body"></div
>
58 <td id
="prefContent" class="prefContent" valign
="top" colspan
="2">
62 <div
class="bigErrorMsg"><?
= $ERRORS[$_GET["c"]] ?
></div
>
67 <td
class="footer" colspan
="2">
68 <a href
="http://bah.spb.su/~fox/tt-rss/">Tiny
-Tiny RSS
</a
> v
<?
= VERSION ?
> ©
; 2005 Andrew Dolgov
69 <?
if (WEB_DEMO_MODE
) { ?
>
70 <br
>Running in demo mode
, some functionality is disabled
.