]>
Commit | Line | Data |
---|---|---|
9338b88c AD |
1 | <? |
2 | require_once "../functions.php"; | |
ca35939d | 3 | require_once "functions.php"; |
9338b88c AD |
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); | |
ca35939d AD |
14 | |
15 | login_sequence($link); | |
16 | ||
9338b88c AD |
17 | ?> |
18 | <html> | |
19 | <head> | |
20 | <title>Tiny Tiny RSS - Mobile</title> | |
21 | <link rel="stylesheet" type="text/css" href="mobile.css"> | |
2f468537 | 22 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
9338b88c AD |
23 | </head> |
24 | <body> | |
25 | ||
2f468537 AD |
26 | <div id="heading"> |
27 | ||
8e3f7217 | 28 | <div id="opsel"> |
ca35939d AD |
29 | <form method="GET"> |
30 | <select name="go"> | |
31 | <option>Feeds</option> | |
2f468537 | 32 | <option disabled>Preferences</option> |
ca35939d | 33 | <option disabled>--------------</option> |
8e3f7217 | 34 | <option disabled>[user feed list]</option> |
ca35939d AD |
35 | <option disabled>--------------</option> |
36 | <option>Logout</option> | |
37 | </select> | |
38 | <input type="submit" value="Go"> | |
39 | </form> | |
8e3f7217 AD |
40 | </div> |
41 | ||
2f468537 AD |
42 | </div> |
43 | ||
8e3f7217 | 44 | <div id="content"> |
ca35939d AD |
45 | <? |
46 | $go = $_GET["go"]; | |
47 | ||
48 | if (!$go || $go == "Feeds") { | |
49 | render_feeds_list($link); | |
2f468537 AD |
50 | } else if ($go == "vf") { |
51 | render_headlines($link); | |
8e3f7217 AD |
52 | } else { |
53 | print "Function not implemented"; | |
ca35939d AD |
54 | } |
55 | ||
56 | ?> | |
8e3f7217 AD |
57 | </div> |
58 | ||
59 | <div id="footer"> | |
60 | <a href="http://tt-rss.spb.ru/">Tiny-Tiny RSS</a> v<?= VERSION ?> © 2005-2006 Andrew Dolgov | |
61 | </div> | |
ca35939d | 62 | |
9338b88c AD |
63 | </body> |
64 | </html> |