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";
19 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
21 init_connection($link);
23 login_sequence($link, true);
25 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
26 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
28 <html xmlns
="http://www.w3.org/1999/xhtml">
30 <title
>Tiny Tiny RSS
</title
>
31 <meta name
="viewport" content
="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
32 <link rel
="apple-touch-icon" href
="iui/iui-logo-touch-icon.png" />
33 <meta name
="apple-touch-fullscreen" content
="YES" />
34 <style type
="text/css" media
="screen">@import
"iui/iui.css";</style
>
35 <script type
="application/x-javascript" src
="iui/iui.js"></script
>
36 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8"/>
37 <script type
="text/javascript" src
="../../lib/prototype.js"></script
>
38 <script type
="text/javascript" src
="mobile.js"></script
>
39 <style type
="text/css" media
="screen">@import
"mobile.css";</style
>
42 <style type
="text/css">
43 img
{ max
-width
: 75%
; }
55 border
-width
: 0 8px
0 14px
;
56 -webkit
-border
-image
: url(iui
/backButton
.png
) 0 8 0 14;
63 vertical
-align
: middle
;
73 <h1 id
="pageTitle"></h1
>
74 <a id
="myBackButton" class="button" href
="#"></a
>
75 <a
class="button" href
="prefs.php">Preferences
</a
>
79 $use_cats = mobile_get_pref($link, 'ENABLE_CATS');
80 $offset = (int) db_escape_string($link, $_REQUEST["skip"]);
83 render_categories_list($link);
85 render_flat_feed_list($link, $offset);