2 require_once "version.php";
3 require_once "config.php";
4 require_once "db-prefs.php";
6 $ERRORS[0] = "Unknown error";
8 $ERRORS[1] = "This program requires XmlHttpRequest " .
9 "to function properly. Your browser doesn't seem to support it.";
11 $ERRORS[2] = "This program requires cookies " .
12 "to function properly. Your browser doesn't seem to support them.";
14 $ERRORS[3] = "Backend sanity check failed.";
16 $ERRORS[4] = "Frontend sanity check failed.";
18 $ERRORS[5] = "Incorrect database schema version.";
20 $ERRORS[6] = "Not authorized.";
22 if ($_GET["c"] == 6) {
23 header("Location: login.php");
30 <title
>Tiny Tiny RSS
: Error Message
</title
>
32 <link rel
="stylesheet" href
="tt-rss.css" type
="text/css">
34 <!--[if gte IE
5.5000]>
35 <script type
="text/javascript" src
="pngfix.js"></script
>
38 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
41 <table width
="100%" height
="100%" cellspacing
="0" cellpadding
="0" class="main">
44 <table cellspacing
="0" cellpadding
="0" width
="100%"><tr
>
45 <td
class="header" valign
="middle">
46 <img src
="images/ttrss_logo.png" alt
="logo">
48 <td align
="right" valign
="top">
49 <div id
="notify"><span id
="notify_body"></div
>
55 <td id
="prefContent" class="prefContent" valign
="top" colspan
="2">
59 <div
class="bigErrorMsg"><?
= $ERRORS[$_GET["c"]] ?
></div
>
64 <td
class="footer" colspan
="2">
65 <a href
="http://bah.spb.su/~fox/tt-rss/">Tiny
-Tiny RSS
</a
> v
<?
= VERSION ?
> ©
; 2005 Andrew Dolgov
66 <?
if (WEB_DEMO_MODE
) { ?
>
67 <br
>Running in demo mode
, some functionality is disabled
.