4if (CModule::IncludeModule(
"forum")):
7 $db_res->ExtractFields(
"str_forum_", True);
8 if (!isset($str_forum_ALLOW_POST) || ($str_forum_ALLOW_POST!=
"Y" && $str_forum_ALLOW_POST!=
"N"))
9 $str_forum_ALLOW_POST =
"Y";
10 if (!isset($str_forum_SHOW_NAME) || ($str_forum_SHOW_NAME!=
"Y" && $str_forum_SHOW_NAME!=
"N"))
11 $str_forum_SHOW_NAME =
"Y";
15 $str_forum_AVATAR =
"";
20 $str_forum_HIDE_FROM_ONLINE =
htmlspecialcharsbx($_POST[
"forum_HIDE_FROM_ONLINE"] ??
null);
28 <input type=
"hidden" name=
"profile_module_id[]" value=
"forum">
29 <?
if (
$USER->IsAdmin() ||
$GLOBALS[
"APPLICATION"]->GetGroupRight(
"forum") >=
"W"):?>
32 <td
width=
"60%"><input type=
"checkbox" name=
"forum_ALLOW_POST" value=
"Y" <?
if ($str_forum_ALLOW_POST==
"Y") echo
"checked";?>></td>
36 <td><?=
GetMessage(
"forum_HIDE_FROM_ONLINE")?></td>
37 <td><input type=
"checkbox" name=
"forum_HIDE_FROM_ONLINE" value=
"Y" <?
if (isset($str_forum_HIDE_FROM_ONLINE) && $str_forum_HIDE_FROM_ONLINE==
"Y") echo
"checked";?>></td>
40 <td><?=
GetMessage(
"forum_SUBSC_GET_MY_MESSAGE")?></td>
45 <td><input type=
"checkbox" name=
"forum_SHOW_NAME" value=
"Y" <?
if ($str_forum_SHOW_NAME==
"Y") echo
"checked";?>></td>
49 <td><input
class=
"typeinput" type=
"text" name=
"forum_DESCRIPTION" size=
"30" maxlength=
"255" value=
"<?=$str_forum_DESCRIPTION ?? null?>"></td>
52 <td
class=
"adm-detail-valign-top"><?=
GetMessage(
'forum_INTERESTS')?></td>
53 <td><textarea
class=
"typearea" name=
"forum_INTERESTS" rows=
"3" cols=
"35"><?echo $str_forum_INTERESTS ??
null; ?></textarea></td>
56 <td
class=
"adm-detail-valign-top"><?=
GetMessage(
"forum_SIGNATURE")?></td>
57 <td><textarea
class=
"typearea" name=
"forum_SIGNATURE" rows=
"3" cols=
"35"><?echo $str_forum_SIGNATURE ??
null; ?></textarea></td>
59 <tr
class=
"adm-detail-file-row">
62 echo CFile::InputFile(
"forum_AVATAR", 20, $str_forum_AVATAR ??
null);
63 if (isset($str_forum_AVATAR) && ((is_array($str_forum_AVATAR) &&
sizeof($str_forum_AVATAR)>0) || (!is_array($str_forum_AVATAR) && $str_forum_AVATAR <>
''))):
64 ?><div
class=
"adm-detail-file-image"><?
65 echo CFile::ShowImage($str_forum_AVATAR, 150, 150,
"border=0",
"",
true);?></div><?
static GetList($arOrder=Array("ID"=>"ASC"), $arFilter=Array(), $arAddParams=array())
bx popup label bx width30 PAGE_NEW_MENU_NAME text width
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
$str_forum_SUBSC_GET_MY_MESSAGE
ClearVars($prefix="str_")
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
GetMessage($name, $aReplace=null)
$GLOBALS['_____370096793']