%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 18.216.244.98 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/mobile_comment_like/ |
Upload File : |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); /** @var CBitrixComponentTemplate $this */ /** @var array $arParams */ /** @var array $arResult */ /** @global CDatabase $DB */ /** @global CUser $USER */ /** @global CMain $APPLICATION */ $APPLICATION->AddHeadScript("/bitrix/components/bitrix/rating.vote/templates/mobile_comment_like/script_attached.js"); ?><script> BX.message({ RVCPathToUserProfile: '<?=CUtil::JSEscape(htmlspecialcharsbx(str_replace("#", "(_)", $arResult['PATH_TO_USER_PROFILE'])))?>', RVCListBack: '<?=GetMessageJS("RATING_COMMENT_LIST_BACK")?>' }); </script> <span><div class="post-comment-likes<?=($arResult['USER_HAS_VOTED'] == "N" ? "": "-liked")?><? ?><?=(intval($arResult["TOTAL_VOTES"]) > 1 || ( intval($arResult["TOTAL_VOTES"]) == 1 && $arResult['USER_HAS_VOTED'] == "N" ) ? " post-comment-liked" : "")?>" id="bx-ilike-button-<?=CUtil::JSEscape(htmlspecialcharsbx($arResult['VOTE_ID']))?>"><? $like = COption::GetOptionString("main", "rating_text_like_y", GetMessage("RATING_COMMENT_LIKE")); ?><div class="post-comment-likes-text"><?=htmlspecialcharsEx($like)?></div><? ?><div class="post-comment-likes-counter" id="bx-ilike-count-<?=CUtil::JSEscape(htmlspecialcharsbx($arResult['VOTE_ID']))?>"><? ?><?=htmlspecialcharsEx($arResult['TOTAL_VOTES'])?><? ?></div><? ?></div></span><? ?><script type="text/javascript"> BX.ready(function() { var f = function() { new RatingLikeComments( '<?=CUtil::JSEscape(htmlspecialcharsbx($arResult['VOTE_ID']))?>', '<?=CUtil::JSEscape(htmlspecialcharsbx($arResult['ENTITY_TYPE_ID']))?>', '<?=intval($arResult['ENTITY_ID'])?>', '<?=CUtil::JSEscape(htmlspecialcharsbx($arResult['VOTE_AVAILABLE']))?>' ); }; if (!RatingLikeComments) { window["RatingLikeCommentsQueue"] = (window["RatingLikeCommentsQueue"] || []); window["RatingLikeCommentsQueue"].push(f); } else { f(); } }); </script>