]> git.wh0rd.org Git - tt-rss.git/blob - digest.php
update simplepie to 1.3.1 (closes #471)
[tt-rss.git] / digest.php
1 <?php
2         set_include_path(get_include_path() . PATH_SEPARATOR .
3                 dirname(__FILE__) . "/include");
4
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";
11
12         $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
13
14         login_sequence($link);
15
16         $dt_add = time();
17
18         no_cache_incantation();
19
20         header('Content-Type: text/html; charset=utf-8');
21
22 ?>
23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
24         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25
26 <html>
27 <head>
28         <title>Tiny Tiny RSS</title>
29
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 ?>"/>
32
33         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
34
35         <?php print_user_stylesheet($link) ?>
36
37         <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
38
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>
43
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>
46
47         <script type="text/javascript">
48                 Event.observe(window, 'load', function() {
49                         init();
50                 });
51         </script>
52 </head>
53 <body id="ttrssDigest" class="claro">
54         <div id="overlay" style="display : block">
55                 <div id="overlay_inner">
56                 <noscript>
57                         <p>
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>
61                 </noscript>
62
63                 <img src="images/indicator_white.gif"/>
64                         <?php echo __("Loading, please wait...") ?>
65                 </div>
66         </div>
67
68         <div id="header">
69
70         <div class="links">
71         <?php if (!SINGLE_USER_MODE) { ?>
72                         <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
73         <?php } ?>
74         <?php if (!SINGLE_USER_MODE) { ?>
75                         <a href="backend.php?op=logout"><?php echo __('Logout') ?></a> |
76         <?php } ?>
77                         <a href='<?php echo get_self_url_prefix() ?>/index.php?mobile=false'>
78                         <?php echo __("Regular version") ?></a>
79
80         </div>
81
82         <span class="title">Tiny Tiny RSS</span>
83
84         </div>
85
86         <div id="article"><div id="article-content">&nbsp;</div></div>
87
88         <div id="content">
89
90                 <div id="feeds">
91                         <ul id="feeds-content"> </ul>
92                 </div>
93
94                 <div id="headlines">
95                         <ul id="headlines-content"> </ul>
96                 </div>
97         </div>
98
99 </body>
100 </html>