template_dir = $lokasiweb.'template/mobile/'; $tpl->compile_dir = $lokasiweb. 'templates_c/mobile/'; $tpl->assign("lokasiweb",$lokasiweb); $tpl->assign("lokasitemplate",$lokasitemplate); $tpl->assign("basedomain",$basedomain); $tpl->assign("templatelogin",$templatelogin); $tpl->assign("title",$title); $tpl->assign("cleanurl",$cleanurl); $tpl->assign("owner",$owner); $tpl->assign("support",$support); $tpl->assign("support_email",$support_email); $tpl->assign("metakeyword",$metakeyword); $tpl->assign("badword",$badword); $tpl->assign("badip",$badip); $tpl->assign("domain",$domain); $tpl->assign("fasilitasprint",$fasilitasprint); $tpl->assign("fasilitasemail",$fasilitasemail); $tpl->assign("fasilitaspdf",$fasilitaspdf); $tpl->assign("lokasiwebmember",$fasilitas); $tpl->assign("lokasiwebtemplate",$lokasiwebtemplate); $tpl->assign("fulldomain",$fulldomain); $tpl->assign("domainfull",$fulldomain); $tpl->assign("basedomain",$basedomain); $br = $_SERVER['HTTP_USER_AGENT']; if(preg_match("/BlackBerry/i",$br)) $via = "bb"; else if(preg_match("/Android/i",$br)) $via = "android"; else if(preg_match("/iPhone/i",$br)) $via = "iphone"; else $via = "m"; $tpl->assign("via","$via"); } if($_SESSION[userName]){ $tpl->assign("login","1"); $tpl->assign("userName",$_SESSION[userName]); $tpl->assign("userId",$_SESSION[userId]); $tpl->assign("userFullName",$_SESSION[userFullName]); $tpl->assign("userDirName",$_SESSION[userDirName]); } if($_SESSION[userName]){ include("/home/abatasa/abatasa.com/komponen/home/notifikasi.php"); } include('/home/abatasa/abatasa.com/komponen/useronline/useronline.php'); $var = getVar($_SERVER["REQUEST_URI"],"photo"); $tpl->assign("uri","$fulldomain".$_SERVER['REQUEST_URI']); $rubrik = $var[1]; $tpl->assign("rubrik",$rubrik); $kanal = $var[2]; $tpl->assign("kanal",$kanal); $aksi = $var[3]; $tpl->assign("aksi",$aksi); $subaksi = $var[4]; $tpl->assign("subaksi",$subaksi); $subaksi2 = $var[5]; $tpl->assign("subaksi2",$subaksi2); //Proses Ajax if($aksi=="ajax" && !empty($var[3]) ){ include("komponen/$kanal/$var[3].php"); exit(); } //Facebook dan Twitter Connect require_once "librari/facebook/fbconf.php"; $tpl->assign("appapikey",$appapikey); if(file_exists($var[0])) { include($var[0]); } else { die("Website $title dalam masa pemeliharaan. Silahkan berkunjung lain waktu"); } ?>