Server IP : 103.11.96.170 / Your IP : 18.191.190.40 Web Server : Microsoft-IIS/10.0 System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64 User : elibrary.unsap.ac.id ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0777) : D:/localhost/absen-fti/sw-admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php error_reporting(0); /* Admin Panel * (c) 20 September 2021 */ @session_start(); ob_start(); require_once'../sw-library/sw-config.php'; include_once '../sw-library/sw-function.php'; if(empty($_SESSION['SESSION_USER']) && empty($_SESSION['SESSION_ID'])){ header('location:./login/'); exit;} else{ require_once'./login/login_session.php'; //ob_start("minify_html"); $dbhostsql = DB_HOST; $dbusersql = DB_USER; $dbpasswordsql = DB_PASSWD; $dbnamesql = DB_NAME; $connection = mysqli_connect($dbhostsql, $dbusersql, $dbpasswordsql, $dbnamesql ) or die( mysqli_error($connection)); $website_url = $row_site['site_url']; $website_name = $row_site['site_name']; $website_phone = $row_site['site_phone']; $website_addres = $row_site['site_address']; $meta_description = $row_site['site_description']; $website_logo = $row_site['site_logo']; $website_email = $row_site['site_email']; $iB = getBrowser(); $browser= $iB['name']; $host_name =gethostbyaddr($_SERVER['REMOTE_ADDR']); $tgl_active = date('Y-m-d'); if(!empty($_GET['mod'])){ $mod = htmlentities(@$_GET['mod']);}else {$mod ='home';} //include_once 'sw-mod/sw-footer.php'; include_once 'sw-mod/sw-header.php'; if(file_exists('./sw-mod/'.$mod.'/'.$mod.'.php')){ include('sw-mod/'.$mod.'/'.$mod.'.php'); include_once 'sw-mod/sw-footer.php'; //theme_foot(); }else{ include('sw-mod/home/home.php'); include_once 'sw-mod/sw-footer.php'; //theme_foot(); } } //ob_end_flush(); // minify_html ?>