]> git.wh0rd.org - tt-rss.git/blame - mobile/tt-rss.php
move out some functions from backend.php
[tt-rss.git] / mobile / tt-rss.php
CommitLineData
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">
22</head>
23<body>
24
8e3f7217 25<div id="opsel">
ca35939d
AD
26 <form method="GET">
27 <select name="go">
28 <option>Feeds</option>
29 <option>Preferences</option>
30 <option disabled>--------------</option>
8e3f7217 31 <option disabled>[user feed list]</option>
ca35939d
AD
32 <option disabled>--------------</option>
33 <option>Logout</option>
34 </select>
35 <input type="submit" value="Go">
36 </form>
8e3f7217
AD
37</div>
38
39<div id="content">
ca35939d
AD
40<?
41 $go = $_GET["go"];
42
43 if (!$go || $go == "Feeds") {
44 render_feeds_list($link);
8e3f7217
AD
45 } else {
46 print "Function not implemented";
ca35939d
AD
47 }
48
49?>
8e3f7217
AD
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>
ca35939d 55
9338b88c
AD
56</body>
57</html>