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