]>
git.wh0rd.org - tt-rss.git/blob - mobile/tt-rss.php
f5a184271786f8e1c955c91395f81089890c810e
2 require_once "../functions.php";
3 require_once "functions.php";
5 basic_nosid_redirect_check();
7 require_once "../sessions.php";
9 require_once "../version.php";
10 require_once "../config.php";
11 require_once "../db-prefs.php";
13 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
15 login_sequence($link);
17 /* perform various redirect-needing subops */
19 $subop = db_escape_string($_GET["subop"]);
22 if ($subop == "tc" && !$go) {
24 $cat_id = db_escape_string($_GET["id"]);
27 db_query($link, "UPDATE ttrss_feed_categories SET
28 collapsed = NOT collapsed WHERE id = '$cat_id' AND owner_uid = " .
30 header("Location: tt-rss.php");
38 <title
>Tiny Tiny RSS
- Mobile
</title
>
39 <link rel
="stylesheet" type
="text/css" href
="mobile.css">
40 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
47 render_feeds_list($link);
48 } else if ($go == "vf") {
49 render_headlines($link);
50 } else if ($go == "view") {
51 render_article($link);
53 print "Function not implemented";
60 <a href
="http://tt-rss.spb.ru/">Tiny
-Tiny RSS
</a
> v
<?
= VERSION ?
> ©
; 2005-2006 Andrew Dolgov