]>
git.wh0rd.org - tt-rss.git/blob - digest.php
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
>
26 <link rel
="stylesheet" type
="text/css" href
="digest.css?<?php echo $dt_add ?>"/>
27 <link rel
="stylesheet" type
="text/css" href
="infobox.css?<?php echo $dt_add ?>"/>
29 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8"/>
31 <?php
$user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?
>
32 <?php
if ($user_css_url) { ?
>
33 <link rel
="stylesheet" type
="text/css" href
="<?php echo $user_css_url ?>"/>
36 <link rel
="shortcut icon" type
="image/png" href
="images/favicon.png"/>
38 <script type
="text/javascript" src
="lib/prototype.js"></script
>
39 <script type
="text/javascript" src
="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script
>
40 <script type
="text/javascript" charset
="utf-8" src
="localized_js.php?<?php echo $dt_add ?>"></script
>
41 <script type
="text/javascript" charset
="utf-8" src
="functions.js?<?php echo $dt_add ?>"></script
>
43 <script type
="text/javascript" src
="digest.js"></script
>
45 <script type
="text/javascript">
46 Event
.observe(window
, 'load', function() {
51 <body id
="ttrssDigest">
52 <div id
="overlay" style
="display : block">
53 <div id
="overlay_inner">
56 <?php
print_error(__("Your browser doesn't support Javascript, which is required
57 for this application to function properly. Please check your
58 browser settings.")) ?
></p
>
61 <img src
="images/indicator_white.gif"/>
62 <?php
echo __("Loading, please wait...") ?
>
66 <div id
="dialog_overlay" style
="display : none"> </div
>
68 <div id
="errorBoxShadow" style
="display : none">
70 <div id
="xebTitle"><?php
echo __('Fatal Exception') ?
></div
><div id
="xebContent"> 
;</div
>
71 <div id
="xebBtn" align
='center'>
72 <button onclick
="closeErrorBox()"><?php
echo __('Close this window') ?
></button
>
81 <?php
if (!SINGLE_USER_MODE
) { ?
>
82 <?php
echo __('Hello,') ?
> <b
><?php
echo $_SESSION["name"] ?
></b
> |
85 <?php
if (!SINGLE_USER_MODE
) { ?
>
86 <a href
="logout.php"><?php
echo __('Logout') ?
></a
>
91 <?php
echo __('Tiny Tiny RSS') ?
>
97 <input name
="search" type
="search"></input
>
98 <button
>Search
</button
>
104 <h1
>latest articles
</h1
>
108 <div id
="latest-content"> </div
>
112 <h1
><?php
echo __('feeds') ?
></h1
>
114 <ul id
="feeds-content"> </ul
>
118 <h1
><a href
="#" onclick
="viewfeed(-4)"><?php
echo __('headlines') ?
></a
>:
119 <span id
="headlines-title"></span
></h1
>
121 <ul id
="headlines-content"> </ul
>
130 <a href
="http://tt-rss.org/">Tiny Tiny RSS
</a
>
131 <?php
if (!defined('HIDE_VERSION')) { ?
>
132 v
<?php
echo VERSION ?
>
134 ©
; 2005&ndash
;<?php
echo date('Y') ?
>
135 <a href
="http://fakecake.org/">Andrew Dolgov
</a
>
139 <a href
="tt-rss.php">
140 <?php
echo __("You are viewing the digest page. Click to open full version.") ?
></a
>