���� 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/infohosting/ |
<?php $infohosting_id = $CORE->input['infohosting_id']; $log_id = $CORE->input['log_id']; $r_check_vps = $DB->fetch_row($DB->query("SELECT * FROM tb_infohosting WHERE infohosting_id='$infohosting_id'")); $r_log = $DB->fetch_row($DB->query("SELECT * FROM tb_infohosting_log WHERE infohosting_log_id='$log_id'")); $r_log_check = $DB->fetch_row($DB->query("SELECT * FROM tb_infohosting_log ORDER BY time_post DESC ")); if($r_log_check['infohosting_log_id']!=$log_id){ exit('Không thể xóa'); } if(!is_admin()){ $DB->query("DELETE FROM tb_infohosting_log WHERE infohosting_log_id='$log_id' AND user_post='".$ob_user->user_name."' "); }else{ $DB->query("DELETE FROM tb_infohosting_log WHERE infohosting_log_id='$log_id' "); } $DB->query("UPDATE tb_infohosting SET infohosting_end='".$r_log['infohosting_begin']."',infohosting_pricebegin='".($r_check_vps['infohosting_pricebegin']-$r_log['infohosting_price'])."' WHERE infohosting_id='$infohosting_id' "); $print->refresh('?act=management&code=infohosting&type=giahanhosting&infohosting_id='.$CORE->input['infohosting_id']); ?>