%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.145.105.122 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/modules/blog/ |
Upload File : |
<? IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/blog/options_user_settings.php"); if (CModule::IncludeModule("blog")): $ID = intval($ID); $str_blog_AVATAR = ""; ClearVars("str_blog_"); $db_res = CBlogUser::GetList(array(), array("USER_ID" => $ID)); if (!$db_res->ExtractFields("str_blog_", True)) { if (!isset($str_blog_ALLOW_POST) || ($str_blog_ALLOW_POST!="Y" && $str_blog_ALLOW_POST!="N")) $str_blog_ALLOW_POST = "Y"; } if($COPY_ID > 0) $str_blog_AVATAR = ""; if ($strError <> '') { $str_blog_ALLOW_POST = htmlspecialcharsbx($_POST["blog_ALLOW_POST"]); $str_blog_ALIAS = htmlspecialcharsbx($_POST["blog_ALIAS"]); $str_blog_DESCRIPTION = htmlspecialcharsbx($_POST["blog_DESCRIPTION"]); $str_blog_INTERESTS = htmlspecialcharsbx($_POST["blog_INTERESTS"]); } ?> <input type="hidden" name="profile_module_id[]" value="blog"> <?if ($USER->IsAdmin()):?> <tr> <td width="40%"><?=GetMessage("blog_ALLOW_POST")?></td> <td width="60%"><input type="checkbox" name="blog_ALLOW_POST" value="Y" <?if ($str_blog_ALLOW_POST=="Y") echo "checked";?>></td> </tr> <?endif;?> <tr> <td><?=GetMessage('blog_ALIAS')?></td> <td><input class="typeinput" type="text" name="blog_ALIAS" size="30" maxlength="255" value="<?=$str_blog_ALIAS?>"></td> </tr> <tr> <td><?=GetMessage('blog_DESCRIPTION')?></td> <td><input class="typeinput" type="text" name="blog_DESCRIPTION" size="30" maxlength="255" value="<?=$str_blog_DESCRIPTION?>"></td> </tr> <tr> <td valign="top"><?=GetMessage('blog_INTERESTS')?></td> <td><textarea class="typearea" name="blog_INTERESTS" rows="3" cols="35"><?echo $str_blog_INTERESTS; ?></textarea></td> </tr> <tr class="adm-detail-file-row"> <td><?=GetMessage("blog_AVATAR")?></td> <td><? echo CFile::InputFile("blog_AVATAR", 20, $str_blog_AVATAR); if (intval($str_blog_AVATAR)>0): ?><div class="adm-detail-file-image"><? echo CFile::ShowImage($str_blog_AVATAR, 150, 150, "border=0", "", true);?></div><? endif; ?></td> </tr> <? endif; ?>