2 set_include_path(get_include_path() . PATH_SEPARATOR .
3 dirname(__FILE__) . "/include");
5 require_once "functions.php";
6 require_once "sessions.php";
7 require_once "sanity_check.php";
8 require_once "version.php";
9 require_once "config.php";
10 require_once "db-prefs.php";
12 $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
14 login_sequence($link);
18 no_cache_incantation();
20 header('Content-Type: text/html; charset=utf-8');
23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
24 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
28 <title>Tiny Tiny RSS</title>
30 <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/>
31 <link rel="stylesheet" type="text/css" href="digest.css?<?php echo $dt_add ?>"/>
33 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
35 <?php print_user_stylesheet($link) ?>
37 <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
39 <script type="text/javascript" src="lib/prototype.js"></script>
40 <script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
41 <script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
42 <script type="text/javascript" charset="utf-8" src="localized_js.php?<?php echo $dt_add ?>"></script>
44 <script type="text/javascript" charset="utf-8" src="js/functions.js?<?php echo $dt_add ?>"></script>
45 <script type="text/javascript" src="js/digest.js"></script>
47 <script type="text/javascript">
48 Event.observe(window, 'load', function() {
53 <body id="ttrssDigest" class="claro">
54 <div id="overlay" style="display : block">
55 <div id="overlay_inner">
58 <?php print_error(__("Your browser doesn't support Javascript, which is required
59 for this application to function properly. Please check your
60 browser settings.")) ?></p>
63 <img src="images/indicator_white.gif"/>
64 <?php echo __("Loading, please wait...") ?>
71 <?php if (!SINGLE_USER_MODE) { ?>
72 <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
74 <?php if (!SINGLE_USER_MODE) { ?>
75 <a href="backend.php?op=logout"><?php echo __('Logout') ?></a> |
77 <a href='<?php echo get_self_url_prefix() ?>/index.php?mobile=false'>
78 <?php echo __("Regular version") ?></a>
82 <span class="title">Tiny Tiny RSS</span>
86 <div id="article"><div id="article-content"> </div></div>
91 <ul id="feeds-content"> </ul>
95 <ul id="headlines-content"> </ul>