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
);
23 login_sequence( true);
25 $id = db_escape_string( $_REQUEST["id"]);
26 $feed_id = db_escape_string( $_REQUEST["feed"]);
27 $cat_id = db_escape_string( $_REQUEST["cat"]);
28 $is_cat = db_escape_string( $_REQUEST["is_cat"]);
30 render_article( $id, $feed_id, $cat_id, $is_cat);