Файл: inc/communication/p_str.php
Строк: 16
<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/inc/system/config.php';
if(isset($_GET['LinkUserGoUpProfileGetSetting'])){
if($ku['str'] == 50) {
echo 'Ошибка! 10<br />';
}else{
$count = 50;
mysql_query("UPDATE `kolhoz_user` SET `str` = '" . $count . "' WHERE `id` = '" . $ku['id'] . "'");
header ('Location:'.$_SERVER['HTTP_REFERER']);
}
}
if(isset($_GET['LinkUserGoDownProfileGetSetting'])){
if($ku['str'] == 5) {
echo 'Ошибка! 5<br />';
}else{
$count = 5;
mysql_query("UPDATE `kolhoz_user` SET `str` = '" . $count . "' WHERE `id` = '" . $ku['id'] . "'");
header ('Location:'.$_SERVER['HTTP_REFERER']);
}
}
?>