function GetSettingsHTML($arBucket, $bServiceSet, $cur_SERVICE_ID, $bVarsFromForm) { if ($bVarsFromForm) { $arSettings = $_POST["SETTINGS"][$this->GetID()]; } else { $arSettings = unserialize($arBucket["SETTINGS"]); } if (!is_array($arSettings)) { $arSettings = array("PROJECT_ID" => "", "ACCESS_KEY" => "", "SECRET_KEY" => ""); } $htmlID = htmlspecialcharsbx($this->GetID()); $result = ' <tr id="SETTINGS_0_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr adm-detail-required-field"> <td>' . GetMessage("CLO_STORAGE_GOOGLE_EDIT_PROJECT_ID") . ':</td> <td><input type="hidden" name="SETTINGS[' . $htmlID . '][PROJECT_ID]" id="' . $htmlID . 'PROJECT_ID" value="' . htmlspecialcharsbx($arSettings['PROJECT_ID']) . '"><input type="text" size="55" name="' . $htmlID . 'INP_" id="' . $htmlID . 'INP_PROJECT_ID" value="' . htmlspecialcharsbx($arSettings['PROJECT_ID']) . '" ' . ($arBucket['READ_ONLY'] == 'Y' ? '"disabled"' : '') . ' onchange="BX(\'' . $htmlID . 'PROJECT_ID\').value = this.value"></td> </tr> <tr id="SETTINGS_1_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr adm-detail-required-field"> <td>' . GetMessage("CLO_STORAGE_GOOGLE_EDIT_ACCESS_KEY") . ':</td> <td><input type="hidden" name="SETTINGS[' . $htmlID . '][ACCESS_KEY]" id="' . $htmlID . 'ACCESS_KEY" value="' . htmlspecialcharsbx($arSettings['ACCESS_KEY']) . '"><input type="text" size="55" name="' . $htmlID . 'INP_ACCESS_KEY" id="' . $htmlID . 'INP_ACCESS_KEY" value="' . htmlspecialcharsbx($arSettings['ACCESS_KEY']) . '" ' . ($arBucket['READ_ONLY'] == 'Y' ? '"disabled"' : '') . ' onchange="BX(\'' . $htmlID . 'ACCESS_KEY\').value = this.value"></td> </tr> <tr id="SETTINGS_2_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr adm-detail-required-field"> <td>' . GetMessage("CLO_STORAGE_GOOGLE_EDIT_SECRET_KEY") . ':</td> <td><input type="hidden" name="SETTINGS[' . $htmlID . '][SECRET_KEY]" id="' . $htmlID . 'SECRET_KEY" value="' . htmlspecialcharsbx($arSettings['SECRET_KEY']) . '"><input type="text" size="55" name="' . $htmlID . 'INP_SECRET_KEY" id="' . $htmlID . 'INP_SECRET_KEY" value="' . htmlspecialcharsbx($arSettings['SECRET_KEY']) . '" autocomplete="off" ' . ($arBucket['READ_ONLY'] == 'Y' ? '"disabled"' : '') . ' onchange="BX(\'' . $htmlID . 'SECRET_KEY\').value = this.value"></td> </tr> <tr id="SETTINGS_3_' . $htmlID . '" style="display:' . ($cur_SERVICE_ID == $this->GetID() || !$bServiceSet ? '' : 'none') . '" class="settings-tr"> <td> </td> <td>' . BeginNote() . GetMessage("CLO_STORAGE_GOOGLE_EDIT_HELP") . EndNote() . '</td> </tr> '; return $result; }
public static function Show() { IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/interface/prolog_main_admin.php'); $supportFinishDate = COption::GetOptionString('main', '~support_finish_date', ''); if ($supportFinishDate != '' && is_array($aSupportFinishDate = ParseDate($supportFinishDate, 'ymd'))) { $aGlobalOpt = CUserOptions::GetOption("global", "settings", array()); if ($aGlobalOpt['messages']['support'] != 'N') { $supportFinishStamp = mktime(0, 0, 0, $aSupportFinishDate[1], $aSupportFinishDate[0], $aSupportFinishDate[2]); $supportDateDiff = ceil(($supportFinishStamp - time()) / 86400); $sSupportMess = ''; $sSupWIT = " (<span onclick=\"BX.toggle(BX('supdescr'))\" style='border-bottom: 1px dashed #1c91e7; color: #1c91e7; cursor: pointer;'>" . GetMessage("prolog_main_support_wit") . "</span>)"; if ($supportDateDiff >= 0 && $supportDateDiff <= 30) { $sSupportMess = GetMessage("prolog_main_support11", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#DAYS_AGO#' => $supportDateDiff == 0 ? GetMessage("prolog_main_today") : GetMessage('prolog_main_support_days', array('#N_DAYS_AGO#' => $supportDateDiff)), '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT, '#SUP_FINISH_DATE#' => GetTime(mktime(0, 0, 0, $aSupportFinishDate[1] + 1, $aSupportFinishDate[0], $aSupportFinishDate[2])))); } elseif ($supportDateDiff < 0 && $supportDateDiff >= -30) { $sSupportMess = GetMessage("prolog_main_support21", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#DAYS_AGO#' => -$supportDateDiff, '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT, '#SUP_FINISH_DATE#' => GetTime(mktime(0, 0, 0, $aSupportFinishDate[1] + 1, $aSupportFinishDate[0], $aSupportFinishDate[2])))); } elseif ($supportDateDiff < -30) { $sSupportMess = GetMessage("prolog_main_support31", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT)); } if ($sSupportMess != '') { $sSupportMess .= GetMessage('ACRIT_EXPORTPRO_BUY_LICENCE'); $userOption = CUserOptions::GetOption("main", "admSupInf"); if (mktime() > $userOption["showInformerDate"]) { $prolongUrl = "/bitrix/admin/buy_support.php?lang=" . LANGUAGE_ID; if (!in_array(LANGUAGE_ID, array("ru", "ua")) || IntVal(COption::GetOptionString("main", "~PARAM_PARTNER_ID")) <= 0) { require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/classes/general/update_client.php"; $prolongUrl = "http://www.acrit-studio.ru/shop/list/lupd/"; } echo BeginNote('style="position: relative; top: -15px;"'); ?> <div style="float: right; padding-left: 50px; margin-top: -5px; text-align: center;"> <a href="<?php echo $prolongUrl; ?> " target="_blank" class="adm-btn adm-btn-save" style="margin-bottom: 4px;"><?php echo GetMessage("prolog_main_support_button_prolong"); ?> </a><br /> <a href="http://www.acrit-studio.ru/market/" target="_blank"><?php echo GetMessage("prolog_main_support_button_prolong_modules"); ?> </a> </div> <?php echo $sSupportMess; ?> <div id="supdescr" style="display: none;"><br /><br /><b><?php echo GetMessage("prolog_main_support_wit_descr1"); ?> </b><hr><?php echo GetMessage("prolog_main_support_wit_descr2"); ?> </div> <?php echo EndNote(); } } } } }
echo GetMessage("IBSEC_E_PROP_TABLE_ACTION_ADD"); ?> " onclick="javascript:addSectionProperty(<?php echo $arCatalog["IBLOCK_ID"]; ?> , 'select_SKU_SECTION_PROPERTY', 'shadow_SKU_SECTION_PROPERTY', 'table_SKU_SECTION_PROPERTY')"> </td></tr> <?php } ?> <?php $tabControl->EndCustomField("SECTION_PROPERTY", ''); } if (strlen($return_url) > 0) { $bu = $return_url; } else { $bu = "/bitrix/admin/" . CIBlock::GetAdminSectionListLink($IBLOCK_ID, array('find_section_section' => intval($find_section_section))); } if (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1) { $tabControl->Buttons(array("disabled" => false, "btnSaveAndAdd" => true, "return_url" => $bu)); } elseif ($nobuttons !== "Y") { $save_and_add = "{\n\t\ttitle: '" . CUtil::JSEscape(GetMessage("IBSEC_E_SAVE_AND_ADD")) . "',\n\t\tname: 'save_and_add',\n\t\tid: 'save_and_add',\n\t\tclassName: 'adm-btn-add',\n\t\taction: function () {\n\t\t\tvar FORM = this.parentWindow.GetForm();\n\t\t\tFORM.appendChild(BX.create('INPUT', {\n\t\t\t\tprops: {\n\t\t\t\t\ttype: 'hidden',\n\t\t\t\t\tname: 'save_and_add',\n\t\t\t\t\tvalue: 'Y'\n\t\t\t\t}\n\t\t\t}));\n\n\t\t\tthis.parentWindow.hideNotify();\n\t\t\tthis.disableUntilError();\n\t\t\tthis.parentWindow.Submit();\n\t\t}\n\t}"; $cancel = "{\n\t\ttitle: '" . CUtil::JSEscape(GetMessage("admin_lib_edit_cancel")) . "',\n\t\tname: 'cancel',\n\t\tid: 'cancel',\n\t\taction: function () {\n\t\t\tBX.WindowManager.Get().Close();\n\t\t\tif(window.reloadAfterClose)\n\t\t\t\ttop.BX.reload(true);\n\t\t}\n\t}"; $tabControl->ButtonsPublic(array('.btnSave', $cancel, $save_and_add)); } $tabControl->Show(); $tabControl->ShowWarnings($tabControl->GetName(), $message); if (CIBlockRights::UserHasRightTo($IBLOCK_ID, $IBLOCK_ID, "iblock_edit") && (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1)) { echo BeginNote(), GetMessage("IBSEC_E_IBLOCK_MANAGE_HINT"), ' <a href="iblock_edit.php?type=' . htmlspecialcharsbx($type) . '&lang=' . LANGUAGE_ID . '&ID=' . $IBLOCK_ID . '&admin=Y&return_url=' . urlencode(CIBlock::GetAdminSectionEditLink($IBLOCK_ID, $ID, array("find_section_section" => intval($find_section_section), "return_url" => strlen($return_url) > 0 ? $return_url : null))) . '">', GetMessage("IBSEC_E_IBLOCK_MANAGE_HINT_HREF"), '</a>', EndNote(); } require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
<?function ShowReportList() { global $showHiddenReports; $arFilter = array("REPORT"=>"Y"); if ($showHiddenReports == 'N') { $arFilter['HIDDEN'] = 'N'; } $dbReport = CCheckListResult::GetList(Array(),$arFilter); while ($arReport = $dbReport->Fetch()) $arReports[]=$arReport;?> <form id="bx_project_form" style="display:none;" action="" method="POST" enctype="multipart/form-data"> <div class="checklist-result-form-content" > <?php echo BeginNote(); ?> <div class="checklist-result-form-content-data"><?php echo GetMessage("CL_REPORT_INVITE"); ?> </div> <div class="checklist-result-form-content-field"> <input id="report_id" name="report_id" type="hidden"/> <label><?php echo GetMessage("CL_REPORT_COMPANY_NAME"); ?> </label><input id="COMPANY_NAME" name="COMPANY_NAME" type="text"/> </div> <div class="checklist-result-form-content-field"> <label><?php echo GetMessage("CL_REPORT_CLIENT_NAME"); ?> </label><input id="CLIENT" name="CLIENT" type="text"/> </div> <div class="checklist-result-form-content-field"> <label><?php echo GetMessage("CL_REPORT_CLIENT_POST"); ?> </label><input id="CLIENT_POST" name="CLIENT_POST" type="text"/> </div> <div class="checklist-result-form-content-field"> <label><?php echo GetMessage("CL_REPORT_PHONE"); ?> </label> <table width="100%" style="border-spacing: 0px"> <tr> <td width="65%" style="border: 0px; padding: 0"> <input id="PHONE" name="PHONE" type="text" style="width:100%"/> </td> <td width="10%" style="border: 0px; padding: 0"> <div style="text-align: right"><?php echo GetMessage("CL_REPORT_PHONE_ADD"); ?> </div> </td> <td style="border: 0px"> <input id="PHONE_ADD" name="PHONE_ADD" type="text"/> </td> </tr> </table> </div> <div class="checklist-result-form-content-field"> <label><?php echo GetMessage("CL_REPORT_EMAIL"); ?> </label><input id="EMAIL" name="EMAIL" type="text"/> </div> <div class="checklist-result-textarea-wrap"> <label><?php echo GetMessage("CL_REPORT_COMMENT"); ?> </label> <div class="checklist-result-form-content-data"><?php echo GetMessage("CL_REPORT_COMMENT_HELP"); ?> </div> <div class="checklist-result-textarea"> <textarea id="report_comment" name="COMMENT" class="checklist-textarea"></textarea> </div> </div> <input id="type_action" type="hidden" name="ACTION" value="ADDSENDREPORT"> <div class="checklist-result-form-button"> <a class="adm-btn adm-btn-green adm-btn" onclick="SaveSendReport();"><?php echo GetMessage("CL_SAVE_SEND_REPORT"); ?> </a> </div> <?php echo EndNote(); ?> </div> </form> <form id="report_actions" method="POST"> <?if(count($arReports)>0) {?> <div class="checklist-archive-rept"> <?php echo GetMessage("CL_REPORT_ARCHIVE"); ?> <input type="hidden" name="ACTION" value="SHOWHIDEELEMENTS" /> <table class="checklist-archive-table" cellspacing="0"> <tr class="checklist-archive-table-header"> <td><?php echo GetMessage("CL_REPORT_DATE"); ?> </td> <td><?php echo GetMessage("CL_REPORT_TABLE_TESTER"); ?> </td> <td><?php echo GetMessage("CL_REPORT_TABLE_TOTAL"); ?> </td> <td><?php echo GetMessage("CL_REPORT_TABLE_CHECKED"); ?> </td> <td><?php echo GetMessage("CL_REPORT_TABLE_FAILED"); ?> </td> <td> </td> <td> </td> <td> </td> </tr> <?foreach ($arReports as $k=>$arReport):?> <tr class=""> <td><?php echo $arReport["DATE_CREATE"]; ?> </td> <td><?php echo htmlspecialcharsbx($arReport["TESTER"]); ?> </td> <td><?php echo $arReport["TOTAL"]; ?> </td> <td><?php echo $arReport["SUCCESS"]; ?> </td> <td><?php echo $arReport["FAILED"]; ?> </td> <td><a class="checklist-archive-table-detail" href="/bitrix/admin/checklist_report.php?ID=<?php echo $arReport["ID"]; ?> &lang=<?php echo LANG; ?> "><?php echo GetMessage("CL_REPORT_TABLE_DETAIL"); ?> </a></td> <td> <?if ($k == 0) {?> <?if ($arReport["SENDED_TO_BITRIX"] == 'N') {?> <a href="" onmouseover="ShowHint(this)" onclick="showProjectForm(<?php echo $arReport["ID"]; ?> ); return false;"><?php echo GetMessage("CL_SAVE_SEND_REPORT_CUT"); ?> </a> <?} else {?> <?php echo GetMessage("CL_REPORT_SENDED"); ?> <?}?> <?}?> </td> <td> <?if ($k == 0) {?> <?if ($arReport["HIDDEN"] == 'N') {?> <a href="" onclick="hideReport(<?php echo $arReport["ID"]; ?> ); return false;"><?php echo GetMessage('CL_HIDE_REPORT'); ?> </a> <?} else {?> <a href="" onclick="showReport(<?php echo $arReport["ID"]; ?> ); return false;"><?php echo GetMessage('CL_SHOW_REPORT'); ?> </a> <?}?> <?}?> </td> </tr> <?endforeach;?> </table> <br> </div> <?} else {?> <div style="margin-top:15px"></div> <?}?> <div style="text-align: right"><input type="checkbox" onClick="ShowHideReports()" <?php echo $showHiddenReports == 'Y' ? 'checked' : ''; ?> /> <?php echo GetMessage('CL_SHOW_HIDDEN'); ?> </div> </form> <?}
<?php $arDDL = CStatistics::GetDDL(); foreach ($arDDL as $DDL) { echo htmlspecialcharsbx($DDL["SQL_TEXT"]) . "<br>"; } ?> <br> <input type="submit" name="runsql" value="<?php echo GetMessage("STAT_OPT_INDEX_CREATE_BUTTON"); ?> "> <input type="hidden" name="runsql" value="Y"> <input type="hidden" name="tabControl2_active_tab" value="fedit4"> <br> <?php echo BeginNote('width="100%"'); ?> <span class="required"><?php echo GetMessage("STAT_OPT_INDEX_ATTENTION"); ?> </span> - <?php echo GetMessage("STAT_OPT_INDEX_ATTENTION_DETAIL"); ?> <?php echo EndNote(); ?> </td> </tr> <?php $tabControl2->EndTab(); ?>
} $oFilter->Buttons(); ?><input class="adm-btn" type="submit" name="set_filter" value="<? echo GetMessage("admin_lib_filter_set_butt"); ?>" title="<? echo GetMessage("admin_lib_filter_set_butt_title"); ?>" onClick="return applyFilter(this);"> <input class="adm-btn" type="submit" name="del_filter" value="<? echo GetMessage("admin_lib_filter_clear_butt"); ?>" title="<? echo GetMessage("admin_lib_filter_clear_butt_title"); ?>" onClick="deleteFilter(this); return false;"> <? $oFilter->End(); ?> </form> <? $lAdmin->DisplayList(); if($bWorkFlow || $bBizproc): echo BeginNote();?> <span class="adm-lamp adm-lamp-green"></span> - <?echo GetMessage("IBLIST_A_GREEN_ALT")?></br> <span class="adm-lamp adm-lamp-yellow"></span> - <?echo GetMessage("IBLIST_A_YELLOW_ALT")?></br> <span class="adm-lamp adm-lamp-red"></span> - <?echo GetMessage("IBLIST_A_RED_ALT")?></br> <?echo EndNote(); endif; if(CIBlockRights::UserHasRightTo($IBLOCK_ID, $IBLOCK_ID, "iblock_edit") && !defined("CATALOG_PRODUCT")) { echo BeginNote(), GetMessage("IBLIST_A_IBLOCK_MANAGE_HINT"), ' <a href="'.htmlspecialcharsbx('iblock_edit.php?type='.urlencode($type).'&lang='.LANGUAGE_ID.'&ID='.$IBLOCK_ID.'&admin=Y&return_url='.urlencode("iblock_list_admin.php?".$sThisSectionUrl)).'">', GetMessage("IBLIST_A_IBLOCK_MANAGE_HINT_HREF"), '</a>', EndNote() ; } require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php"); ?>
?> <tr> <td colspan="2"> </td> </tr> <?php } else { ?> <tr> <td width="40%" class="adm-detail-valign-top"><label for="RIGHTS_MODE"><?php echo GetMessage("IB_E_RIGHTS_MODE"); ?> </label></td> <td width="60%"> <input type="hidden" name="RIGHTS_MODE" value="S"> <input type="checkbox" id="RIGHTS_MODE" name="RIGHTS_MODE" value="E"><?php echo BeginNote(), GetMessage("IB_E_RIGHTS_MODE_NOTE2"), EndNote(); ?> </td> </tr> <?php if ($bWorkflow && $str_WORKFLOW == "Y") { $arPermType = array("D" => GetMessage("IB_E_ACCESS_D"), "R" => GetMessage("IB_E_ACCESS_R"), "S" => GetMessage("IB_E_ACCESS_S"), "U" => GetMessage("IB_E_ACCESS_U"), "W" => GetMessage("IB_E_ACCESS_W"), "X" => GetMessage("IB_E_ACCESS_X")); } elseif ($bBizprocTab) { $arPermType = array("D" => GetMessage("IB_E_ACCESS_D"), "R" => GetMessage("IB_E_ACCESS_R"), "S" => GetMessage("IB_E_ACCESS_S"), "U" => GetMessage("IB_E_ACCESS_U2"), "W" => GetMessage("IB_E_ACCESS_W"), "X" => GetMessage("IB_E_ACCESS_X")); } else { $arPermType = array("D" => GetMessage("IB_E_ACCESS_D"), "R" => GetMessage("IB_E_ACCESS_R"), "S" => GetMessage("IB_E_ACCESS_S"), "T" => GetMessage("IB_E_ACCESS_T"), "W" => GetMessage("IB_E_ACCESS_W"), "X" => GetMessage("IB_E_ACCESS_X")); } $perm = CIBlock::GetGroupPermissions($ID); if (!array_key_exists(1, $perm)) { $perm[1] = "X"; }
function _DrawKeyInputControl($MAP_ID, $strDomain) { echo BeginNote(); ?> <div id="key_input_control_<?php echo $MAP_ID; ?> "> <?php echo str_replace('#DOMAIN#', $strDomain, GetMessage('IBLOCK_PROP_MAP_YANDEX_NO_KEY_MESSAGE')); ?> <br /><br /> <?php echo GetMessage('IBLOCK_PROP_MAP_YANDEX_NO_KEY'); ?> <input type="text" name="map_yandex_key_<?php echo $MAP_ID; ?> " id="map_yandex_key_<?php echo $MAP_ID; ?> " /> <input type="button" value="<?php echo htmlspecialcharsbx(GetMessage('IBLOCK_PROP_MAP_YANDEX_NO_KEY_BUTTON')); ?> " onclick="setYandexKey('<?php echo $strDomain; ?> ', 'map_yandex_key_<?php echo $MAP_ID; ?> ')" /> <input type="button" value="<?php echo htmlspecialcharsbx(GetMessage('IBLOCK_PROP_MAP_YANDEX_SAVE_KEY_BUTTON')); ?> " onclick="saveYandexKey('<?php echo $strDomain; ?> ', 'map_yandex_key_<?php echo $MAP_ID; ?> ')" /> </div> <div id="key_input_message_<?php echo $MAP_ID; ?> " style="display: none;"><?php echo GetMessage('IBLOCK_PROP_MAP_YANDEX_NO_KEY_OKMESSAGE'); ?> </div> <?php echo EndNote(); ?> <script type="text/javascript"> function setYandexKey(domain, input) { LoadMap_<?php echo $MAP_ID; ?> (document.getElementById(input).value); } function saveYandexKey(domain, input) { var value = document.getElementById(input).value; CHttpRequest.Action = function(result) { CloseWaitWindow(); if (result == 'OK') { document.getElementById('key_input_control_<?php echo $MAP_ID; ?> ').style.display = 'none'; document.getElementById('key_input_message_<?php echo $MAP_ID; ?> ').style.display = 'block'; if (!window.GLOBAL_arMapObjects['<?php echo $MAP_ID; ?> ']) setYandexKey(domain, input); } else alert('<?php echo CUtil::JSEscape(GetMessage('IBLOCK_PROP_MAP_YANDEX_NO_KEY_ERRORMESSAGE')); ?> '); } var data = 'key_type=yandex&domain=' + domain + '&key=' + value + '&<?php echo bitrix_sessid_get(); ?> '; ShowWaitWindow(); CHttpRequest.Post('/bitrix/admin/settings.php?lang=<?php echo LANGUAGE_ID; ?> &mid=fileman&save_map_key=Y', data); } </script> <?php }
<? $tabControl->Begin(); $tabControl->BeginNextTab(); ?> <tr> <td colspan="2" align="left"> <?if(COption::GetOptionString($module_id, "DEFENCE_ON")==="Y"):?> <input type="submit" name="DEFENCE_OFF" value="<?echo GetMessage("SEC_STATACT_BUTTON_OFF")?>"<?if(!$canWrite) echo " disabled"?>> <?else:?> <input type="submit" name="DEFENCE_ON" value="<?echo GetMessage("SEC_STATACT_BUTTON_ON")?>"<?if(!$canWrite) echo " disabled"?> class="adm-btn-save"> <?endif?> </td> </tr> <tr> <td colspan="2"> <?echo BeginNote();?><?echo GetMessage("SEC_STATACT_NOTE")?> <?echo EndNote(); ?> </td> </tr> <? $tabControl->BeginNextTab(); ?> <?if (CModule::IncludeModule("fileman")):?> <tr> <td><?echo GetMessage("SEC_STATACT_503_TEMPLATE")?>:</td> <td><a href="/bitrix/admin/fileman_file_edit.php?lang=<?php echo LANGUAGE_ID; ?> &full_src=Y&path=%2Fbitrix%2Factivity_limit.php"><?echo GetMessage("SEC_STATACT_GRABBER_EDIT_503_TEMPLATE_LINK")?></a></td> </tr> <?endif;?>
$tabControl->End(); ?> </form> <?php if ($Continue == "Y") { ?> <script language="JavaScript"> savedNS = <?php echo CUtil::PhpToJSObject(array("NS" => $_GET["NS"])); ?> ; <?php if ($_GET["Full"] == "Y") { ?> document.getElementById('Full').checked = false; Full_OnClick(false); <?php } ?> ContinueReindex(); </script> <?php } ?> <?php if (IsModuleInstalled("socialnetwork")) { echo BeginNote(), GetMessage("SEARCH_REINDEX_SOCNET_MESSAGE"), EndNote(); } require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php"; }
?> tabControl.DisableTab("tabFile"); tabControl.SelectTab("tabVerifyResult"); tabControl.DisableTab("tabVerify"); <?php } } ?> //--> </script> <?php $legend = ""; if ($tabStep == 1) { $legend = $isSubscribed ? GetMessage("MFCW_LEGEND_SUBSCR_1") : GetMessage("MFCW_LEGEND_NOTSUBSCR_1"); } elseif ($tabStep == 2) { $legend = GetMessage("MFCW_LEGEND_2"); } elseif ($tabStep == 3 && $action == "collect") { $legend = GetMessage("MFCW_LEGEND_3_collect"); } elseif ($tabStep == 3 && $action == "verify") { $legend = GetMessage("MFCW_LEGEND_3_verify"); } elseif ($tabStep == 4 && $action == "verify") { $legend = GetMessage("MFCW_LEGEND_4_verify"); } if (strlen($legend) > 0) { echo BeginNote() . $legend . EndNote(); } ?> <?php require $_SERVER["DOCUMENT_ROOT"] . BX_ROOT . "/modules/main/include/epilog_admin.php";
/> <label for="FORUM_ELEMENT_<?php echo $d; ?> "><?php echo Loc::getMessage('MAIN_YES'); ?> </label></td> </tr> <?php } if ($bFound) { ?> </table> <?php } else { echo BeginNote(), Loc::getMessage('SEO_SITEMAP_NO_FORUM_FOUND'), EndNote(); } ?> </td> </tr> <?php } $tabControl->Buttons(array()); ?> <input type="submit" name="save_and_add" value="<?php echo Converter::getHtmlConverter()->encode(Loc::getMessage('SEO_SITEMAP_SAVEANDRUN')); ?> " /> <?php echo bitrix_sessid_post(); $tabControl->End();
echo GetMessage('ML_ADD_COL2ITEM'); ?> " name="collection_id" onchange="itemColsSelChange2(this, arguments[0] || window.event);"><?php echo CMedialib::_BuildCollectionsSelectOptions($res['Collections'], $res['arColTree'], 0, intVal($_GET['col_id'])); ?> </select> </div> </form> <? include_once($_SERVER['DOCUMENT_ROOT']."/freetrix/image_uploader/version.php"); include_once($_SERVER['DOCUMENT_ROOT']."/freetrix/image_uploader/localization.php"); ?> <?php echo BeginNote() . GetMessage('FM_ML_UPL_NOTICE') . EndNote(); ?> <div style="border: 1px solid #94918C; float: left; padding: 5px;"> <script> // function itemColsSelChange2(pEl, e) { if (window.oColAccess[pEl.value] != '1') alert("<?php echo GetMessage('FM_ML_UPL_ACCESS_DENIED'); ?> "); }
<td colspan="2" align="left"> <input type="hidden" name="redirect_active" value="N"> <input type="submit" name="redirect_button" value="<?echo GetMessage("SEC_REDIRECT_BUTTON_OFF")?>"<?if(!$canWrite) echo " disabled"?>> </td> </tr> <?else:?> <tr> <td colspan="2" align="left"> <input type="hidden" name="redirect_active" value="Y"> <input type="submit" name="redirect_button" value="<?echo GetMessage("SEC_REDIRECT_BUTTON_ON")?>"<?if(!$canWrite) echo " disabled"?> class="adm-btn-save"> </td> </tr> <?endif?> <tr> <td colspan="2"> <?echo BeginNote();?><?echo GetMessage("SEC_REDIRECT_NOTE")?> <?echo EndNote(); ?> </td> </tr> <? $tabControl->BeginNextTab(); $arSysUrls = array(); $arUsrUrls = array(); $rs = CSecurityRedirect::GetList(); while($ar = $rs->Fetch()) { if($ar["IS_SYSTEM"] == "Y") $arSysUrls[] = array( "URL" => htmlspecialcharsbx($ar["URL"]), "PARAMETER_NAME" => htmlspecialcharsbx($ar["PARAMETER_NAME"]), );
BXUpdatePageExtendedData(extended); document.getElementById('bx_stats_loading_notify').style.display = 'none'; document.getElementById('bx_stats_table').style.display = ''; document.getElementById('bx_keywords_stats_loading_notify').style.display = 'none'; document.getElementById('bx_keywords_stats').style.display = ''; } window.BXSetStatsError = function(error) { BX.closeWait(); document.getElementById('bx_stats_loading_notify').style.display = 'none'; document.getElementById('bx_stats_loading_error').style.display = ''; var err_str = '<?php echo CUtil::JSEscape(BeginNote()); ?> '; err_str += error; <?php if (false === strpos(COption::GetOptionString('main', 'server_name', ''), ':')) { ?> if (window.location.port && window.location.port != '80') err_str += '<br /><br /><?php echo CUtil::JSEscape(GetMessage('SEO_PAGE_CONNECTION_ERROR_HINT')); ?> '; <?php } ?>
if ($uptime === false) { $htmlFLAG .= GetMessage("CLU_MEMCACHE_NOCONNECTION"); } else { $htmlFLAG .= GetMessage("CLU_MEMCACHE_UPTIME") . "<br>" . FormatDate(array("s" => "sdiff", "i" => "idiff", "H" => "Hdiff", "" => "ddiff"), time() - $uptime); } $row->AddViewField("FLAG", $htmlFLAG); $row->AddViewField("HOST", $arRes["HOST"] . ":" . $arRes["PORT"]); $arActions = array(); $arActions[] = array("ICON" => "edit", "DEFAULT" => true, "TEXT" => GetMessage("CLU_MEMCACHE_LIST_EDIT"), "ACTION" => $lAdmin->ActionRedirect('cluster_memcache_edit.php?lang=' . LANGUAGE_ID . '&group_id=' . $group_id . '&ID=' . $arRes["ID"])); if ($arRes["STATUS"] == "READY") { $arActions[] = array("ICON" => "delete", "TEXT" => GetMessage("CLU_MEMCACHE_LIST_DELETE"), "ACTION" => "if(confirm('" . GetMessage("CLU_MEMCACHE_LIST_DELETE_CONF") . "')) " . $lAdmin->ActionDoGroup($arRes["ID"], "delete", 'group_id=' . $group_id)); $arActions[] = array("TEXT" => GetMessage("CLU_MEMCACHE_LIST_START_USING"), "ACTION" => $lAdmin->ActionDoGroup($arRes["ID"], "resume", 'group_id=' . $group_id)); } elseif ($arRes["STATUS"] == "ONLINE") { $arActions[] = array("TEXT" => GetMessage("CLU_MEMCACHE_LIST_STOP_USING"), "ACTION" => $lAdmin->ActionDoGroup($arRes["ID"], "pause", 'group_id=' . $group_id)); } if (!empty($arActions)) { $row->AddActions($arActions); } } $lAdmin->AddFooter(array(array("title" => GetMessage("MAIN_ADMIN_LIST_SELECTED"), "value" => $rsData->SelectedRowsCount()), array("counter" => true, "title" => GetMessage("MAIN_ADMIN_LIST_CHECKED"), "value" => "0"))); $aContext = array(array("TEXT" => GetMessage("CLU_MEMCACHE_LIST_ADD"), "LINK" => "/bitrix/admin/cluster_memcache_edit.php?lang=" . LANGUAGE_ID . '&group_id=' . $group_id, "TITLE" => GetMessage("CLU_MEMCACHE_LIST_ADD_TITLE"), "ICON" => "btn_new"), array("TEXT" => GetMessage("CLU_MEMCACHE_LIST_REFRESH"), "LINK" => "cluster_memcache_list.php?lang=" . LANGUAGE_ID . '&group_id=' . $group_id)); $lAdmin->AddAdminContextMenu($aContext, false); $lAdmin->CheckListMode(); $APPLICATION->SetTitle(GetMessage("CLU_MEMCACHE_LIST_TITLE")); require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php"; if (!extension_loaded('memcache')) { ShowError(GetMessage("CLU_MEMCACHE_NO_EXTENTION")); } $lAdmin->DisplayList(); echo BeginNote(), GetMessage("CLU_MEMCACHE_LIST_NOTE"), EndNote(); require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
<?php echo CAdminMessage::ShowMessage(GetMessage("CLU_SESSION_SESSID_WARNING")); ?> </td> </tr> <?php } } ?> <tr> <td colspan="2"> <?php echo BeginNote(), GetMessage("CLU_SESSION_DB_WARNING"), EndNote(); ?> </td> </tr> <?php $tabControl->Buttons(array("back_url" => $_GET["return_url"] ? $_GET["return_url"] : "cluster_session.php?lang=" . LANG)); echo bitrix_sessid_post(); ?> <input type="hidden" name="lang" value="<?php echo LANG; ?> "> <?php $tabControl->End(); ?> </form> <?php echo BeginNote(), GetMessage("CLU_SESSION_NOTE"), EndNote(); require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
} ?> </tr> <?php } ?> </table> </td> </tr> <?php $tabControl->BeginNextTab(); ?> <tr> <td colspan="2" align="center"> <?php echo BeginNote(), GetMessage("PERFMON_IDETAIL_INDEX_NOTE"), EndNote(), "<br>"; ?> </td> </tr> <tr class="heading"> <td colspan="2"><?php echo GetMessage("PERFMON_IDETAIL_QUERY"); ?> </td> </tr> <tr> <td colspan="2"><?php echo str_replace(array(" ", "\n"), array(" ", "<br>"), $arSuggest["FORMATTED_SQL_TEXT"]); ?> </td> </tr>
} $tabControl->BeginNextTab(); ?> <tr> <td><div id="seo_google_keywords" align="center"><?php echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote(); ?> </div></td> </tr> <? $tabControl->BeginNextTab(); ?> <tr> <td><div id="seo_google_crawlissues" align="center"><?php echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote(); ?> </div></td> </tr> <? $tabControl->End(); ?> <script type="text/javascript"> function BXLoadInfo(action) { BX.ajax.loadJSON( '/freetrix/tools/seo_google.php?action='+action+'_feed&domain=<?php echo urlencode($arDomain['DOMAIN']); ?> &dir=<?php echo urlencode($arDomain['SITE_DIR']);
if(count($campaignList) <= 0) { if(!defined('BX_PUBLIC_MODE') || !BX_PUBLIC_MODE) { $message = new CAdminMessage(array( "TYPE" => "OK", "DETAILS" => Loc::getMessage("SEO_ERROR_NO_CAMPAIGNS", array( "#LANGUAGE_ID#" => LANGUAGE_ID, )), "HTML" => true )); echo $message->Show(); } else { echo BeginNote().Loc::getMessage("SEO_ERROR_NO_CAMPAIGNS", array( "#LANGUAGE_ID#" => LANGUAGE_ID, )).EndNote(); } ?> <a href="/bitrix/admin/seo_search_yandex_direct_edit.php?lang=<?=LANGUAGE_ID?>&back_url=<?=urlencode($APPLICATION->GetCurPageParam('form_element_'.$iblockElementInfo["IBLOCK"]["ID"].'_active_tab=seo_adv_seo_adv', array('form_element_'.$iblockElementInfo["IBLOCK"]["ID"].'_active_tab')))?>"><?=Loc::getMessage("SEO_CREATE_NEW_CAMPAIGN")?></a> <? } else { $dbRes = Adv\LinkTable::getList(array( "filter" => array( 'LINK_TYPE' => Adv\LinkTable::TYPE_IBLOCK_ELEMENT, 'LINK_ID' => $iblockElementInfo['ID'], "BANNER.ENGINE_ID" => $engine->getId(),
private static function getEditTemplate($data, $index, $post = array()) { $paid = $post ? $post['PAID'] : $data['PAID']; $id = $post ? $post['PAYMENT_ID'] : $data['ID']; $paidString = $paid == 'Y' ? 'YES' : 'NO'; if (!$post) { if ($data['SUM'] > 0) { $sum = $data['SUM']; } else { $sum = $data['ORDER_PRICE'] - $data['ORDER_PAYMENT_SUM'] <= 0 ? 0 : $data['ORDER_PRICE'] - $data['ORDER_PAYMENT_SUM']; } } else { $sum = $post['SUM']; } $psData = self::getPaySystemParams(isset($post['PAY_SYSTEM_ID']) ? $post['PAY_SYSTEM_ID'] : $data['PAY_SYSTEM_ID'], $data['PERSON_TYPE_ID']); if (isset($psData["LOGOTIP_PATH"])) { $data['PAY_SYSTEM_LOGOTIP'] = $psData["LOGOTIP_PATH"]; } $paymentStatus = '<span><span id="BUTTON_PAID_' . $index . '" ' . ($paid != 'Y' ? 'class="notpay"' : '') . '>' . Loc::getMessage('SALE_ORDER_PAYMENT_STATUS_' . $paidString) . '</span><span class="triangle"> ▾</span></span>'; $note = BeginNote(); $note .= Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_ALERT'); $note .= EndNote(); $hiddenPaySystemInnerId = ''; if ($index == 1) { $hiddenPaySystemInnerId = '<input type="hidden" value="' . PaySystemInner::getId() . '" id="PAYMENT_INNER_BUDGET_ID">'; } $notPaidBlock = $paid == 'N' && !empty($data['EMP_PAID_ID']) ? '' : 'style="display:none;"'; $return = $post['IS_RETURN'] == 'Y' ? '' : 'style="display:none;"'; $returnInformation = ' <tr ' . $return . ' class="return"> <td class="adm-detail-content-cell-l fwb">' . Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_TO') . ':</td> <td class="adm-detail-content-cell-r"> <select name="PAYMENT[' . $index . '][OPERATION_ID]" id="OPERATION_ID_' . $index . '" class="adm-bus-select"> <option value="RETURN">' . Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_ACCOUNT') . '</option> </select> </td> </tr> <tr ' . $return . ' class="return"> <td colspan="2" style="text-align: center">' . $note . '</td> </tr> <tr ' . $notPaidBlock . ' class="not_paid"> <td class="adm-detail-content-cell-l" width="40%"><br>' . Loc::getMessage('SALE_ORDER_PAYMENT_PAY_RETURN_NUM') . ':</td> <td class="adm-detail-content-cell-r tal"> <br> <input type="text" class="adm-bus-input" name="PAYMENT[' . $index . '][PAY_RETURN_NUM]" id="PAYMENT_RETURN_NUM_' . $index . '" value="' . htmlspecialcharsbx($post['PAY_RETURN_NUM'] ? $post['PAY_RETURN_NUM'] : $data['PAY_RETURN_NUM']) . '" maxlength="20"> </td> </tr> <tr ' . $notPaidBlock . ' class="not_paid"> <td class="adm-detail-content-cell-l" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PAY_RETURN_DATE') . ':</td> <td class="adm-detail-content-cell-r tal"> <div class="adm-input-wrap adm-calendar-second" style="display: inline-block;"> <input type="text" class="adm-input adm-calendar-to" name="PAYMENT[' . $index . '][PAY_RETURN_DATE]" id="PAYMENT_RETURN_DATE_' . $index . '" size="15" value="' . htmlspecialcharsbx($post['PAY_RETURN_DATE'] ? $post['PAY_RETURN_DATE'] : $data['PAY_RETURN_DATE']) . '"> <span class="adm-calendar-icon" title="' . Loc::getMessage('SALE_ORDER_PAYMENT_CHOOSE_DATE') . '" onclick="BX.calendar({node:this, field:\'PAYMENT_RETURN_DATE_' . $index . '\', form: \'\', bTime: false, bHideTime: false});"></span> </div> </td> </tr> <tr ' . $notPaidBlock . ' class="not_paid"> <td class="adm-detail-content-cell-l" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_RETURN_COMMENT') . ':</td> <td class="adm-detail-content-cell-r tal"> <div class="adm-input-wrap adm-calendar-second" style="display: inline-block;"> <textarea name="PAYMENT[' . $index . '][PAY_RETURN_COMMENT]" id="PAYMENT_RETURN_COMMENTS_' . $index . '">' . htmlspecialcharsbx(isset($post['PAY_RETURN_COMMENT']) ? $post['PAY_RETURN_COMMENT'] : $data['PAY_RETURN_COMMENT']) . '</textarea> </div> </td> </tr>'; $lang = Main\Application::getInstance()->getContext()->getLanguage(); $title = $id > 0 ? Loc::getMessage('SALE_ORDER_PAYMENT_BLOCK_EDIT_PAYMENT_TITLE') . '#' . $id : Loc::getMessage('SALE_ORDER_PAYMENT_BLOCK_NEW_PAYMENT_TITLE') . '#' . $index; $curFormat = \CCurrencyLang::getCurrencyFormat($data['CURRENCY']); $currencyLang = trim(str_replace("#", '', $curFormat["FORMAT_STRING"])); $disabled = $data['PAID'] == 'Y' ? 'readonly' : ''; $companyList = OrderEdit::getCompanyList(); if (!empty($companyList)) { $companies = \Bitrix\Sale\Helpers\Admin\OrderEdit::makeSelectHtml('PAYMENT[' . $index . '][COMPANY_ID]', $companyList, isset($post["COMPANY_ID"]) ? $post["COMPANY_ID"] : $data["COMPANY_ID"], true, array("class" => "adm-bus-select", "id" => "COMPANY_ID")); } else { $companies = str_replace("#URL#", "/bitrix/admin/sale_company_edit.php?lang=" . $lang, Loc::getMessage('SALE_ORDER_PAYMENT_ADD_COMPANY')); } $result = '<div> <div class="adm-bus-pay" id="payment_container_' . $index . '"> <input type="hidden" name="PAYMENT[' . $index . '][PAYMENT_ID]" id="payment_id_' . $index . '" value="' . $id . '"> <input type="hidden" name="PAYMENT[' . $index . '][INDEX]" value="' . $index . '" class="index"> <input type="hidden" name="PAYMENT[' . $index . '][PAID]" id="PAYMENT_PAID_' . $index . '" value="' . (empty($paid) ? 'N' : $paid) . '"> <input type="hidden" name="PAYMENT[' . $index . '][IS_RETURN]" id="PAYMENT_IS_RETURN_' . $index . '" value="' . ($post['IS_RETURN'] ? $post['IS_RETURN'] : 'N') . '"> ' . $hiddenPaySystemInnerId . ' <div class="adm-bus-component-content-container"> <div class="adm-bus-pay-section"> <div class="adm-bus-pay-section-title-container"> <div class="adm-bus-pay-section-title">' . $title . '</div> <div class="adm-bus-pay-section-action-block">' . (!isset($data['ID']) || $data['ID'] <= 0 ? '<div class="adm-bus-pay-section-action" id="SECTION_' . $index . '_DELETE">' . Loc::getMessage('SALE_ORDER_PAYMENT_DELETE') . '</div>' : '') . '</div> </div> <div class="adm-bus-pay-section-content" id="SECTION_' . $index . '"> <div class="adm-bus-pay-section-sidebar"> <div class="adm-bus-pay-section-sidebar-service-logo"> <img id="LOGOTIP_' . $index . '" src="' . $data['PAY_SYSTEM_LOGOTIP'] . '" alt=""> </div> </div> <div class="adm-bus-pay-section-right"> <div class="adm-bus-table-container caption border"> <div class="adm-bus-table-caption-title" style="background: #eef5f5;">' . Loc::getMessage('SALE_ORDER_PAYMENT_METHOD') . '</div> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="adm-detail-content-table edit-table "> <tbody> <tr> <td class="adm-detail-content-cell-l fwb" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PAY_SYSTEM') . ':</td> <td class="adm-detail-content-cell-r">' . self::makePaymentSelectHtml('PAYMENT[' . $index . '][PAY_SYSTEM_ID]', self::getPaySystemList(), isset($post['PAY_SYSTEM_ID']) ? $post['PAY_SYSTEM_ID'] : $data['PAY_SYSTEM_ID'], array("class" => "adm-bus-select", "id" => "PAY_SYSTEM_ID_" . $index)) . '</td> </tr> </tbody> </table> </div> <div class="adm-bus-table-container caption border"> <div class="adm-bus-table-caption-title" style="background: #eef5f5;">' . Loc::getMessage('SALE_ORDER_PAYMENT_SUM') . '</div> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="adm-detail-content-table edit-table "> <tbody> <tr> <td class="adm-detail-content-cell-l" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PAYABLE_SUM') . ':</td> <td class="adm-detail-content-cell-r tal"><input type="text" class="adm-bus-input-price" name="PAYMENT[' . $index . '][SUM]" id="PAYMENT_SUM_' . $index . '" value="' . round($sum, 2) . '" ' . $disabled . '> ' . $currencyLang . '<br></td> </tr> </tbody> </table> </div> <div class="adm-bus-table-container caption border" style="padding-top:10px;"> <div class="adm-bus-table-caption-title" style="background: #eef5f5;">' . Loc::getMessage('SALE_ORDER_PAYMENT_STATUS') . '</div> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="adm-detail-content-table alternation edit-table" id="PAYMENT_BLOCK_STATUS_' . $index . '"> <tbody> <tr> <td class="adm-detail-content-cell-l vat payment-status" width="40%"> ' . $paymentStatus . ' </td> <td class="adm-detail-content-cell-r tal" id="PAYMENT_CHANGE_USER_INFO_' . $index . '"> ' . $data['DATE_PAID'] . ' <a href="/bitrix/admin/user_edit.php?lang=' . $lang . '&ID=' . $data['EMP_PAID_ID'] . '">' . htmlspecialcharsbx($data['EMP_PAID_ID_NAME']) . ' ' . htmlspecialcharsbx($data['EMP_PAID_ID_LAST_NAME']) . '</a> </td> </tr> </tbody> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="adm-detail-content-table edit-table" id="PAYMENT_BLOCK_STATUS_INFO_' . $index . '"> <tbody> <tr> <td class="adm-detail-content-cell-l" width="40%"><br>' . Loc::getMessage('SALE_ORDER_PAYMENT_PAY_VOUCHER_NUM') . ':</td> <td class="adm-detail-content-cell-r tal"> <br> <input type="text" class="adm-bus-input" id="PAYMENT_NUM" name="PAYMENT[' . $index . '][PAY_VOUCHER_NUM]" value="' . htmlspecialcharsbx(isset($post['PAY_VOUCHER_NUM']) ? $post['PAY_VOUCHER_NUM'] : $data['PAY_VOUCHER_NUM']) . '" maxlength="20"> </td> </tr> <tr> <td class="adm-detail-content-cell-l" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PAY_VOUCHER_DATE') . ':</td> <td class="adm-detail-content-cell-r tal"> <div class="adm-input-wrap adm-calendar-second" style="display: inline-block;"> <input type="text" class="adm-input adm-calendar-to" id="PAYMENT_DATE_' . $index . '" name="PAYMENT[' . $index . '][PAY_VOUCHER_DATE]" size="15" value="' . htmlspecialcharsbx($post['PAY_VOUCHER_DATE'] ? $post['PAY_VOUCHER_DATE'] : $data['PAY_VOUCHER_DATE']) . '"> <span class="adm-calendar-icon" title="' . Loc::getMessage('SALE_ORDER_PAYMENT_CHOOSE_DATE') . '" onclick="BX.calendar({node:this, field:\'PAYMENT_DATE_' . $index . '\', form: \'\', bTime: false, bHideTime: false});"></span> </div> </td> </tr> ' . $returnInformation . ' </tbody> </table> </div>'; if (isset($data['PS_STATUS']) && !empty($data['PS_STATUS'])) { $result .= '<div class="adm-bus-table-container caption border"> <div class="adm-bus-table-caption-title" style="background: #eef5f5;">' . Loc::getMessage('SALE_ORDER_PAYMENT_PS_STATUS_TITLE') . '</div> <a href="javascript:void(0);" id="PS_INFO_' . $index . '">' . Loc::getMessage('SALE_ORDER_PAYMENT_TOGGLE_DOWN') . '</a> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="adm-detail-content-table edit-table" style="display: none"> <tbody> <tr> <td class="adm-detail-content-cell-l vat" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PS_STATUS') . ':</td> <td class="adm-detail-content-cell-r tal">' . $data['PS_STATUS'] . '</td> </tr> <tr> <td class="adm-detail-content-cell-l vat" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PS_STATUS_CODE') . ':</td> <td class="adm-detail-content-cell-r tal">' . $data['PS_STATUS_CODE'] . '</td> </tr> <tr> <td class="adm-detail-content-cell-l vat" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PS_STATUS_DESCRIPTION') . ':</td> <td class="adm-detail-content-cell-r tal">' . $data['PS_STATUS_DESCRIPTION'] . '</td> </tr> <tr> <td class="adm-detail-content-cell-l vat" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PS_CURRENCY') . ':</td> <td class="adm-detail-content-cell-r tal">' . $data['PS_CURRENCY'] . '</td> </tr> <tr> <td class="adm-detail-content-cell-l vat" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PS_SUM') . ':</td> <td class="adm-detail-content-cell-r tal">' . $data['PS_SUM'] . '</td> </tr> <tr> <td class="adm-detail-content-cell-l vat" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_PS_DATE') . ':</td> <td class="adm-detail-content-cell-r tal">' . $data['PS_RESPONSE_DATE'] . '</td> </tr> </tbody> </table> </div>'; } $result .= ' <div class="adm-bus-table-container caption border"> <div class="adm-bus-table-caption-title" style="background: #eef5f5;">' . Loc::getMessage('SALE_ORDER_PAYMENT_BLOCK_COMPANY') . '</div> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="adm-detail-content-table edit-table "> <tbody> <tr> <td class="adm-detail-content-cell-l" width="40%">' . Loc::getMessage('SALE_ORDER_PAYMENT_COMPANY_BY') . ':</td> <td class="adm-detail-content-cell-r">' . $companies . '</td> </tr> </tbody> </table> </div> </div> <div class="clb"></div> </div> </div> </div> </div> </div>'; $params = array('index' => $index, 'functionOnSave' => 'saveInHiddenFields', 'isPaid' => $data['PAID'] == 'Y', 'viewForm' => false, 'isAvailableChangeStatus' => true); $result .= self::initJsPayment($params); return $result; }
if ($supportDateDiff >= 0 && $supportDateDiff <= 30) { $sSupportMess = GetMessage("prolog_main_support11", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#DAYS_AGO#' => $supportDateDiff == 0 ? GetMessage("prolog_main_today") : GetMessage('prolog_main_support_days', array('#N_DAYS_AGO#' => $supportDateDiff)), '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT, '#SUP_FINISH_DATE#' => GetTime(mktime(0, 0, 0, $aSupportFinishDate[1] + 1, $aSupportFinishDate[0], $aSupportFinishDate[2])))); } elseif ($supportDateDiff < 0 && $supportDateDiff >= -30) { $sSupportMess = GetMessage("prolog_main_support21", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#DAYS_AGO#' => -$supportDateDiff, '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT, '#SUP_FINISH_DATE#' => GetTime(mktime(0, 0, 0, $aSupportFinishDate[1] + 1, $aSupportFinishDate[0], $aSupportFinishDate[2])))); } elseif ($supportDateDiff < -30) { $sSupportMess = GetMessage("prolog_main_support31", array('#FINISH_DATE#' => GetTime($supportFinishStamp), '#LICENSE_KEY#' => md5(LICENSE_KEY), '#WHAT_IS_IT#' => $sSupWIT)); } if ($sSupportMess != '') { $userOption = CUserOptions::GetOption("main", "admSupInf"); if (mktime() > $userOption["showInformerDate"]) { $prolongUrl = "/bitrix/admin/buy_support.php?lang=" . LANGUAGE_ID; if (!in_array(LANGUAGE_ID, array("ru", "ua")) || IntVal(COption::GetOptionString("main", "~PARAM_PARTNER_ID")) <= 0) { require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/classes/general/update_client.php"; $prolongUrl = "http://www.1c-bitrix.ru/buy_tmp/key_update.php?license_key=" . md5(CUpdateClient::GetLicenseKey()) . "&tobasket=y&lang=" . LANGUAGE_ID; } echo BeginNote('style="position: relative; top: -15px;"'); ?> <style> #menu-popup-prolong-popup .popup-window-hr { display:none;} #menu-popup-prolong-popup .menu-popup .menu-popup-item {min-width: 100px; margin-top: 7px;} #menu-popup-prolong-popup .menu-popup-item:hover {background-color: #fff !important;} </style> <script> function showProlongMenu(bindElement) { BX.PopupMenu.show("prolong-popup", bindElement, [ { text : '<b><?php echo GetMessageJS("prolog_main_support_menu1"); ?> </b>'
$sTableID = "tbl_perfmon_panel"; $APPLICATION->SetTitle(GetMessage("PERFMON_PHP_TITLE")); require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_admin_after.php"; foreach ($data as $i => $arTable) { $lAdmin = new CAdminList($sTableID . $i); $lAdmin->BeginPrologContent(); if (array_key_exists("TITLE", $arTable)) { echo "<h4>" . $arTable["TITLE"] . "</h4>\n"; } $lAdmin->EndPrologContent(); $lAdmin->AddHeaders($arTable["HEADERS"]); $rsData = new CDBResult(); $rsData->InitFromArray($arTable["ITEMS"]); $rsData = new CAdminResult($rsData, $sTableID . $i); $j = 0; while ($arRes = $rsData->NavNext(true, "f_")) { $row =& $lAdmin->AddRow($j++, $arRes); $row->AddViewField("PARAMETER", $arRes["PARAMETER"]); if ($arRes["IS_OK"]) { $row->AddViewField("VALUE", $arRes["VALUE"] . " "); $row->AddViewField("RECOMMENDATION", " "); } else { $row->AddViewField("VALUE", "<span class=\"errortext\">" . $arRes["VALUE"] . " </span>"); $row->AddViewField("RECOMMENDATION", $arRes["RECOMMENDATION"]); } } $lAdmin->CheckListMode(); $lAdmin->DisplayList(); } echo BeginNote(), "<a href=\"phpinfo.php?test_var1=AAA&test_var2=BBB\">" . GetMessage("PERFMON_PHP_SETTINGS") . "</a>", EndNote(); require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
return; } $request = Main\Context::getCurrent()->getRequest(); $dbRes = Adv\YandexCampaignTable::getList(array("order" => array("NAME" => "asc"), "filter" => array('=ACTIVE' => Adv\YandexCampaignTable::ACTIVE, '=ENGINE_ID' => $engine->getId()), 'select' => array("ID", "NAME", "XML_ID", "OWNER_ID", "SETTINGS"))); $campaignList = array(); while ($campaign = $dbRes->fetch()) { if ($campaign['OWNER_ID'] == $currentUser['id']) { $campaignList[$campaign['ID']] = $campaign; } } if (count($campaignList) <= 0) { if (!defined('BX_PUBLIC_MODE') || !BX_PUBLIC_MODE) { $message = new CAdminMessage(array("TYPE" => "OK", "DETAILS" => Loc::getMessage("SEO_ERROR_NO_CAMPAIGNS", array("#LANGUAGE_ID#" => LANGUAGE_ID)), "HTML" => true)); echo $message->Show(); } else { echo BeginNote() . Loc::getMessage("SEO_ERROR_NO_CAMPAIGNS", array("#LANGUAGE_ID#" => LANGUAGE_ID)) . EndNote(); } ?> <a href="/bitrix/admin/seo_search_yandex_direct_edit.php?lang=<?php echo LANGUAGE_ID; ?> &back_url=<?php echo urlencode($APPLICATION->GetCurPageParam('form_element_' . $iblockElementInfo["IBLOCK"]["ID"] . '_active_tab=seo_adv_seo_adv', array('form_element_' . $iblockElementInfo["IBLOCK"]["ID"] . '_active_tab'))); ?> "><?php echo Loc::getMessage("SEO_CREATE_NEW_CAMPAIGN"); ?> </a> <?php } else { $dbRes = Adv\LinkTable::getList(array("filter" => array('LINK_TYPE' => Adv\LinkTable::TYPE_IBLOCK_ELEMENT, 'LINK_ID' => $iblockElementInfo['ID'], "BANNER.ENGINE_ID" => $engine->getId()), "select" => array("BANNER_ID", "BANNER_NAME" => "BANNER.NAME", "BANNER_XML_ID" => "BANNER.XML_ID", "BANNER_CAMPAIGN_ID" => "BANNER.CAMPAIGN_ID")));
var maxValue = parseFloat(BX('ORDER_PRICE_ALL').innerHTML.replace(' ', '').replace(',', '.')), newValue = 0, sumPriceValue = parseFloat(BX('ORDER_PAY_FROM_ACCOUNT_EDIT').value); if (!isNaN(sumPriceValue)) { if (sumPriceValue <= maxValue) newValue = sumPriceValue; else { newValue = maxValue; } } BX('ORDER_PAY_FROM_ACCOUNT_EDIT').value = newValue; BX('ORDER_PAY_FROM_ACCOUNT').innerHTML = newValue; } } </script> <?echo BeginNote();?> 1) - <?php echo GetMessage("NEWO_ORDER_RECOUNT_HINT"); ?> <br> <? echo EndNote(); require($DOCUMENT_ROOT."/bitrix/modules/main/include/epilog_admin.php"); ?>
} else { CAdminMessage::ShowMessage(array("MESSAGE" => GetMessage("RDB_OPTIMIZE_ERROR"), "TYPE" => "ERROR", "HTML" => true, "DETAILS" => GetMessage("RDB_OPTIMIZE_TABLE_NOT_FOUND"))); } } } require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin_js.php"; } else { $APPLICATION->SetTitle(GetMessage("RDB_REPAIR_DATABASE")); require_once dirname(__FILE__) . "/../include/prolog_admin_after.php"; if (strtolower($DB->type) == "mysql") { if ($_REQUEST["check_tables"] == "Y" && check_bitrix_sessid()) { repair_db(); } elseif ($_REQUEST["optimize_tables"] == "Y") { ?> <?php echo BeginNote(), GetMessage("RDB_OPTIMIZE_TIP"), EndNote(); ?> <div id="optimize_result"> <?php CAdminMessage::ShowMessage(array("MESSAGE" => GetMessage("RDB_OPTIMIZE_WARNING_TITLE"), "TYPE" => "ERROR", "HTML" => true, "DETAILS" => GetMessage("RDB_OPTIMIZE_WARNING_DETAILS"))); ?> </div> <input type="button" name="opt_start" id="opt_start" value="<?php echo GetMessage("RDB_OPTIMIZE_BTN_START"); ?> " OnClick="Optimize('start|');"> <input type="button" name="opt_pause" id="opt_pause" value="<?php echo GetMessage("RDB_OPTIMIZE_BTN_PAUSE"); ?> " OnClick="Pause(true);" disabled> <input type="button" name="opt_continue" id="opt_continue" value="<?php
echo $type == $key ? ' selected' : ''; ?> ><?php echo $key; ?> </option><?php } } ?> </select> </td> </tr> <tr> <td colspan="2" align="center"> <?php echo BeginNote(), GetMessage('YANDEX_TYPE_NOTE'), EndNote(); ?> </td> </tr> <?php /* <tr class="heading"> <td colspan="2"><?=GetMessage('YANDEX_PROPS_COMMON')?></td> </tr> <tr> <td colspan="2"> <div id="config_common" style="padding: 10px;"> <table width="75%" class="inner" align="center"> <? foreach ($arCommonConfig as $prop): ?>
function __AdmSettingsDrawRow($module_id, $Option) { $arControllerOption = CControllerClient::GetInstalledOptions($module_id); if (!is_array($Option)) { ?> <tr class="heading"> <td colspan="2"><?php echo $Option; ?> </td> </tr> <?php } elseif (isset($Option["note"])) { ?> <tr> <td colspan="2" align="center"> <?php echo BeginNote('align="center"'); ?> <?php echo $Option["note"]; ?> <?php echo EndNote(); ?> </td> </tr> <?php } else { if ($Option[0] != "") { $val = COption::GetOptionString($module_id, $Option[0], $Option[2]); } else { $val = $Option[2]; } $type = $Option[3]; $disabled = array_key_exists(4, $Option) && $Option[4] == 'Y' ? ' disabled' : ''; $sup_text = array_key_exists(5, $Option) ? $Option[5] : ''; ?> <tr> <td<?php if ($type[0] == "multiselectbox" || $type[0] == "textarea" || $type[0] == "statictext" || $type[0] == "statichtml") { echo ' class="adm-detail-valign-top"'; } ?> width="50%"><?php if ($type[0] == "checkbox") { echo "<label for='" . htmlspecialcharsbx($Option[0]) . "'>" . $Option[1] . "</label>"; } else { echo $Option[1]; } if (strlen($sup_text) > 0) { ?> <span class="required"><sup><?php echo $sup_text; ?> </sup></span><?php } ?> <a name="opt_<?php echo htmlspecialcharsbx($Option[0]); ?> "></a></td> <td width="50%"><?php if ($type[0] == "checkbox") { ?> <input type="checkbox" <?php if (isset($arControllerOption[$Option[0]])) { echo ' disabled title="' . GetMessage("MAIN_ADMIN_SET_CONTROLLER_ALT") . '"'; } ?> id="<?php echo htmlspecialcharsbx($Option[0]); ?> " name="<?php echo htmlspecialcharsbx($Option[0]); ?> " value="Y"<?php if ($val == "Y") { echo " checked"; } echo $disabled; if ($type[2] != '') { echo " " . $type[2]; } ?> ><?php } elseif ($type[0] == "text" || $type[0] == "password") { ?> <input type="<?php echo $type[0]; ?> "<?php if (isset($arControllerOption[$Option[0]])) { echo ' disabled title="' . GetMessage("MAIN_ADMIN_SET_CONTROLLER_ALT") . '"'; } ?> size="<?php echo $type[1]; ?> " maxlength="255" value="<?php echo htmlspecialcharsbx($val); ?> " name="<?php echo htmlspecialcharsbx($Option[0]); ?> "<?php echo $disabled; echo $type[0] == "password" || $type["noautocomplete"] ? ' autocomplete="off"' : ''; ?> ><?php } elseif ($type[0] == "selectbox") { $arr = $type[1]; if (!is_array($arr)) { $arr = array(); } ?> <select name="<?php echo htmlspecialcharsbx($Option[0]); ?> " <?php if (isset($arControllerOption[$Option[0]])) { echo ' disabled title="' . GetMessage("MAIN_ADMIN_SET_CONTROLLER_ALT") . '"'; } ?> <?php echo $disabled; ?> ><?php foreach ($arr as $key => $v) { ?> <option value="<?php echo $key; ?> "<?php if ($val == $key) { echo " selected"; } ?> ><?php echo htmlspecialcharsbx($v); ?> </option><?php } ?> </select><?php } elseif ($type[0] == "multiselectbox") { $arr = $type[1]; if (!is_array($arr)) { $arr = array(); } $arr_val = explode(",", $val); ?> <select size="5" <?php if (isset($arControllerOption[$Option[0]])) { echo ' disabled title="' . GetMessage("MAIN_ADMIN_SET_CONTROLLER_ALT") . '"'; } ?> multiple name="<?php echo htmlspecialcharsbx($Option[0]); ?> []"<?php echo $disabled; ?> ><?php foreach ($arr as $key => $v) { ?> <option value="<?php echo $key; ?> "<?php if (in_array($key, $arr_val)) { echo " selected"; } ?> ><?php echo htmlspecialcharsbx($v); ?> </option><?php } ?> </select><?php } elseif ($type[0] == "textarea") { ?> <textarea <?php if (isset($arControllerOption[$Option[0]])) { echo ' disabled title="' . GetMessage("MAIN_ADMIN_SET_CONTROLLER_ALT") . '"'; } ?> rows="<?php echo $type[1]; ?> " cols="<?php echo $type[2]; ?> " name="<?php echo htmlspecialcharsbx($Option[0]); ?> "<?php echo $disabled; ?> ><?php echo htmlspecialcharsbx($val); ?> </textarea><?php } elseif ($type[0] == "statictext") { echo htmlspecialcharsbx($val); } elseif ($type[0] == "statichtml") { echo $val; } ?> </td> </tr> <?php } }
<?php $tabControl->EndTab(); $tabControl->Buttons(); ?> <input type="submit" class="adm-btn-save bx-ui-loc-i-button-start" value="<?php echo Loc::getMessage('SALE_SLI_START'); ?> "> <?php $tabControl->End(); ?> </div> <?php echo BeginNote(); ?> <?php echo Loc::getMessage('SALE_SLI_HEAVY_DUTY_NOTICE'); ?> <br /><br /> <?php echo Loc::getMessage('SALE_SLI_HEAVY_DUTY_HOST_NOTICE'); ?> <?php echo EndNote(); ?> <script> BX.locationImport = new BX.Sale.component.location.import(<?php echo CUtil::PhpToJSObject(array('url' => CHTTP::urlAddParams($arResult['URLS']['IMPORT_AJAX'], array('lang' => LANGUAGE_ID)), 'pageUrl' => $arResult['URLS']['IMPORT'], 'scope' => 'location-import', 'ajaxFlag' => 'AJAX_CALL', 'importId' => rand(99, 999), 'firstImport' => !!$arResult['FIRST_IMPORT'], 'statistics' => array('TOTAL' => array('CNT' => isset($arResult['STATISTICS']['TOTAL']) ? intval($arResult['STATISTICS']['TOTAL']['CNT']) : 0)), 'messages' => array('start' => Loc::getMessage('SALE_SLI_START'), 'stop' => Loc::getMessage('SALE_SLI_STOP'), 'stopping' => Loc::getMessage('SALE_SLI_STOPPING'), 'selectItems' => Loc::getMessage('SALE_SLI_CHECK_ITEMS_AND_PROCEED', array('#START#' => Loc::getMessage('SALE_SLI_START'))), 'uploadFile' => Loc::getMessage('SALE_SLI_UPLOAD_FILE_AND_PROCEED', array('#START#' => Loc::getMessage('SALE_SLI_START'))), 'error_occured' => Loc::getMessage('SALE_SLI_ERROR'), 'confirm_delete' => Loc::getMessage('SALE_SLI_DELETE_ALL_CONFIRM'), 'confirm_delete_relic' => Loc::getMessage('SALE_SLI_DELETE_ALL_CONFIRM_RELIC'), 'stage_DOWNLOAD_FILES' => Loc::getMessage('SALE_SLI_STAGE_DOWNLOAD_FILES'), 'stage_REBALANCE_WALK_TREE' => Loc::getMessage('SALE_SLI_STAGE_REBALANCE'), 'stage_REBALANCE_CLEANUP_TEMP_TABLE' => Loc::getMessage('SALE_SLI_STAGE_CLEANUP_TEMP_TABLE'), 'stage_RESTORE_INDEXES' => Loc::getMessage('SALE_SLI_STAGE_RESTORE_INDEXES'), 'stage_DELETE_ALL' => Loc::getMessage('SALE_SLI_STAGE_DELETE_ALL'), 'stage_PROCESS_FILES' => Loc::getMessage('SALE_SLI_STAGE_PROCESS_FILES'), 'stage_INTEGRITY_PRESERVE' => Loc::getMessage('SALE_SLI_STAGE_INTEGRITY_PRESERVE'), 'stage_COMPLETE' => Loc::getMessage('SALE_SLI_STAGE_COMPLETE'), 'stage_INTERRUPTED' => Loc::getMessage('SALE_SLI_STAGE_INTERRUPTED'), 'stage_INTERRUPTING' => Loc::getMessage('SALE_SLI_STAGE_INTERRUPTING'), 'stage_COMPLETE_REMOVE_ALL' => Loc::getMessage('SALE_SLI_COMPLETE_REMOVE_ALL'), 'stage_DROP_INDEXES' => Loc::getMessage('SALE_SLI_DROP_INDEXES'))), false, false, true);
<td><div id="seo_yandex_crawling" align="center"><?php echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote(); ?> </div></td> </tr> <?php $tabControl->BeginNextTab(); ?> <tr> <td><div id="seo_yandex_original_texts" align="center"><?php echo BeginNote(), Loc::getMessage('SEO_LOADING'), EndNote(); ?> </div></td> </tr><tr> <td align="center"><?php echo BeginNote(), Loc::getMessage('SEO_DETAIL_ORIGINAL_HINT'), EndNote(); ?> </td> </tr> <?php $tabControl->End(); ?> <script type="text/javascript"> function BXLoadInfo(action) { BX.ajax.loadJSON( '/bitrix/tools/seo_yandex.php?action='+action+'&domain=<?php echo urlencode($arDomain['DOMAIN']); ?> &dir=<?php echo urlencode($arDomain['SITE_DIR']);