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 "mobile-functions.php";
11 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
13 init_connection($link);
15 login_sequence($link, true);
17 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
18 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
20 <html xmlns
="http://www.w3.org/1999/xhtml">
22 <title
>Tiny Tiny RSS
</title
>
23 <meta name
="viewport" content
="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
24 <link rel
="apple-touch-icon" href
="../lib/iui/iui-logo-touch-icon.png" />
25 <meta name
="apple-touch-fullscreen" content
="YES" />
26 <style type
="text/css" media
="screen">@import
"../lib/iui/iui.css";</style
>
27 <script type
="application/x-javascript" src
="../lib/iui/iui.js"></script
>
28 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8"/>
29 <script type
="text/javascript" src
="../lib/prototype.js"></script
>
30 <script type
="text/javascript" src
="mobile.js"></script
>
31 <style type
="text/css" media
="screen">@import
"mobile.css";</style
>
34 <style type
="text/css">
35 img
{ max
-width
: 75%
; }
47 border
-width
: 0 8px
0 14px
;
48 -webkit
-border
-image
: url(../lib
/iui
/backButton
.png
) 0 8 0 14;
55 vertical
-align
: middle
;
65 <h1 id
="pageTitle"></h1
>
66 <a id
="myBackButton" class="button" href
="#"></a
>
67 <a
class="button" href
="prefs.php">Preferences
</a
>
71 $use_cats = mobile_get_pref($link, 'ENABLE_CATS');
72 $offset = (int) db_escape_string($_REQUEST["skip"]);
75 render_categories_list($link);
77 render_flat_feed_list($link, $offset);