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
>
48 Feed URL
: <input id
="qafInput">
50 type
="submit" onclick
="javascript:qafAdd()" value
="Add feed">
52 type
="submit" onclick
="javascript:cancelDialog(this)" value
="Cancel">
58 <td valign
="top" rowspan
="3" class="feeds">
60 <!-- <div id
="feeds"> 
;</div
> -->
63 <a id
="dispSwitchPrompt" href
="javascript:toggleTags()">display tags
</a
>
66 <iframe frameborder
="0"
67 src
="backend.php?op=error&msg=Loading,%20please wait..."
68 id
="feeds-frame" name
="feeds-frame" class="feedsFrame"> </iframe
>
70 <p align
="center">All feeds
:
72 <input
class="button" type
="submit"
73 onclick
="javascript:scheduleFeedUpdate(true)" value
="Update">
75 <input
class="button" type
="submit"
76 onclick
="javascript:catchupAllFeeds()" value
="Mark as read">
81 <td valign
="top" class="headlinesToolbarBox">
82 <table width
="100%" cellpadding
="0" cellspacing
="0">
84 <!-- <tr
><td id
="headlinesTitle" class="headlinesTitle">
87 <tr
><td
class="headlinesToolbar" id
="headlinesToolbar">
89 onblur
="javascript:enableHotkeys()" onfocus
="javascript:disableHotkeys()"
90 onchange
="javascript:search()">
91 <select id
="searchmodebox">
92 <option
>This feed
</option
>
93 <option
>All feeds
</option
>
97 class="button" onclick
="javascript:search()" value
="Search">
98 <!-- <input type
="submit"
99 class="button" onclick
="javascript:resetSearch()" value
="Reset"> -->
103 <select id
="viewbox" onchange
="javascript:viewCurrentFeed(0, '')">
104 <option
>All Articles
</option
>
105 <option
>Starred
</option
>
106 <option selected
>Unread
</option
>
107 <option
>Unread
or Starred
</option
>
108 <option
>Unread
or Updated
</option
>
113 <select id
="limitbox" onchange
="javascript:viewCurrentFeed(0, '')">
116 $limits = array(15 => 15, 30 => 30, 60 => 60);
118 if (DEFAULT_ARTILE_LIMIT
>= 0) {
119 $limits[DEFAULT_ARTICLE_LIMIT
] = DEFAULT_ARTICLE_LIMIT
;
124 array_push($limits, 0);
126 foreach ($limits as $key) {
128 if ($key == DEFAULT_ARTICLE_LIMIT
) { print " selected"; }
131 if ($limits[$key] == 0) { print "All"; } else { print $limits[$key]; }
138  
;Feed
: <input
class="button" type
="submit"
139 onclick
="javascript:viewCurrentFeed(0, 'ForceUpdate')" value
="Update">
141 <input
class="button" type
="submit" id
="btnMarkFeedAsRead"
142 onclick
="javascript:viewCurrentFeed(0, 'MarkAllRead')" value
="Mark as read">
146 <select id
="quickMenuChooser">
147 <option selected
>Preferences
</option
>
148 <option
>Add
new feed
</option
>
149 <!-- <option
>Edit this feed
</option
> -->
151 <input type
="submit" class="button" onclick
="quickMenuGo()" value
="Go">
157 <td id
="headlines" class="headlines" valign
="top">
158 <iframe frameborder
="0" name
="headlines-frame"
159 id
="headlines-frame" class="headlinesFrame"
160 src
="backend.php?op=error&msg=No%20feed%20selected."></iframe
>
163 <td
class="content" id
="content" valign
="top">
164 <iframe frameborder
="0" name
="content-frame"
165 id
="content-frame" class="contentFrame"> </iframe
>
168 <?
if (DISPLAY_FOOTER
) { ?
>
170 <td colspan
="2" class="footer">
171 <a href
="http://bah.spb.su/~fox/tt-rss/">Tiny
-Tiny RSS
</a
> v
<?
= VERSION ?
> ©
; 2005 Andrew Dolgov
172 <?
if (WEB_DEMO_MODE
) { ?
>
173 <br
>Running in demo mode
, some functionality is disabled
.