<td><?php echo GetMessage("MAIN_F_TIMESTAMP") . ":"; ?> </td> <td><?php echo CalendarPeriod("find_timestamp_1", htmlspecialcharsbx($find_timestamp_1), "find_timestamp_2", htmlspecialcharsbx($find_timestamp_2), "find_form", "Y"); ?> </td> </tr> <tr> <td><?php echo GetMessage("MAIN_F_LID"); ?> </td> <td><?php echo CLang::SelectBox("find_lid", htmlspecialcharsbx($find_lid), GetMessage("MAIN_ALL")); ?> </td> </tr> <tr> <td><?php echo GetMessage("F_ACTIVE"); ?> </td> <td><?php $arr = array("reference" => array(GetMessage("MAIN_YES"), GetMessage("MAIN_NO")), "reference_id" => array("Y", "N")); echo SelectBoxFromArray("find_active", $arr, htmlspecialcharsbx($find_active), GetMessage("MAIN_ALL")); ?> </td> </tr> <tr>
<? $tabControl->BeginNextTab(); if ($ID>0):?> <tr> <td width="40%">ID:</td> <td width="60%"><?echo $ID ?></td> </tr> <?endif;?> <tr class="adm-detail-required-field"> <td width="40%"><?echo GetMessage("F_NAME") ?>:</td> <td width="60%"><input type="text" name="NAME" value="<?echo $str_NAME ?>" size="40"></td> </tr> <tr class="adm-detail-required-field"> <td width="40%"><?echo GetMessage("F_LANG") ?>:</td> <td width="60%"><?echo CLang::SelectBox("LID", $str_LID, "")?></td> </tr> <tr> <td width="40%"><?echo GetMessage("F_PERIOD_FROM") ?>:</td> <td width="60%"> <?echo GetMessage("SALE_FROM")?> <input type="text" name="PERIOD_FROM" value="<?echo $str_PERIOD_FROM ?>" size="3"> <?echo GetMessage("SALE_TO")?> <input type="text" name="PERIOD_TO" value="<?echo $str_PERIOD_TO ?>" size="3"> <? $arPerType = array( "D" => GetMessage("PER_DAY"), "H" => GetMessage("PER_HOUR"), "M" => GetMessage("PER_MONTH") ); ?>
?> ?lang=<?php echo LANGUAGE_ID; ?> " name="ebay_policysettings_form"> <?php echo bitrix_sessid_post(); ?> <table width="100%"> <tr> <td align="left"> <?php echo Loc::getMessage("SALE_EBAY_SITE"); ?> : <?php echo CLang::SelectBox("SITE_ID", $SITE_ID, "", "this.form.submit();"); ?> </td> <td align="right"> <img alt="eBay logo" src="/bitrix/images/sale/ebay-logo.png" style="width: 100px; height: 67px;"> </td> </tr> </table> <?php $tabControl->Begin(); $tabControl->BeginNextTab(); ?> <tr class="heading"><td colspan="2"><?php echo Loc::getMessage("SALE_EBAY_DEFAULT"); ?> </td></tr>
<td><?php echo GetMessage("SEC_IP_LIST_ADMIN_SECTION"); ?> </td> <td><?php echo SelectBoxFromArray("find_admin_section", $arYesNo, htmlspecialcharsbx($find_admin_section), GetMessage("MAIN_ALL")); ?> </td> </tr> <tr> <td><?php echo GetMessage("SEC_IP_LIST_SITE_ID"); ?> </td> <td><?php echo CLang::SelectBox("find_site_id", $find_admin_section, GetMessage("MAIN_ALL")); ?> </td> </tr> <tr> <td><?php echo GetMessage("SEC_IP_LIST_NAME"); ?> </td> <td><input type="text" name="find_name" size="47" value="<?php echo htmlspecialcharsbx($find_name); ?> "></td> </tr> <tr> <td><?php
?> </td> <td><input type="checkbox" name="VISIBLE" value="Y"<?php if ($str_VISIBLE == "Y") { echo " checked"; } ?> ></td> </tr> <tr> <td><?php echo GetMessage("rub_site"); ?> </td> <td><?php echo CLang::SelectBox("LID", $str_LID); ?> </td> </tr> <tr class="adm-detail-required-field"> <td><?php echo GetMessage("rub_name"); ?> </td> <td><input type="text" name="NAME" value="<?php echo $str_NAME; ?> " size="45" maxlength="100"></td> </tr> <tr> <td><?php
</td> <td><input type="text" name="max_execution_time" id="max_execution_time" size="3" value="<?php echo $max_execution_time; ?> "> <?php echo GetMessage("SEARCH_REINDEX_STEP_sec"); ?> </td> </tr> <tr> <td><?php echo GetMessage("SEARCH_REINDEX_SITE"); ?> </td> <td><?php echo CLang::SelectBox("LID", $str_LID, GetMessage("SEARCH_REINDEX_ALL"), "", "id=\"LID\""); ?> </td> </tr> <tr> <td><?php echo GetMessage("SEARCH_REINDEX_MODULE"); ?> </td> <td> <select name="MODULE_ID" id="MODULE_ID"> <option value="NOT_REF"><?php echo GetMessage("SEARCH_REINDEX_ALL"); ?> </option> <option value="main"><?php
<div class="adm-detail-content-item-block"> <p class="adm-detail-content-item-block-title"><?php echo GetMessage("sender_wizard_step_mailing_title_sub"); ?> </p> <table class="adm-detail-content-table edit-table"> <tr> <td width="40%" class="adm-detail-valign-top"><?echo GetMessage("sender_mailing_edit_field_active")?></td> <td width="60%" style="padding-top: 11px;"> <input class="adm-designed-checkbox" type="checkbox" id="ACTIVE" name="ACTIVE" value="Y"<?if($str_ACTIVE == "Y") echo " checked"?>> <label for="ACTIVE" class="adm-designed-checkbox-label"></label> </td> </tr> <tr> <td><?echo GetMessage("sender_mailing_edit_field_site")?></td> <td><?echo CLang::SelectBox("SITE_ID", $str_SITE_ID);?></td> </tr> <tr class="adm-detail-required-field"> <td><?echo GetMessage("sender_mailing_edit_field_name")?> <br/> <span class="adm-fn"><?php echo GetMessage('sender_mailing_edit_field_name_desc'); ?> </span> </td> <td><input type="text" name="NAME" value="<?echo $str_NAME;?>" size="45" maxlength="100"></td> </tr> <tr> <td class="adm-detail-valign-top"> <?echo GetMessage("sender_mailing_edit_field_desc")?> <br/>
$sm_max_execution_time = 30; } $sm_record_limit = intval(COption::GetOptionInt("search", "sm_record_limit")); if ($sm_record_limit < 1) { $sm_record_limit = 5000; } $tabControl->Begin(); $tabControl->BeginNextTab(); ?> <tr> <td width="40%"><?php echo GetMessage("SEARCH_SITEMAP_SITE"); ?> </td> <td width="60%"><?php echo CLang::SelectBox("SM_SITE_ID", SITE_ID); ?> </td> </tr> <tr> <td><?php echo GetMessage("SEARCH_SITEMAP_STEP"); ?> </td> <td><input type="text" name="sm_max_execution_time" id="sm_max_execution_time" size="5" value="<?php echo $sm_max_execution_time; ?> "> <?php echo GetMessage("SEARCH_SITEMAP_STEP_sec"); ?> </td>
<? $sm_max_execution_time = intval(COption::GetOptionInt("search", "sm_max_execution_time")); if($sm_max_execution_time < 1) $sm_max_execution_time = 30; $sm_record_limit = intval(COption::GetOptionInt("search", "sm_record_limit")); if($sm_record_limit < 1) $sm_record_limit = 5000; $tabControl->Begin(); $tabControl->BeginNextTab(); ?> <tr> <td width="40%"><?echo GetMessage("SEARCH_SITEMAP_SITE")?></td> <td width="60%"><?echo CLang::SelectBox("SM_SITE_ID", SITE_ID);?></td> </tr> <tr> <td><?echo GetMessage("SEARCH_SITEMAP_STEP")?></td> <td><input type="text" name="sm_max_execution_time" id="sm_max_execution_time" size="5" value="<?echo $sm_max_execution_time?>"> <?echo GetMessage("SEARCH_SITEMAP_STEP_sec")?></td> </tr> <tr> <td><?echo GetMessage("SEARCH_SITEMAP_RECORD_LIMIT")?></td> <td><input type="text" name="sm_record_limit" id="sm_record_limit" size="5" value="<?echo $sm_record_limit?>"></td> </tr> <?if(IsModuleInstalled("forum")):?> <tr> <td><label for="sm_forum_topics_only"><?echo GetMessage("SEARCH_SITEMAP_FORUM_TOPICS_ONLY")?>:</label></td> <td><input type="checkbox" id="sm_forum_topics_only" name="sm_forum_topics_only" value="Y"<? if(COption::GetOptionString("search", "sm_forum_topics_only")=="Y") echo ' checked="checked"'?>></td> </tr>
{ filter_order_price_from.disabled = false; filter_order_price_to.disabled = false; for (i = 0; i < arLang.length; i++) { if (filter_lang.options[filter_lang.selectedIndex].value == arLang[i]) { f_currency.value = arCurr[i]; break; } } } } </script> <?php echo CLang::SelectBox("filter_lang", $filter_lang, GetMessage("SALE_ALL"), "LangChange()"); ?> </td> </tr> <tr> <td><?php echo GetMessage("SALE_F_WEIGHT"); ?> :</td> <td> <?php echo GetMessage("SALE_F_FROM"); ?> <input type="text" name="filter_weight_from" value="<?php echo htmlspecialcharsbx($filter_weight_from); ?>
?> <form name="find_form" method="GET" action="<?php echo $APPLICATION->GetCurPage(); ?> ?"> <?php $oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SONET_SUBJECT_NAME"))); $oFilter->Begin(); ?> <tr> <td><?php echo GetMessage("SONET_FILTER_SITE_ID"); ?> :</td> <td><?php echo CLang::SelectBox("filter_site_id", $filter_site_id, GetMessage("SONET_SPT_ALL")); ?> </tr> <tr> <td><?php echo GetMessage("SONET_SUBJECT_NAME"); ?> :</td> <td><input type="text" name="filter_name" value="<?php echo htmlspecialcharsbx($filter_name); ?> " size="40"><?php echo ShowFilterLogicHelp(); ?> </td> </tr>
<form method="POST" Action="<?php echo $APPLICATION->GetCurPage(); ?> " ENCTYPE="multipart/form-data" name="post_form" id="tbl_search"> <?php $tabControl->Begin(); $tabControl->BeginNextTab(); ?> <tr> <td width="40%"><?php echo GetMessage("customrank_edit_site"); ?> </td> <td width="60%"><?php echo CLang::SelectBox("SITE_ID", $str_SITE_ID, "", "BoxUpdateNew('param1')", " id=\"SITE_ID\""); ?> </td> </tr> <tr> <td><?php echo GetMessage("customrank_edit_module"); ?> </td> <td> <select name="MODULE_ID" id="MODULE_ID" OnChange="BoxUpdateNew('param1')"> <option value="main"<?php echo $str_MODULE_ID == "main" ? " selected" : ""; ?> ><?php echo GetMessage("customrank_edit_files");
?> ?lang=<?php echo htmlspecialcharsbx(LANG); ?> " name="fs1"> <?php $tabControl->Begin(); $tabControl->BeginNextTab(); ?> <tr> <td width="40%"><?php echo GetMessage("MURL_REINDEX_SITE"); ?> </td> <td width="60%"><?php echo CLang::SelectBox("LID", $str_LID, GetMessage("MURL_REINDEX_ALL"), ""); ?> </td> </tr> <tr> <td><?php echo GetMessage("MURL_REINDEX_MAX_SIZE"); ?> </td> <td><input type="text" name="max_file_size" id="max_file_size" size="10" value="<?php echo COption::GetOptionString("main", "urlrewrite_max_file_size"); ?> "><?php echo GetMessage("MURL_REINDEX_MAX_SIZE_kb"); ?> </td>
<td><?php echo GetMessage("customrank_id"); ?> </td> <td><input type="text" name="find_id" size="47" value="<?php echo htmlspecialcharsbx($find_id); ?> "></td> </tr> <tr> <td><?php echo GetMessage("customrank_site"); ?> </td> <td><?php echo CLang::SelectBox("find_site_id", $find_site_id, GetMessage("customrank_all")); ?> </td> </tr> <tr> <td><?php echo GetMessage("customrank_module"); ?> </td> <td><?php echo CSearchCustomRank::ModulesSelectBox("find_module_id", $find_module_id, GetMessage("customrank_all"), "", ""); ?> </td> </tr> <tr> <td><?php
} break; } } } $cData = new CRubric(); $rsData = $cData->GetList(array($by => $order), $arFilter); $rsData = new CAdminResult($rsData, $sTableID); $rsData->NavStart(); $lAdmin->NavText($rsData->GetNavPrint(GetMessage("rub_nav"))); $lAdmin->AddHeaders(array(array("id" => "ID", "content" => "ID", "sort" => "id", "align" => "right", "default" => true), array("id" => "NAME", "content" => GetMessage("rub_name"), "sort" => "name", "default" => true), array("id" => "LID", "content" => GetMessage("rub_site"), "sort" => "lid", "default" => true), array("id" => "SORT", "content" => GetMessage("rub_sort"), "sort" => "sort", "align" => "right", "default" => true), array("id" => "CODE", "content" => GetMessage("rub_code"), "sort" => "name", "default" => false), array("id" => "ACTIVE", "content" => GetMessage("rub_act"), "sort" => "act", "default" => true), array("id" => "VISIBLE", "content" => GetMessage("rub_visible"), "sort" => "visible", "default" => true), array("id" => "AUTO", "content" => GetMessage("rub_auto"), "sort" => "auto", "default" => true), array("id" => "LAST_EXECUTED", "content" => GetMessage("rub_last_exec"), "sort" => "last_executed", "default" => true))); while ($arRes = $rsData->NavNext(true, "f_")) { $row =& $lAdmin->AddRow($f_ID, $arRes); $row->AddInputField("NAME", array("size" => 20)); $row->AddViewField("NAME", '<a href="rubric_edit.php?ID=' . $f_ID . '&lang=' . LANG . '">' . $f_NAME . '</a>'); $row->AddEditField("LID", CLang::SelectBox("FIELDS[" . $f_ID . "][LID]", $f_LID)); $row->AddInputField("SORT", array("size" => 6)); $row->AddInputField("CODE", array("size" => 20)); $row->AddCheckField("ACTIVE"); $row->AddCheckField("VISIBLE"); $row->AddViewField("AUTO", $f_AUTO == "Y" ? GetMessage("POST_U_YES") : GetMessage("POST_U_NO")); $arActions = array(); $arActions[] = array("ICON" => "edit", "DEFAULT" => true, "TEXT" => GetMessage("rub_edit"), "ACTION" => $lAdmin->ActionRedirect("rubric_edit.php?ID=" . $f_ID)); if ($POST_RIGHT >= "W") { $arActions[] = array("ICON" => "delete", "TEXT" => GetMessage("rub_del"), "ACTION" => "if(confirm('" . GetMessage('rub_del_conf') . "')) " . $lAdmin->ActionDoGroup($f_ID, "delete")); } $arActions[] = array("SEPARATOR" => true); if (strlen($f_TEMPLATE) > 0 && $f_AUTO == "Y") { $arActions[] = array("ICON" => "", "TEXT" => GetMessage("rub_check"), "ACTION" => $lAdmin->ActionRedirect("template_test.php?ID=" . $f_ID)); } if (is_set($arActions[count($arActions) - 1], "SEPARATOR")) {
?> :</td> <td width="60%"><input type="checkbox" name="ADMIN_SECTION" value="Y"<?php if ($str_ADMIN_SECTION == "Y") { echo " checked"; } ?> ></td> </tr> <tr> <td width="40%"><?php echo GetMessage("SEC_IP_EDIT_SITE_ID"); ?> :</td> <td width="60%"><?php echo CLang::SelectBox("SITE_ID", $str_SITE_ID, GetMessage("MAIN_ALL")); ?> </td> </tr> <tr> <td><?php echo GetMessage("SEC_IP_EDIT_SORT"); ?> :</td> <td><input type="text" size="5" name="SORT" value="<?php echo $str_SORT; ?> "></td> </tr> <tr> <td><?php
"/> </td> </tr> <tr> <td width="40%" class="adm-detail-content-cell-l"> <span id="hint_PROFILE[LID]"></span><script type="text/javascript">BX.hint_replace( BX( 'hint_PROFILE[LID]' ), '<?php echo GetMessage("ACRIT_EXPORTPRO_STEP1_SITE_HELP"); ?> ' );</script> <label for="PROFILE[LID]"><b><?php echo GetMessage("ACRIT_EXPORTPRO_STEP1_SITE"); ?> </b></label> </td> <td width="60%" class="adm-detail-content-cell-r"><?php echo CLang::SelectBox("PROFILE[LID]", $arProfile["LID"], '', ''); ?> </td> </tr> <tr> <td width="40%" class="adm-detail-content-cell-l"> <span id="hint_PROFILE[ENCODING]"></span><script type="text/javascript">BX.hint_replace( BX( 'hint_PROFILE[ENCODING]' ), '<?php echo GetMessage("ACRIT_EXPORTPRO_STEP1_ENCODING_HELP"); ?> ' );</script> <label for="PROFILE[ENCODING]"><b><?php echo GetMessage("ACRIT_EXPORTPRO_STEP1_ENCODING"); ?> </b></label> </td> <td width="60%" class="adm-detail-content-cell-r">
} </script> <div id="reindex_result_div" style="margin:0px"></div> <form method="POST" action="<?echo $APPLICATION->GetCurPage()?>?lang=<?echo htmlspecialcharsbx(LANG)?>" name="fs1"> <? $tabControl->Begin(); $tabControl->BeginNextTab(); ?> <tr> <td width="40%"><?php echo GetMessage("MURL_REINDEX_SITE"); ?> </td> <td width="60%"><?echo CLang::SelectBox("LID", $str_LID, GetMessage("MURL_REINDEX_ALL"), "");?></td> </tr> <tr> <td><?echo GetMessage("MURL_REINDEX_MAX_SIZE")?></td> <td><input type="text" name="max_file_size" id="max_file_size" size="10" value="<?echo COption::GetOptionString("main", "urlrewrite_max_file_size");?>"><?echo GetMessage("MURL_REINDEX_MAX_SIZE_kb")?></td> </tr> <tr> <td><?echo GetMessage("MURL_REINDEX_STEPPED")?></td> <td><input type="checkbox" name="stepped" id="stepped" value="Y" OnClick="trs.disabled=!this.checked;document.fs1.max_execution_time.disabled=!this.checked;" <?if($stepped=="Y") echo " checked"?>></td> </tr> <tr id="trs" <?if($stepped!="Y") echo " disabled"?>> <td><?echo GetMessage("MURL_REINDEX_STEP")?></td> <td><input type="text" name="max_execution_time" id="max_execution_time" size="3" value="<?echo htmlspecialcharsbx($max_execution_time);?>" <?if($stepped!="Y") echo " disabled"?>> <?echo GetMessage("MURL_REINDEX_STEP_sec")?></td> </tr> <?
:</td> <td align="left" nowrap> <input type="text" name="filter_path" size="50" value="<?php echo htmlspecialcharsEx($filter_path); ?> "> </td> </tr> <tr> <td><?php echo GetMessage("MURL_FILTER_SITE"); ?> :</td> <td> <?php echo CLang::SelectBox("filter_site_id", $filter_site_id); ?> </td> </tr> <tr> <td><?php echo GetMessage("MURL_USL"); ?> :</td> <td> <input type="text" name="filter_condition" size="50" value="<?php echo htmlspecialcharsEx($filter_condition); ?> "> </td> </tr>
?> <form name="find_form" method="GET" action="<?php echo $APPLICATION->GetCurPage(); ?> ?"> <?php $oFilter = new CAdminFilter($adminListTableID . '_filter', array(Loc::getMessage('LANG_FILTER_NAME'), Loc::getMessage('FILTER_ACTIVE'))); $oFilter->Begin(); ?> <tr> <td><?php echo Loc::getMessage('LANG_FILTER_NAME'); ?> :</td> <td><?php echo CLang::SelectBox('filter_lang', isset($filter['LID']) ? $filter['LID'] : '', Loc::getMessage('DS_ALL')); ?> </td> </tr> <tr> <td><?php echo Loc::getMessage('FILTER_ACTIVE'); ?> :</td> <td> <select name="filter_active"> <option value=""><?php echo Loc::getMessage('DS_ALL'); ?> </option> <option value="Y"<?php
public function getHtml() { $logLevel = !empty($this->ebaySettings[$this->siteId]["LOG_LEVEL"]) ? htmlspecialcharsbx($this->ebaySettings[$this->siteId]["LOG_LEVEL"]) : Logger::LOG_LEVEL_ERROR; $notificationEmail = !empty($this->ebaySettings[$this->siteId]["EMAIL_ERRORS"]) ? htmlspecialcharsbx($this->ebaySettings[$this->siteId]["EMAIL_ERRORS"]) : ""; $domainName = ""; if (!empty($this->ebaySettings[$this->siteId]["DOMAIN_NAME"])) { $domainName = $this->ebaySettings[$this->siteId]["DOMAIN_NAME"]; } else { $dbRes = \Bitrix\Main\SiteTable::getById($this->siteId); if ($site = $dbRes->fetch()) { $domainName = $site["SERVER_NAME"]; } if (strlen($domainName) <= 0) { if (defined("SITE_SERVER_NAME") && strlen(SITE_SERVER_NAME) > 0) { $domainName = SITE_SERVER_NAME; } else { $domainName = \COption::GetOptionString("main", "server_name", "www.bitrixsoft.com"); } } } $domainName = htmlspecialcharsbx($domainName); return '<table>' . '<tr><td>' . Loc::getMessage('SALE_EBAY_W_STEP_SITE_CHOOSE') . ':</td><td>' . \CLang::SelectBox("SITE_ID_SELECTED", $this->siteId) . '<input type="hidden" name="EBAY_SETTINGS[LOG_LEVEL]" value="' . $logLevel . '">' . '<input type="hidden" name="EBAY_SETTINGS[DOMAIN_NAME]" value="' . $domainName . '">' . '</td></tr>' . '<tr><td>' . Loc::getMessage('SALE_EBAY_W_STEP_EMAIL') . ': ' . '</td><td>' . '<input type="text" name="EBAY_SETTINGS[EMAIL_ERRORS]" size="45" maxlength="255" value="' . $notificationEmail . '">' . '</td></tr>' . '</table>'; }
<form name="find_form" method="GET" action="<?php echo $APPLICATION->GetCurPage(); ?> ?"> <?php $oFilter = new CAdminFilter($sTableID . "_filter", array(GetMessage("SALE_F_PERSON_TYPE"))); $oFilter->Begin(); ?> <!--<tr> <td><?php echo GetMessage("SALE_F_LANG"); ?> :</td> <td> <?php echo CLang::SelectBox("filter_lang", $filter_lang, "(" . GetMessage("SALE_ALL") . ")"); ?> </td> </tr>--> <tr> <td><?php echo GetMessage("SALE_F_ACTIVE"); ?> :</td> <td> <select name="filter_active"> <option value="NOT_REF">(<?php echo GetMessage("SALE_ALL"); ?> )</option> <option value="Y"<?php
<tr> <td><?echo GetMessage("SEC_IP_EDIT_ID")?>:</td> <td><?echo $str_ID;?></td> </tr> <?endif?> <tr> <td width="40%"><?echo GetMessage("SEC_IP_EDIT_ACTIVE")?>:</td> <td width="60%"><input type="checkbox" name="ACTIVE" value="Y"<?if($str_ACTIVE == "Y") echo " checked"?>></td> </tr> <tr> <td width="40%"><?echo GetMessage("SEC_IP_EDIT_ADMIN_SECTION")?>:</td> <td width="60%"><input type="checkbox" name="ADMIN_SECTION" value="Y"<?if($str_ADMIN_SECTION == "Y") echo " checked"?>></td> </tr> <tr> <td width="40%"><?echo GetMessage("SEC_IP_EDIT_SITE_ID")?>:</td> <td width="60%"><?echo CLang::SelectBox("SITE_ID", $str_SITE_ID, GetMessage("MAIN_ALL"));?></td> </tr> <tr> <td><?echo GetMessage("SEC_IP_EDIT_SORT")?>:</td> <td><input type="text" size="5" name="SORT" value="<?echo $str_SORT?>"></td> </tr> <tr> <td><?echo GetMessage("SEC_IP_EDIT_NAME")?>:</td> <td><input type="text" size="45" name="NAME" value="<?echo $str_NAME?>"></td> </tr> <tr> <td><?echo GetMessage("SEC_IP_EDIT_ACTIVE_FROM")?>:</td> <td><?echo CAdminCalendar::CalendarDate("ACTIVE_FROM", $str_ACTIVE_FROM, 19, true)?></td> </tr> <tr> <td><?echo GetMessage("SEC_IP_EDIT_ACTIVE_TO")?>:</td>
echo $fp_LID; ?> )</option><?php } ?> </select> </td> </tr> <tr> <td><?php echo GetMessage("SALE_F_LANG"); ?> :</td> <td> <?php echo CLang::SelectBox("filter_lang", $filter_lang, GetMessage("SALE_ALL")); ?> </td> </tr> <tr> <td><?php echo GetMessage("SALE_F_PERSON_TYPE"); ?> :</td> <td> <?php echo CSalePersonType::SelectBox("filter_person_type_id", $filter_person_type_id, GetMessage("SALE_ALL"), True, "", ""); ?> </td> </tr> <tr>
<input type="text" size="30" name="DOMAIN_NAME" value="<?php echo $acrit_DOMAIN_NAME; ?> " > </td> </tr> <tr> <td width="40%" class="adm-detail-content-cell-l"> <label for="LID"><?php echo GetMessage("ACRIT_GENERAL_PARAMETER_SITE_ID"); ?> </label> </td> <td width="60%" class="adm-detail-content-cell-r"> <?php echo CLang::SelectBox("LID", $acrit_LID); ?> </td> </tr> <tr> <td width="40%" class="adm-detail-content-cell-l"> <label for="ENCODING"><?php echo GetMessage("ACRIT_GENERAL_PARAMETER_ENCODING"); ?> </label> </td> <td width="60%" class="adm-detail-content-cell-r"> <select name="ENCODING"> <option value=""><?php echo GetMessage("ACRIT_SETUP_PARAMETER_OPTION_NAMECHEMA_NON"); ?>
$cData->Update($ID, array("ACTIVE" => $action == "deactivate" ? "N" : "Y")); break; default: break; } } } $arHeaders = array(array("id" => "ID", "content" => GetMessage("LFP_SCHEME_LIST_ID"), "sort" => "ID", "align" => "right", "default" => true), array("id" => "NAME", "content" => GetMessage("LFP_SCHEME_LIST_NAME"), "sort" => "NAME", "align" => "left", "default" => true), array("id" => "ACTIVE", "content" => GetMessage("LFP_SCHEME_LIST_ACTIVE"), "sort" => "ACTIVE", "align" => "left", "default" => true), array("id" => "SORT", "content" => GetMessage("LFP_SCHEME_LIST_SORT"), "sort" => "SORT", "align" => "left", "default" => true), array("id" => "LID", "content" => GetMessage("LFP_SCHEME_LIST_LID"), "sort" => "LID", "align" => "left", "default" => true), array("id" => "TYPE", "content" => GetMessage("LFP_SCHEME_LIST_TYPE"), "sort" => "TYPE", "align" => "left", "default" => true)); $lAdmin->AddHeaders($arHeaders); $rsData = CXDILFScheme::GetList(array($by => $order)); $rsData = new CAdminResult($rsData, $sTableID); while (is_array($arRes = $rsData->GetNext())) { $row =& $lAdmin->AddRow($arRes["ID"], $arRes); $row->AddInputField("NAME", array("size" => 20)); $row->AddViewField("NAME", '<a href="xdi_lf_scheme_edit.php?ID=' . $arRes["ID"] . '&lang=' . LANG . '">' . $arRes["NAME"] . '</a>'); $row->AddEditField("LID", CLang::SelectBox("FIELDS[" . $arRes["ID"] . "][LID]", $arRes["LID"])); $row->AddInputField("SORT", array("size" => 20)); $row->AddCheckField("ACTIVE"); $row->AddViewField("ID", '<a href="xdi_lf_scheme_edit.php?lang=' . LANGUAGE_ID . '&ID=' . $arRes["ID"] . '">' . $arRes["ID"] . '</a>'); $row->AddViewField("TYPE", GetMessage("LFP_SCHEME_LIST_" . $arRes["TYPE"])); $arActions = array(array("ICON" => "edit", "DEFAULT" => true, "TEXT" => GetMessage("LFP_SCHEME_LIST_EDIT"), "ACTION" => $lAdmin->ActionRedirect('xdi_lf_scheme_edit.php?lang=' . LANGUAGE_ID . '&ID=' . $arRes["ID"]))); $arActions[] = array("SEPARATOR" => "Y"); if ($arRes["ACTIVE"] === "Y") { $arActions[] = array("TEXT" => GetMessage("LFP_SCHEME_LIST_DEACTIVATE"), "ACTION" => "if(confirm('" . GetMessage("LFP_SCHEME_LIST_DEACTIVATE_CONF") . "')) " . $lAdmin->ActionDoGroup($arRes["ID"], "deactivate")); } else { $arActions[] = array("TEXT" => GetMessage("LFP_SCHEME_LIST_ACTIVATE"), "ACTION" => $lAdmin->ActionDoGroup($arRes["ID"], "activate")); } $arActions[] = array("ICON" => "delete", "TEXT" => GetMessage("LFP_SCHEME_LIST_DELETE"), "ACTION" => "if(confirm('" . GetMessage("LFP_SCHEME_LIST_DELETE_CONF") . "')) " . $lAdmin->ActionDoGroup($arRes["ID"], "delete")); if (!empty($arActions)) { $row->AddActions($arActions); }
echo GetMessage("imp_fmt_text"); ?> </label> /<input id="FORMAT_2" name="FORMAT" type="radio" value="html"<?php if ($FORMAT == "html") { echo " checked"; } ?> ><label for="FORMAT_2">HTML</label></td> </tr> <tr> <td><?php echo GetMessage("imp_site"); ?> </td> <td><?php echo CLang::SelectBox("LID", $LID); ?> </td> </tr> <?php $tabControl->Buttons(); ?> <input<?php if ($POST_RIGHT < "W") { echo " disabled"; } ?> type="submit" name="Import" value="<?php echo GetMessage("imp_butt"); ?> " class="adm-btn-save">
?> </td> <td width="60%"><input type="checkbox" name="ACTIVE" value="Y"<?php if ($str_ACTIVE == "Y") { echo " checked"; } ?> ></td> </tr> <tr> <td><?php echo GetMessage("sender_mailing_edit_field_site"); ?> </td> <td><?php echo CLang::SelectBox("SITE_ID", $str_SITE_ID); ?> </td> </tr> <tr class="adm-detail-required-field"> <td><?php echo GetMessage("sender_mailing_edit_field_name"); ?> <br/> <?php echo GetMessage("sender_mailing_edit_field_name_desc"); ?> </td> <td><input type="text" name="NAME" value="<?php echo $str_NAME; ?>
:</td> <td><input type="checkbox" name="ACTIVE" value="Y"<?php if ($arRes["ACTIVE"] === "Y") { echo " checked"; } ?> ></td> </tr> <tr id="LID_ROW"> <td><?php echo GetMessage("LFP_SCHEME_EDIT_SITE"); ?> :</td> <td> <?php echo CLang::SelectBox("LID", $arRes["LID"]); ?> <script type="text/javascript"> BX.ready(function() { var LIDInput = BX.findChild(BX('LID_ROW'), { 'tag': 'select'}, true); BX.bind(LIDInput, 'change', function() { if (BX('LF_ENTITY_ID_GROUP_ROW')) { var arGroupSiteSpan = BX.findChildren(BX('LF_ENTITY_ID_GROUP_ROW'), {'tag':'span'}, true); for (var i = 0; i < arGroupSiteSpan.length; i++) arGroupSiteSpan[i].style.display = 'none'; } if (BX('LF_ENTITY_ID_GROUP_' + LIDInput.options[LIDInput.selectedIndex].value + '_ROW')) BX('LF_ENTITY_ID_GROUP_' + LIDInput.options[LIDInput.selectedIndex].value + '_ROW').style.display = "inline-block";