| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/newusafunding.com/vx/usa/functions/ |
Upload File : |
<?php
include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/xinc.php");
if(!empty($_POST['site_code']) && !empty($_POST['client_id'])) {
$is_there = $db->get_results("SELECT id FROM lc2admin.client_reduced_fee_views
WHERE site_code='".$db->clean($_POST['site_code'])."'
AND client_id='".$db->clean($_POST['client_id'])."'
AND ts >= '".$db->clean(date('Y-m-d H:i:s',strtotime('-1 hour')))."'");
if(empty($is_there)) {
$db->query("INSERT INTO lc2admin.client_reduced_fee_views
(
site_code
,client_id
,ts
) VALUES (
'".$db->clean($_POST['site_code'])."'
,'".$db->clean($_POST['client_id'])."'
,NOW()
)");
}
}