Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/search/install/ |
Upload File : |
<form action="<?php echo $APPLICATION->GetCurPage()?>" name="form1"> <?=bitrix_sessid_post()?> <input type="hidden" name="lang" value="<?php echo LANG?>"> <input type="hidden" name="id" value="search"> <input type="hidden" name="install" value="Y"> <input type="hidden" name="step" value="2"> <script> function ChangeInstallPublic(val) { document.form1.public_dir.disabled = !val; document.form1.public_rewrite.disabled = !val; } </script> <table cellpadding="3" cellspacing="0" border="0" width="0%"> <tr> <td><input type="checkbox" name="install_public" value="Y" id="id_install_public" OnClick="ChangeInstallPublic(this.checked)"></td> <td><p><label for="id_install_public"><?= GetMessage('COPY_PUBLIC_FILES') ?></label></p></td> </tr> <tr> <td> </td> <td> <table cellpadding="3" cellspacing="0" border="0" width="0%"> <tr> <td><p><?= GetMessage('COPY_FOLDER') ?></p></td> <td><input type="input" name="public_dir" value="search" size="40"></td> </tr> <tr> <td><p><label for="id_public_rewrite"><?= GetMessage('INSTALL_PUBLIC_REW') ?>:</label></p></td> <td><input type="checkbox" name="public_rewrite" value="Y" id="id_public_rewrite"></td> </tr> </table> </td> </tr> </table> <script> ChangeInstallPublic(false); </script> <br> <?php $connection = \Bitrix\Main\Application::getConnection(); ?> <?php if (CModule::IncludeModule('cluster') && $connection->getType() === 'mysql'):?> <p><?php echo GetMessage('SEARCH_INSTALL_DATABASE')?><select name="DATABASE"> <option value=""><?php echo GetMessage('SEARCH_MAIN_DATABASE')?></option><?php $rsDBNodes = CClusterDBNode::GetListForModuleInstall(); while ($arDBNode = $rsDBNodes->Fetch()): ?><option value="<?php echo $arDBNode['ID']?>"><?php echo htmlspecialcharsbx($arDBNode['NAME'])?></option><?php endwhile; ?></select></p> <br> <?php endif;?> <input type="submit" name="inst" value="<?= GetMessage('MOD_INSTALL')?>"> </form>