]> git.wh0rd.org - tt-rss.git/blob - mobile/tt-rss.php
mobile version work (3)
[tt-rss.git] / mobile / tt-rss.php
1 <?
2 require_once "../functions.php";
3 require_once "functions.php";
4
5 basic_nosid_redirect_check();
6
7 require_once "../sessions.php";
8
9 require_once "../version.php";
10 require_once "../config.php";
11 require_once "../db-prefs.php";
12
13 $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
14
15 login_sequence($link);
16
17 ?>
18 <html>
19 <head>
20 <title>Tiny Tiny RSS - Mobile</title>
21 <link rel="stylesheet" type="text/css" href="mobile.css">
22 </head>
23 <body>
24
25 <div id="opsel">
26 <form method="GET">
27 <select name="go">
28 <option>Feeds</option>
29 <option>Preferences</option>
30 <option disabled>--------------</option>
31 <option disabled>[user feed list]</option>
32 <option disabled>--------------</option>
33 <option>Logout</option>
34 </select>
35 <input type="submit" value="Go">
36 </form>
37 </div>
38
39 <div id="content">
40 <?
41 $go = $_GET["go"];
42
43 if (!$go || $go == "Feeds") {
44 render_feeds_list($link);
45 } else {
46 print "Function not implemented";
47 }
48
49 ?>
50 </div>
51
52 <div id="footer">
53 <a href="http://tt-rss.spb.ru/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005-2006 Andrew Dolgov
54 </div>
55
56 </body>
57 </html>