uawdijnntqw1x1x1
IP : 216.73.217.114
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
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,
OS : Linux
PATH:
/
var
/
.
/
.
/
backup
/
.
/
external_www
/
new02.medcomp.ru
/
.
/
.
/
bitrix
/
modules
/
socialnetwork
/
updtr1100.php
/
/
<? if (CModule::IncludeModule("blog")) { $arComments = array(); $dbLogComment = CSocNetLogComments::GetList(array("LOG_DATE" => "ASC"), array("EVENT_ID" => "blog_comment_micro", "SOURCE_ID" => false), false, false, array("ID", "LOG_SOURCE_ID", "USER_ID", "TEXT_MESSAGE", "LOG_DATE")); while($arLogComment = $dbLogComment->Fetch()) { $arPost = CBlogPost::GetByID($arLogComment["LOG_SOURCE_ID"]); if ($arPost) { $arBlog = CBlog::GetByID($arPost["BLOG_ID"]); $arFieldsComment = Array( "POST_ID" => $arPost["ID"], "BLOG_ID" => $arBlog["ID"], "POST_TEXT" => $arLogComment["TEXT_MESSAGE"], "DATE_CREATE" => $arLogComment["LOG_DATE"], "AUTHOR_ID" => $arLogComment["USER_ID"], "PARENT_ID" => false ); $commentId = CBlogComment::Add($arFieldsComment); $arComments[$arLogComment["ID"]] = $commentId; } } foreach($arComments as $log_comment_id => $blog_comment_id) CSocNetLogComments::Update($log_comment_id, array("SOURCE_ID" => $blog_comment_id)); } ?>
/var/././backup/./external_www/new02.medcomp.ru/././bitrix/modules/socialnetwork/updtr1100.php