tt-rss/mobile/tt-rss.php

58 lines
1.1 KiB
PHP
Raw Normal View History

2006-03-24 11:00:57 +01:00
<?
require_once "../functions.php";
2006-03-27 04:46:22 +02:00
require_once "functions.php";
2006-03-24 11:00:57 +01:00
basic_nosid_redirect_check();
require_once "../sessions.php";
require_once "../version.php";
require_once "../config.php";
require_once "../db-prefs.php";
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
2006-03-27 04:46:22 +02:00
login_sequence($link);
2006-03-24 11:00:57 +01:00
?>
<html>
<head>
<title>Tiny Tiny RSS - Mobile</title>
<link rel="stylesheet" type="text/css" href="mobile.css">
</head>
<body>
2006-03-27 05:10:46 +02:00
<div id="opsel">
2006-03-27 04:46:22 +02:00
<form method="GET">
<select name="go">
<option>Feeds</option>
<option>Preferences</option>
<option disabled>--------------</option>
2006-03-27 05:10:46 +02:00
<option disabled>[user feed list]</option>
2006-03-27 04:46:22 +02:00
<option disabled>--------------</option>
<option>Logout</option>
</select>
<input type="submit" value="Go">
</form>
2006-03-27 05:10:46 +02:00
</div>
<div id="content">
2006-03-27 04:46:22 +02:00
<?
$go = $_GET["go"];
if (!$go || $go == "Feeds") {
render_feeds_list($link);
2006-03-27 05:10:46 +02:00
} else {
print "Function not implemented";
2006-03-27 04:46:22 +02:00
}
?>
2006-03-27 05:10:46 +02:00
</div>
<div id="footer">
<a href="http://tt-rss.spb.ru/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005-2006 Andrew Dolgov
</div>
2006-03-27 04:46:22 +02:00
2006-03-24 11:00:57 +01:00
</body>
</html>