ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() 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/ |
<?php $v_event_id = (isset($CORE->input['id']) && $CORE->input['id']>0) ? $CORE->input['id']:0; $v_service_event_id = (isset($CORE->input['service_event_id']) && $CORE->input['service_event_id']>0) ? $CORE->input['service_event_id'] : 0; $row_check_log = $DB->fetch_row($DB->query("SELECT * FROM tb_service_event_status_log WHERE service_event_id='$v_service_event_id' ORDER BY service_event_status_date DESC, time_post DESC LIMIT 1 ")); if($row_check_log['service_event_status']=='active'){ exit('Dịch vụ nà y đã kÃch hoạt ngà y '.$row_check_log['service_event_status_date']); }else{ $arr_insert_log = array('service_event_id'=>$v_service_event_id,'service_event_status'=>'active','service_event_status_date'=>date('Y-m-d h:i:s'),'time_post'=>time(),'user_post'=>$ob_user->user_name); $DB->do_insert('tb_service_event_status_log',$arr_insert_log); $DB->query("UPDATE tb_service_event SET service_event_status='active' WHERE service_event_id='$v_service_event_id' "); $print->refresh('?act=management&code=service&type=post&type2=post_service_event&id='.$v_event_id.'&service_event_id='.$v_service_event_id); } ?>