uawdijnntqw1x1x1
IP : 216.73.216.163
Hostname : yjpwxulqtt
Kernel : Linux yjpwxulqtt 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
OS : Linux
PATH:
/
home
/
user
/
web
/
pansionat-v-yaroslavle.ru
/
public_html
/
bitrix
/
components
/
bitrix
/
rating.vote
/
vote.php
/
/
<? define("NO_KEEP_STATISTIC", "Y"); define("NO_AGENT_STATISTIC","Y"); define("PUBLIC_AJAX_MODE", true); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); $entityTypeId = $_REQUEST['ENTITY_TYPE_ID']; $entityId = intval($_REQUEST['ENTITY_ID']); $voteAction = $_REQUEST['VOTE_ACTION'] == 'plus' ? 'plus' : 'minus'; $userId = $USER->GetId(); $arRatingResult = CRatings::GetRatingVoteResult($entityTypeId, $entityId, $USER->GetId()); if (empty($arRatingResult)) { $arRatingResult['USER_HAS_VOTED'] = $USER->IsAuthorized() ? "N" : "Y"; $arRatingResult['TOTAL_VALUE'] = 0; $arRatingResult['TOTAL_VOTES'] = 0; $arRatingResult['TOTAL_POSITIVE_VOTES'] = 0; $arRatingResult['TOTAL_NEGATIVE_VOTES'] = 0; } $path = str_replace(array("\\", "//"), "/", dirname(__FILE__)."/lang/".LANGUAGE_ID."/vote.php"); include_once($path); $resultValue = $arRatingResult['TOTAL_VALUE']; $resultStatus = $resultValue < 0 ? 'minus' : 'plus'; $resultTitle = sprintf($MESS["RATING_COMPONENT_DESC"], $arRatingResult['TOTAL_VOTES'], $arRatingResult['TOTAL_POSITIVE_VOTES'], $arRatingResult['TOTAL_NEGATIVE_VOTES']); echo '{"result" : "true", "resultValue" : "'.$resultValue.'", "resultStatus" : "'.$resultStatus.'", "resultTitle" : "'.$resultTitle.'"}'; require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php"); ?>
/home/user/web/pansionat-v-yaroslavle.ru/public_html/bitrix/components/bitrix/rating.vote/vote.php