assign("login","1"); $tpl->assign("userName",$_SESSION[userName]); $tpl->assign("username",$_SESSION[username]); $tpl->assign("userId",$_SESSION[userId]); $tpl->assign("userFullName",$_SESSION[userFullName]); $tpl->assign("userDirName",$_SESSION[userDirName]); $tpl->assign("userLastLoggedIn",tanggal($_SESSION[userLastLoggedIn])); include("/home/abatasa/abatasa.com/komponen/home/notifikasi.php"); //include('./komponen/member/notifikasi.php'); } //include('./komponen/banner/banner_fly.php'); $tpl->assign("dev",$dev); $var = getVar($_SERVER["REQUEST_URI"]); $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); //Proses Ajax if($aksi=="ajax" && !empty($var[3]) ){ include("komponen/$kanal/$var[3].php"); exit(); } if(($kanal=="banner") && ($aksi=="lihat") && (file_exists("komponen/banner/lihat.php")) ) { include("komponen/banner/lihat.php"); exit(); } if(file_exists($var[0])) { include($var[0]); } else { die("Website $title dalam masa pemeliharaan. Silahkan berkunjung lain waktu"); } //mysql_close($connect); //untuk page views include("/home/abatasa/login.abatasa.com/komponen/home/pageviews.php"); ?>