| 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/vx/usa/functions/ |
Upload File : |
<?
include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/xinc.php");
if(empty($user) || $guest)
{
return false;
exit;
}
else
{
$data = array();
$errors = array();
$step = $_POST['step'];
if($step == "skip")
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification0 = 'no',
notification1 = 'no',
notification2 = 'no',
notification3 = 'no',
notification8 = 'no'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
else if($step == "start")
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification0 = 'yes',
notification1 = 'yes',
notification2 = 'yes',
notification3 = 'yes'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
else if($step == "searchExample")
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification9 = 'no'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
else if($step == "keyword")
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification10 = 'no'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
else if(!empty($user) && $user > 0 && $step == 1)
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification0 = 'no'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
else if(!empty($user) && $user > 0 && $step == 4)
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification0 = 'no',
notification1 = 'no'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
else if(!empty($user) && $user > 0 && $step == 7)
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification0 = 'no',
notification1 = 'no',
notification2 = 'no'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
else if(!empty($user) && $user > 0 && $step == 9)
{
$db->query("
UPDATE $userDB.lc_preferences
SET
notification0 = 'no',
notification1 = 'no',
notification2 = 'no',
notification3 = 'no'
WHERE
user = '$user'
AND
site_code = '$siteCode'
");
}
}
?>