2 error_reporting(E_ERROR | E_WARNING | E_PARSE);
4 header('Content-Type: text/html; charset=utf-8');
6 define('MOBILE_VERSION', true);
8 $basedir = dirname(dirname(dirname(__FILE__)));
11 dirname(__FILE__) . PATH_SEPARATOR .
12 $basedir . PATH_SEPARATOR .
13 "$basedir/include" . PATH_SEPARATOR .
16 require_once "config.php";
17 require_once "mobile-functions.php";
21 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
22 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
24 <html xmlns="http://www.w3.org/1999/xhtml">
26 <title>Tiny Tiny RSS</title>
27 <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
28 <link rel="apple-touch-icon" href="iui/iui-logo-touch-icon.png" />
29 <meta name="apple-touch-fullscreen" content="YES" />
30 <style type="text/css" media="screen">@import "iui/iui.css";</style>
31 <script type="application/x-javascript" src="iui/iui.js"></script>
32 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
33 <script type="text/javascript" src="../../lib/prototype.js"></script>
34 <script type="text/javascript" src="mobile.js"></script>
35 <style type="text/css" media="screen">@import "mobile.css";</style>
38 <style type="text/css">
39 img { max-width : 75%; }
51 border-width: 0 8px 0 14px;
52 -webkit-border-image: url(iui/backButton.png) 0 8 0 14;
59 vertical-align : middle;
69 <h1 id="pageTitle"></h1>
70 <a id="myBackButton" class="button" href="#"></a>
71 <a class="button" href="prefs.php">Preferences</a>
75 $use_cats = mobile_get_pref('ENABLE_CATS');
76 $offset = (int) db_escape_string($_REQUEST["skip"]);
79 render_categories_list($link);
81 render_flat_feed_list($offset);