1 <?
require_once "version.php" ?
>
2 <?
require_once "config.php" ?
>
6 <title
>Tiny Tiny RSS
</title
>
8 <?
if (USE_COMPACT_STYLESHEET
) { ?
>
10 <link title
="Compact Stylesheet"
11 rel
="stylesheet" href
="tt-rss_compact.css" type
="text/css">
12 <link title
="Normal Stylesheet" rel
="alternate stylesheet"
13 type
="text/css" href
="tt-rss.css"/>
17 <link title
="Normal Stylesheet"
18 rel
="stylesheet" href
="tt-rss.css" type
="text/css">
19 <link title
="Compact Stylesheet" rel
="alternate stylesheet"
20 type
="text/css" href
="tt-rss_compact.css"/>
24 <script type
="text/javascript" src
="functions.js"></script
>
25 <script type
="text/javascript" src
="tt-rss.js"></script
>
26 <!--[if gte IE
5.5000]>
27 <script type
="text/javascript" src
="pngfix.js"></script
>
29 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
32 <body onload
="init()">
34 <table width
="100%" height
="100%" cellspacing
="0" cellpadding
="0" class="main">
35 <?
if (DISPLAY_HEADER
) { ?
>
37 <td colspan
="2" class="headerBox">
38 <table cellspacing
="0" cellpadding
="0" width
="100%"><tr
>
39 <td
class="header" valign
="middle">
40 <img src
="images/ttrss_logo.png" alt
="logo">
42 <td align
="right" valign
="top">
43 <div id
="notify"><span id
="notify_body"></div
>
47 <div id
="userDlg"> 
;</div
>
53 <td valign
="top" rowspan
="3" class="feeds">
55 <!-- <div id
="feeds"> 
;</div
> -->
58 <a id
="dispSwitchPrompt" href
="javascript:toggleTags()">display tags
</a
>
61 <iframe frameborder
="0"
62 src
="backend.php?op=error&msg=Loading,%20please wait..."
63 id
="feeds-frame" name
="feeds-frame" class="feedsFrame"> </iframe
>
65 <p align
="center">All feeds
:
67 <input
class="button" type
="submit"
68 onclick
="javascript:scheduleFeedUpdate(true)" value
="Update">
70 <input
class="button" type
="submit"
71 onclick
="javascript:catchupAllFeeds()" value
="Mark as read">
76 <td valign
="top" class="headlinesToolbarBox">
77 <table width
="100%" cellpadding
="0" cellspacing
="0">
79 <!-- <tr
><td id
="headlinesTitle" class="headlinesTitle">
82 <tr
><td
class="headlinesToolbar" id
="headlinesToolbar">
84 onblur
="javascript:enableHotkeys()" onfocus
="javascript:disableHotkeys()"
85 onchange
="javascript:search()">
86 <select id
="searchmodebox">
87 <option
>This feed
</option
>
88 <option
>All feeds
</option
>
92 class="button" onclick
="javascript:search()" value
="Search">
93 <!-- <input type
="submit"
94 class="button" onclick
="javascript:resetSearch()" value
="Reset"> -->
98 <select id
="viewbox" onchange
="javascript:viewCurrentFeed(0, '')">
99 <option
>All Articles
</option
>
100 <option
>Starred
</option
>
101 <option selected
>Unread
</option
>
102 <option
>Unread
or Starred
</option
>
103 <option
>Unread
or Updated
</option
>
108 <select id
="limitbox" onchange
="javascript:viewCurrentFeed(0, '')">
111 $limits = array(15 => 15, 30 => 30, 60 => 60);
113 if (DEFAULT_ARTILE_LIMIT
>= 0) {
114 $limits[DEFAULT_ARTICLE_LIMIT
] = DEFAULT_ARTICLE_LIMIT
;
119 array_push($limits, 0);
121 foreach ($limits as $key) {
123 if ($key == DEFAULT_ARTICLE_LIMIT
) { print " selected"; }
126 if ($limits[$key] == 0) { print "All"; } else { print $limits[$key]; }
133  
;Feed
: <input
class="button" type
="submit"
134 onclick
="javascript:viewCurrentFeed(0, 'ForceUpdate')" value
="Update">
136 <input
class="button" type
="submit" id
="btnMarkFeedAsRead"
137 onclick
="javascript:viewCurrentFeed(0, 'MarkAllRead')" value
="Mark as read">
141 <select id
="quickMenuChooser">
142 <option selected
>Preferences
</option
>
143 <option
>Add
new feed
</option
>
144 <!-- <option
>Edit this feed
</option
> -->
146 <input type
="submit" class="button" onclick
="quickMenuGo()" value
="Go">
152 <td id
="headlines" class="headlines" valign
="top">
153 <iframe frameborder
="0" name
="headlines-frame"
154 id
="headlines-frame" class="headlinesFrame"
155 src
="backend.php?op=error&msg=No%20feed%20selected."></iframe
>
158 <td
class="content" id
="content" valign
="top">
159 <iframe frameborder
="0" name
="content-frame"
160 id
="content-frame" class="contentFrame"> </iframe
>
163 <?
if (DISPLAY_FOOTER
) { ?
>
165 <td colspan
="2" class="footer">
166 <a href
="http://bah.spb.su/~fox/tt-rss/">Tiny
-Tiny RSS
</a
> v
<?
= VERSION ?
> ©
; 2005 Andrew Dolgov
167 <?
if (WEB_DEMO_MODE
) { ?
>
168 <br
>Running in demo mode
, some functionality is disabled
.