]> git.wh0rd.org Git - tt-rss.git/commitdiff
more mobile work
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 27 Mar 2006 02:46:22 +0000 (03:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 27 Mar 2006 02:46:22 +0000 (03:46 +0100)
mobile/tt-rss.php

index 729969a6400155da3850994191acb6b67c8a173a..9b1453e223c26e3a8d1e34a6618513ba45a13214 100644 (file)
@@ -1,5 +1,6 @@
 <?
        require_once "../functions.php"; 
+       require_once "functions.php";
 
        basic_nosid_redirect_check();
 
@@ -10,6 +11,9 @@
        require_once "../db-prefs.php";
 
        $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); 
+
+       login_sequence($link);
+
 ?>
 <html>
 <head>
 </head>
 <body>
 
+<table width='640' height='100%'>
+<tr><td class="heading">
+       Your Feeds
+</td>
+<td align='right'>
+       <form method="GET">
+               <select name="go">
+                       <option>Feeds</option>
+                       <option>Preferences</option>
+                       <option disabled>--------------</option>
+                       <option disabled>--------------</option>
+                       <option>Logout</option>
+               </select>
+               <input type="submit" value="Go">
+       </form>
+</td>
+</tr>
+<td class="content" height='100%' colspan='2' valign='top'>
+<?
+       $go = $_GET["go"];
+
+       if (!$go || $go == "Feeds") {
+               render_feeds_list($link);
+       }
+
+?>
+</td></tr>
+</table>
+
 </body>
 </html>