]>
git.wh0rd.org - tt-rss.git/blob - digest.php
63da77620fafb8525aaf6d82d3dab502e14c9245
2 require_once "functions.php";
3 require_once "sessions.php";
4 require_once "sanity_check.php";
5 require_once "version.php";
6 require_once "config.php";
7 require_once "db-prefs.php";
9 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
11 login_sequence($link);
15 no_cache_incantation();
17 header('Content-Type: text/html; charset=utf-8');
20 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
21 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25 <title
>Tiny Tiny RSS
</title
>
27 <link rel
="stylesheet" type
="text/css" href
="lib/dijit/themes/claro/claro.css"/>
28 <link rel
="stylesheet" type
="text/css" href
="digest.css?<?php echo $dt_add ?>"/>
30 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8"/>
32 <?php
print_user_stylesheet($link) ?
>
34 <link rel
="shortcut icon" type
="image/png" href
="images/favicon.png"/>
36 <script type
="text/javascript" src
="lib/prototype.js"></script
>
37 <script type
="text/javascript" src
="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script
>
38 <script type
="text/javascript" src
="lib/dojo/dojo.js" djConfig
="parseOnLoad: true"></script
>
39 <script type
="text/javascript" charset
="utf-8" src
="localized_js.php?<?php echo $dt_add ?>"></script
>
40 <script type
="text/javascript" charset
="utf-8" src
="functions.js?<?php echo $dt_add ?>"></script
>
42 <script type
="text/javascript" src
="digest.js"></script
>
44 <script type
="text/javascript">
45 Event
.observe(window
, 'load', function() {
50 <body id
="ttrssDigest" class="claro">
51 <div id
="overlay" style
="display : block">
52 <div id
="overlay_inner">
55 <?php
print_error(__("Your browser doesn't support Javascript, which is required
56 for this application to function properly. Please check your
57 browser settings.")) ?
></p
>
60 <img src
="images/indicator_white.gif"/>
61 <?php
echo __("Loading, please wait...") ?
>
69 <?php
if (!SINGLE_USER_MODE
) { ?
>
70 <?php
echo __('Hello,') ?
> <b
><?php
echo $_SESSION["name"] ?
></b
> |
73 <?php
if (!SINGLE_USER_MODE
) { ?
>
74 <a href
="backend.php?op=logout"><?php
echo __('Logout') ?
></a
>
85 <input name
="search" type
="search"></input
>
86 <button
>Search
</button
>
92 <h1
>latest articles
</h1
>
96 <div id
="latest-content"> </div
>
100 <h1
><?php
echo __('feeds') ?
></h1
>
102 <ul id
="feeds-content"> </ul
>
106 <h1
><a href
="#" onclick
="viewfeed(-4)"><?php
echo __('headlines') ?
></a
>:
107 <span id
="headlines-title"></span
></h1
>
109 <ul id
="headlines-content"> </ul
>
118 <a href
="http://tt-rss.org/">Tiny Tiny RSS
</a
>
119 <?php
if (!defined('HIDE_VERSION')) { ?
>
120 v
<?php
echo VERSION ?
>
122 ©
; 2005&ndash
;<?php
echo date('Y') ?
>
123 <a href
="http://fakecake.org/">Andrew Dolgov
</a
>
127 <a href
="tt-rss.php">
128 <?php
echo __("You are viewing the digest page. Click to open full version.") ?
></a
>