1<?
if(!defined(
'B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED!==
true)
die();
9if(!CModule::IncludeModule(
'forum'))
24if (!
$dbElement || !($arElement =
$dbElement->Fetch()) || !($arElement[
'IBLOCK_ID'] == COption::GetOptionString(
'wiki',
'socnet_iblock_id')))
31 $dbIBSection = CIBlockSection::GetList(
array(),
array(
'ID' =>
$ibSectionID,
'CHECK_PERMISSIONS' =>
'N'),
false,
false,
array(
'IBLOCK_SECTION_ID',
'SOCNET_GROUP_ID'));
33 if (!$dbIBSection || !($arIBSection = $dbIBSection->Fetch()))
38}
while (!$arIBSection[
'SOCNET_GROUP_ID'] && $arIBSection[
'IBLOCK_SECTION_ID']);
43 "wiki_name" => rawurlencode($arElement[
'NAME']),
44 "group_id" => $arIBSection[
'SOCNET_GROUP_ID']
48$redirectPath .=
"?MID=".$arResult[
'VARIABLES'][
'message_id'].
"#message".
$arResult[
'VARIABLES'][
'message_id'];
static GetList($arOrder=Array("ID"=>"ASC"), $arFilter=Array(), $bCount=false, $iNum=0, $arAddParams=array())
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
LocalRedirect($url, $skip_security_check=false, $status="302 Found")