$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("tour"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("tourcms_destinasi"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1 AND a.id_reff ='" . $p_id . "'"; $tab_provinsi = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
} /******************************************************************************* * aksi : logout * deskripsi : clear all cookies redirect to admin to login form *******************************************************************************/ if ($act == "logout") { if (!empty($_SESSION['adminsession'])) { $_SESSION['adminsession'] = array(); session_unset($_SESSION['adminsession']); //session_unset($_SESSION['inline_edit']); //session_destroy(); $msgx->set_msg($app[lang][info]['adm_logout'], 1); $msgx->build_msg(1); } else { session_unset($_SESSION['membersession']); $msgx->set_msg($app[lang][info]['member_logout'], 1); $msgx->build_msg(1); } header("location: {$app['webmin']}/index.php"); exit; } /******************************************************************************* * aksi : dashboard * deskripsi : cms front screen *******************************************************************************/ if ($act == "home") { $admlibx->validate(); $admlibx->set_aktip("cmshome"); $config = $dbu->get_record("konfig", "id", 1); include "home/tmp_home.php"; }
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("sett"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("sett_conbhs"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; $tab_negara = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $filex = new file(); $appx->set_default($act, 'update'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("sett"); /******************************************************************************* * Action : change *******************************************************************************/ if ($act == "update") { $admlib->validate('sett_edit,sett_add'); $formix->init(); if ($step == "1") { $admlib->set_aktip("sett_configbhs"); $config = $dbu->get_record("konfig", "id", 1); $form = $config; $formix->populate($form); include "tmp_config.php"; exit; } if ($step == "2") { $formix->serialize_form(); $formix->validate('', 'p_judul,p_judul_cms,p_domain'); if ($formix->is_error()) { $msgx->build_msg(); header("location: index.php?act=update&error=1&referer=" . $urlx->get_referer()); exit; } $data = $dbu->get_record("konfig", "id", 1);
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("tour"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("tourcms_kategori"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; $tab_bahasa = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("geol"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("geocms_bhs"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; $tab_negara = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("pgn"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("usercms_mana"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND a." . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else { $_SESSION["kcari"] = "";
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("geol"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("geocms_kota"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; $tab_provinsi = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("geol"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("geocms_negara"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND a." . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else { $_SESSION["kcari"] = "";
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("community"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("tourcms_destinasi"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1 AND a.id_komunitas ='" . $p_id . "'"; $tab_provinsi = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("geol"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("geocms_provinsi"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; $tab_negara = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("community"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("communitycms_master"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; $tab_provinsi = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("community"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("communitycms_member"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1 "; $tab_provinsi = ""; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND " . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else {
$appx = new app(); $dbu = new db(); $appx->load_lib('url', 'msg', 'form', 'nav', 'admlib', 'lang.eng'); $formix = new form(); $admlib = new admlib(); $msgx = new msg(); $urlx = new url(); $appx->set_default($act, 'browse'); $appx->set_default($step, 1); $dbu->connect(); $admlib->validate("sett"); /******************************************************************************* * Action : browse *******************************************************************************/ if ($act == "browse") { $admlib->set_aktip("sett_action"); $page = $_REQUEST['page']; // get the requested page $paging = 50; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the direction $where = "WHERE 1=1"; if (isset($_REQUEST["kcari"])) { $_SESSION["kcari"] = $_REQUEST["kcari"]; $_SESSION["fcari"] = $_REQUEST["fcari"]; $where .= " AND a." . $_REQUEST["fcari"] . " LIKE '%" . $_REQUEST["kcari"] . "%'"; } else { $_SESSION["kcari"] = "";