2009-12-17 16:42:30 +00:00
|
|
|
<?php
|
|
|
|
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
|
|
|
|
|
|
|
header('Content-Type: text/html; charset=utf-8');
|
|
|
|
|
|
|
|
define('MOBILE_VERSION', true);
|
|
|
|
|
|
|
|
require_once "../config.php";
|
|
|
|
require_once "functions.php";
|
|
|
|
require_once "../functions.php";
|
|
|
|
|
|
|
|
require_once "../sessions.php";
|
|
|
|
|
|
|
|
require_once "../version.php";
|
|
|
|
require_once "../db-prefs.php";
|
|
|
|
|
|
|
|
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
|
|
|
|
|
|
|
init_connection($link);
|
|
|
|
|
|
|
|
login_sequence($link, true);
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<title>Tiny Tiny RSS</title>
|
|
|
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
|
|
|
|
<link rel="apple-touch-icon" href="../lib/iui/iui-logo-touch-icon.png" />
|
|
|
|
<meta name="apple-touch-fullscreen" content="YES" />
|
|
|
|
<style type="text/css" media="screen">@import "../lib/iui/iui.css";</style>
|
|
|
|
<script type="application/x-javascript" src="../lib/iui/iui.js"></script>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
2009-12-18 08:33:35 +00:00
|
|
|
<script type="text/javascript" src="../lib/prototype.js"></script>
|
|
|
|
<script type="text/javascript" src="mobile.js"></script>
|
2009-12-17 16:42:30 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
img { max-width : 75%; }
|
|
|
|
|
|
|
|
li.oldItem {
|
|
|
|
color : gray;
|
|
|
|
}
|
|
|
|
|
2009-12-17 17:35:49 +00:00
|
|
|
#myBackButton {
|
|
|
|
display: none;
|
|
|
|
left: 6px;
|
|
|
|
right: auto;
|
|
|
|
padding: 0;
|
|
|
|
max-width: 55px;
|
|
|
|
border-width: 0 8px 0 14px;
|
|
|
|
-webkit-border-image: url(../lib/iui/backButton.png) 0 8 0 14;
|
|
|
|
}
|
|
|
|
|
2009-12-17 16:42:30 +00:00
|
|
|
img.tinyIcon {
|
|
|
|
max-width : 16px;
|
|
|
|
max-height : 16px;
|
|
|
|
margin-right : 10px;
|
|
|
|
vertical-align : middle;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="toolbar">
|
|
|
|
<h1 id="pageTitle"></h1>
|
2009-12-17 17:35:49 +00:00
|
|
|
<a id="myBackButton" class="button" href="#"></a>
|
2009-12-18 10:01:02 +00:00
|
|
|
<a class="button" href="prefs.php">Preferences</a>
|
2009-12-17 16:42:30 +00:00
|
|
|
</div>
|
2009-12-18 08:47:47 +00:00
|
|
|
|
|
|
|
<?php
|
|
|
|
$use_cats = get_pref($link, 'ENABLE_FEED_CATS');
|
|
|
|
|
|
|
|
if ($use_cats) {
|
|
|
|
render_categories_list($link);
|
|
|
|
} else {
|
|
|
|
render_flat_feed_list($link);
|
|
|
|
}
|
|
|
|
?>
|
2009-12-17 16:42:30 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|