echo GetMessage("STAT_SELECT_EVENT"); ?> " value="..."> </td> <td><input type="text" size="20" name="EVENT3_<?php echo $i; ?> " value="<?php echo htmlspecialcharsbx($event3); ?> " OnFocus="addNewRow(<?php echo $i; ?> )"></td> <td nowrap><?php echo CalendarDate("DATE_ENTER_" . $i, htmlspecialcharsbx($date_enter), "form1", "18"); ?> </td> <td><input type="text" style="width:100%" name="PARAM_<?php echo $i; ?> " value="<?php echo htmlspecialcharsbx($param); ?> " OnFocus="addNewRow(<?php echo $i; ?> )"></td> <td><input type="text" size="5" name="MONEY_<?php echo $i; ?>
function Tab1($adminForm) { $adminForm->BeginCustomField("NAME", GetMessage("SUP_NAME"), false); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"><input type="text" maxlength="255" name="NAME" size="50" value="<?php echo CSupportPage::$holidaysFields->getFieldForOutput("NAME", CSupportTableFields::ATTRIBUTE); ?> "></td> </tr> <?php $adminForm->EndCustomField("NAME"); $adminForm->BeginCustomField("OPEN_TIME", GetMessage("SUP_OPEN_TIME"), false); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"> <select id="OPEN_TIME" size="1" name="OPEN_TIME"> <?php $arr = CSupportHolidays::GetOpenTimeArray(); foreach ($arr as $v => $n) { $ss = substr($v, 0, 3); if ($ss == "GB_") { echo '<optgroup label="' . GetMessage($n) . '">'; } elseif ($ss == "GE_") { echo '</optgroup>'; } else { echo '<option ' . ($v == CSupportPage::$holidaysFields->OPEN_TIME ? 'selected ' : '') . 'value="' . $v . '">' . GetMessage($n) . '</option>'; } } ?> </select> </td> </tr> <?php $adminForm->EndCustomField("OPEN_TIME"); $adminForm->BeginCustomField("DATE_FROM", GetMessage("SUP_DATE_FROM"), false); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"><?php echo CalendarDate("DATE_FROM", GetTime(CSupportPage::$holidaysFields->DATE_FROM, "FULL"), "supTabControl", "20"); ?> </td> </tr> <?php $adminForm->EndCustomField("DATE_FROM"); $adminForm->BeginCustomField("DATE_TILL", GetMessage("SUP_DATE_TILL"), false); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"><?php echo CalendarDate("DATE_TILL", GetTime(CSupportPage::$holidaysFields->DATE_TILL, "FULL"), "supTabControl", "20"); ?> </td> </tr> <?php $adminForm->EndCustomField("DATE_TILL"); $adminForm->BeginCustomField("SLA_ID", GetMessage("SUP_SLA_ID"), false); ?> <tr valign="top"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"> <?php $arrSLA_ID = CSupportPage::$holidaysSlaFields->getColumn("SLA_ID"); $arSort = array(); $ar = CTicketSLA::GetList($arSort, array(), $is_filtered); $idR = 0; while ($arR = $ar->Fetch()) { $idR++; echo InputType("checkbox", "SLA_ID[]", $arR["ID"], $arrSLA_ID, false, "", "", $idR) . '<label for="' . $idR . '"> ' . htmlspecialcharsbx($arR["NAME"]) . "</label><br>"; } ?> </td> </tr> <?php $adminForm->EndCustomField("SLA_ID"); $adminForm->BeginCustomField("DESCRIPTION", GetMessage("SUP_DESCRIPTION"), false); ?> <tr class="heading"> <td colspan="2"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> </tr> <tr> <td colspan="2" align="center"><textarea style="width:60%; height:150px;" name="DESCRIPTION" wrap="VIRTUAL"><?php echo CSupportPage::$holidaysFields->getFieldForOutput("DESCRIPTION", CSupportTableFields::ATTRIBUTE); ?> </textarea></td> </tr> <?php $adminForm->EndCustomField("DESCRIPTION"); }
)); if($stat = $orderStats->fetch()) { $bannerProfit = $stat['BANNER_SUM']; } } ?> <tr> <td width="30%" class="adm-detail-required-field"><?=Loc::getMessage('SEO_YANDEX_STATS_PERIOD')?>:</td> <td width="70%"> <span style="white-space: nowrap; display:inline-block;"><select name="period_sel" onchange="setGraphInterval(this.value)"> <option value="interval"><?=Loc::getMessage('SEO_YANDEX_STATS_GRAPH_INTERVAL')?></option> <option value="week_ago"><?=Loc::getMessage('SEO_YANDEX_STATS_GRAPH_WEEK')?></option> <option value="month_ago"><?=Loc::getMessage('SEO_YANDEX_STATS_GRAPH_MONTH')?></option> </select> <span id="seo_graph_interval"><?=CalendarDate("date_from", $dateStart->toString(), 'form1', "4")?> …<?=CalendarDate("date_to", $dateFinish->toString(), 'form1', "4")?></span></span> <input type="button" value="<?=Loc::getMessage('SEO_YANDEX_STATS_PERIOD_APPLY')?>" onclick="loadGraphData()" id="stats_loading_button" name="template_preview"><span id="stats_wait" class="loading-message-text" style="display: none; margin-top: 5px;"><?=Loc::getMessage('SEO_YANDEX_STATS_WAIT')?></span> </td> </tr> <? if($bSale): ?> <tr> <td><?=Loc::getMessage('SEO_YANDEX_STATS_SUM_ORDER_REPIOD')?>:</td> <td><span id="banner_profit"><?=\CCurrencyLang::CurrencyFormat(doubleval($bannerProfit), \Bitrix\Currency\CurrencyManager::getBaseCurrency(), true)?></span></td> </tr> <? endif; ?> <tr> <td><?=Loc::getMessage('SEO_YANDEX_STATS_GRAPH_TYPE')?>:</td> <td><select onchange="setGraph(this.value)">
:</td> <td> <input type="text" id="FORM_PAY_VOUCHER_NUM" class="popup_input" name="FORM_PAY_VOUCHER_NUM" value="<?php echo htmlspecialcharsEx($arOrder["PAY_VOUCHER_NUM"]); ?> " size="30" maxlength="20" class="typeinput"> </td> </tr> <tr> <td class="head"><?php echo GetMessage('SOD_POPUP_PAY_DATE_DOC'); ?> :</td> <td> <?php echo CalendarDate("FROM_PAY_VOUCHER_DATE", $arOrder["PAY_VOUCHER_DATE"], "change_pay_form", "10", 'class="typeinput"'); ?> </td> </tr> <? $dbUserAccount = CSaleUserAccount::GetList( array(), array( "USER_ID" => $arOrder["USER_ID"], "CURRENCY" => $arOrder["CURRENCY"], "LOCKED" => "N" ) ); $arUserAccount = $dbUserAccount->GetNext(); ?> <tr id="user_budget" style="display:<?php
<input type="text" name="PAY_VOUCHER_NUM" value="<?php echo $str_PAY_VOUCHER_NUM; ?> " size="20" maxlength="20"> </td> </tr> <tr> <td width="40%"> <?php echo GetMessage("SOE_VOUCHER_DATE"); ?> : </td> <td width="60%"> <?php echo CalendarDate("PAY_VOUCHER_DATE", $str_PAY_VOUCHER_DATE, "order_edit_info_form", "10", 'class="typeinput"' . (!$bUserCanPayOrder ? " disabled" : "")); ?> </td> </tr> <? $tabControl->EndCustomField("ORDER_PAYED"); } // order properties related to the delivery and payment systems $html = ""; $arRelFilter = array(); $arRelFilter["RELATED"]["DELIVERY_ID"] = $str_DELIVERY_ID; $arRelFilter["RELATED"]["PAYSYSTEM_ID"] = $str_PAY_SYSTEM_ID; if (isset($arRelFilter["RELATED"]) && (strlen($arRelFilter["RELATED"]["DELIVERY_ID"]) > 0 || intval($arRelFilter["RELATED"]["PAYSYSTEM_ID"]) > 0))
<?php echo GetMessage('sender_chain_edit_field_send_type_TIME'); ?> <span class="sender-mailing-sprite sender-box-list-item-caption-delete" onclick="DeleteSelectedSendType(this);" style="height: 20px; width: 23px; margin-top: -2px;"></span> </div> <div class="sender-box-list-item-block"> <div class="sender-box-list-item-block-item"> <table> <tr> <td><?php echo GetMessage('sender_chain_edit_field_AUTO_SEND_TIME'); ?> </td> <td> <?php echo CalendarDate("AUTO_SEND_TIME", $str_AUTO_SEND_TIME, "post_form", "20"); ?> </td> </table> </div> </div> </div> <div id="chain_send_type_REITERATE" class="sender-box-list-item" <?php echo $SEND_TYPE == 'REITERATE' ? '' : 'style="display: none;"'; ?> > <div class="sender-box-list-item-caption"> <?php echo GetMessage('sender_chain_edit_field_send_type_REITERATE'); ?> <span class="sender-mailing-sprite sender-box-list-item-caption-delete" onclick="DeleteSelectedSendType(this);" style="height: 20px; width: 23px; margin-top: -2px;"></span>
<td align="right"><?php echo GetMessage("STAT_START_DATE") . ":"; ?> </td> <td><?php echo CalendarDate("DATE_START", $str_DATE_START, "form1", "19"); ?> </td> </tr> <tr valign="top"> <td align="right"><?php echo GetMessage("STAT_END_DATE") . ":"; ?> </td> <td><?php echo CalendarDate("DATE_END", $str_DATE_END, "form1", "19"); ?> </td> </tr> <tr valign="top" class="heading"> <td colspan="2"><?php echo GetMessage("STAT_CONDITIONS"); ?> </td> </tr> <tr valign="top"> <td align="right"><?php echo GetMessage("STAT_SITE"); ?> :</td> <td><?php
</td> </tr> <?endif;?> <tr class="adm-detail-required-field"> <td width="40%" class="adm-detail-content-cell-l"><?php echo GetMessage('CAT_DOC_DATE'); ?> :</td> <td width="60%" class="adm-detail-content-cell-r"> <?if($bReadOnly):?> <?php echo $str_DATE_DOCUMENT; ?> <?else:?> <?php echo CalendarDate("DOC_DATE", isset($str_DATE_DOCUMENT) ? $str_DATE_DOCUMENT : date($DB->DateFormatToPHP(CSite::GetDateFormat("FULL")), time()), "form_catalog_document_form", "15", "class=\"typeinput\""); ?> <?endif;?> </td> </tr> <tr class="adm-detail-required-field"> <td width="40%" class="adm-detail-content-cell-l"><?php echo GetMessage("CAT_DOC_SITE_ID"); ?> :</td> <td width="60%" class="adm-detail-content-cell-r"> <select id="SITE_ID" name="SITE_ID" <?php echo $isDisable; ?> /> <?foreach($arSitesShop as $key => $val)
<td><?php echo $a_LAST_EXEC; ?> </td> </tr> <?php } ?> <tr class="adm-detail-required-field"> <td width="40%"><?php echo GetMessage("MAIN_AGENT_START_EXEC"); ?> :</td> <td width="60%"><?php echo CalendarDate("NEXT_EXEC", htmlspecialcharsbx($a_NEXT_EXEC), "f_agent", 20); ?> </td> </tr> <tr> <td><?php echo GetMessage('MAIN_AGENT_ACTIVE'); ?> </td> <td> <input type="hidden" name="ACTIVE" value="N"> <input type="checkbox" name="ACTIVE" value="Y"<?php if ($a_ACTIVE == "Y") { echo " checked"; } ?>
<tr> <td>ID:</td> <td><?php echo $ID; ?> </td> </tr><?php } ?> <tr class="adm-detail-required-field"> <td width="40%"><?php echo GetMessage("curr_rates_date1"); ?> :</td> <td width="60%"><?php echo CalendarDate("DATE_RATE", $currencyRate['DATE_RATE'], "rate_edit", "10", 'class="typeinput"'); ?> </td> </tr> <tr class="adm-detail-required-field"> <td><?php echo GetMessage("curr_rates_curr1"); ?> :</td> <td><?php echo CCurrency::SelectBox("CURRENCY", $currencyRate['CURRENCY'], '', true); ?> </td> </tr> <tr class="adm-detail-required-field"> <td><?php
</a>] (<?php echo htmlspecialcharsbx($arUsers["LOGIN"]); ?> ) <?php echo htmlspecialcharsbx($arUsers["NAME"]); ?> <?php echo htmlspecialcharsbx($arUsers["LAST_NAME"]); ?> </label></td> <td> <?php echo CalendarDate("USER_ID_FROM_" . $ind, array_key_exists($arUsers["ID"], $str_USER_ID) ? htmlspecialcharsbx($str_USER_ID[$arUsers["ID"]]["DATE_ACTIVE_FROM"]) : "", "form1", "10", array_key_exists($arUsers["ID"], $str_USER_ID) ? " " : " disabled"); ?> <?php echo CalendarDate("USER_ID_TO_" . $ind, array_key_exists($arUsers["ID"], $str_USER_ID) ? htmlspecialcharsbx($str_USER_ID[$arUsers["ID"]]["DATE_ACTIVE_TO"]) : "", "form1", "10", array_key_exists($arUsers["ID"], $str_USER_ID) ? " " : " disabled"); ?> </td> </tr> <?php } ?> </table><input type="hidden" name="USER_ID_NUMBER" value="<?php echo $ind; ?> "></td> </tr> <?php } $tabControl->BeginNextTab(); ?>
?> </font></td> <td class="forumbrd forumbrd1" style="border-bottom:none;"><?php $arr = array("reference" => array(GetMessage("FP_SEX_MALE"), GetMessage("FP_SEX_FEMALE")), "reference_id" => array("M", "F")); echo SelectBoxFromArray("PERSONAL_GENDER", $arr, $str_PERSONAL_GENDER, GetMessage("FP_SEX_NONE"), "class='inputselect'"); ?> </td> </tr> <tr valign="top" class="forumbody"> <td align="right" class="forumbrd" style="border-bottom:none;border-right:none;"><font class="forumfieldtext"><?php echo GetMessage("FP_BIRTHDATE"); echo CLang::GetDateFormat("SHORT"); ?> ):</font></td> <td class="forumbrd forumbrd1" style="border-bottom:none;"><font class="forumheadtext"><?php echo CalendarDate("PERSONAL_BIRTHDAY", $str_PERSONAL_BIRTHDAY, "form1", "15"); ?> </font></td> </tr> <tr valign="top" class="forumbody"> <td align="right" class="forumbrd" style="border-bottom:none;border-right:none;"><font class="forumfieldtext"><?php echo GetMessage("FP_PHOTO"); ?> </font></td> <td class="forumbrd forumbrd1" style="border-bottom:none;"><font class="forumbodytext"><?php echo CFile::InputFile("PERSONAL_PHOTO", 30, $str_PERSONAL_PHOTO, false, 0, "IMAGE", "class=\"inputfile\"", 0, "class=inputtext", "", False); if (strlen($str_PERSONAL_PHOTO) > 0) { ?> <br><?php echo CFile::ShowImage($str_PERSONAL_PHOTO, 150, 150, "border=0", "", true); }
<td> <input type="text" name="PENDING_SUM" size="10" maxlength="15" value="<?php echo $str_PENDING_SUM; ?> "> <span id="DIV_PENDING_SUM_CURRENCY"></span> </td> </tr> <tr> <td><?php echo GetMessage("SAE_LAST_CALC"); ?> :</td> <td> <?php echo CalendarDate("LAST_CALCULATE", $str_LAST_CALCULATE, "form1", "20", ""); ?> </td> </tr> <tr> <td><?php echo GetMessage("SAE_AFF_SITE"); ?> :</td> <td> <input type="text" name="AFF_SITE" size="60" maxlength="200" value="<?php echo $str_AFF_SITE; ?> "> </td> </tr>
function Tab1($adminForm) { $adminForm->BeginCustomField("NAME", GetMessage("SUP_NAME"), false); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"><input type="text" maxlength="255" name="NAME" size="50" value="<?php echo CSupportPage::$holidaysFields->getFieldForOutput("NAME", CSupportTableFields::ATTRIBUTE); ?> "></td> </tr> <?php $adminForm->EndCustomField("NAME"); $adminForm->BeginCustomField("OPEN_TIME", GetMessage("SUP_OPEN_TIME"), false); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"> <select id="OPEN_TIME" name="OPEN_TIME" onchange="changeOpenTimeFormat()"> <?php $arr = CSupportHolidays::GetOpenTimeArray(); foreach ($arr as $v => $n) { $ss = substr($v, 0, 3); if ($ss == "GB_") { echo '<optgroup label="' . GetMessage($n) . '">'; } elseif ($ss == "GE_") { echo '</optgroup>'; } else { echo '<option ' . ($v == CSupportPage::$holidaysFields->OPEN_TIME ? 'selected ' : '') . 'value="' . $v . '">' . GetMessage($n) . '</option>'; } } ?> </select> </td> </tr> <script type="text/javascript"> function changeOpenTimeFormat() { var inputFrom = BX.findChild(BX('supTabControl_form'), {attr:{name:'DATE_FROM'}}, true); var inputTill = BX.findChild(BX('supTabControl_form'), {attr:{name:'DATE_TILL'}}, true); inputFrom.value = BX.calendar.ValueToString(BX.parseDate(inputFrom.value), BX('OPEN_TIME').value.slice(-2) == '_H'); inputTill.value = BX.calendar.ValueToString(BX.parseDate(inputTill.value), BX('OPEN_TIME').value.slice(-2) == '_H'); } </script> <?php $adminForm->EndCustomField("OPEN_TIME"); $adminForm->BeginCustomField("DATE_FROM", GetMessage("SUP_DATE_FROM"), false); if (CSupportPage::$holidaysFields->OPEN_TIME == 'HOLIDAY_H' || CSupportPage::$holidaysFields->OPEN_TIME == 'WORKDAY_H') { $time = GetTime(CSupportPage::$holidaysFields->DATE_FROM, "FULL"); } else { $time = GetTime(CSupportPage::$holidaysFields->DATE_FROM, "SHORT"); } $dateControl = str_replace(array('bTime: true', 'bHideTime: false', 'BX.calendar({'), array('bTime: BX(\'OPEN_TIME\').value.slice(-2) == \'_H\'', 'bHideTime: BX(\'OPEN_TIME\').value.slice(-2) != \'_H\'', 'BX.calendar({callback_after: function(param){this.params.field.value = BX.calendar.ValueToString(param, BX(\'OPEN_TIME\').value.slice(-2) == \'_H\')}, '), CalendarDate("DATE_FROM", $time, "supTabControl", "20")); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"><?php echo $dateControl; ?> </td> </tr> <?php $adminForm->EndCustomField("DATE_FROM"); $adminForm->BeginCustomField("DATE_TILL", GetMessage("SUP_DATE_TILL"), false); if (CSupportPage::$holidaysFields->OPEN_TIME == 'HOLIDAY_H' || CSupportPage::$holidaysFields->OPEN_TIME == 'WORKDAY_H') { $time = GetTime(CSupportPage::$holidaysFields->DATE_TILL, "FULL"); } else { $time = GetTime(CSupportPage::$holidaysFields->DATE_TILL, "SHORT"); } $dateControl = str_replace(array('bTime: true', 'bHideTime: false', 'BX.calendar({'), array('bTime: BX(\'OPEN_TIME\').value.slice(-2) == \'_H\'', 'bHideTime: BX(\'OPEN_TIME\').value.slice(-2) != \'_H\'', 'BX.calendar({callback_after: function(param){this.params.field.value = BX.calendar.ValueToString(param, BX(\'OPEN_TIME\').value.slice(-2) == \'_H\')}, '), CalendarDate("DATE_TILL", $time, "supTabControl", "20")); ?> <tr class="adm-detail-required-field"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"><?php echo $dateControl; ?> </td> </tr> <?php $adminForm->EndCustomField("DATE_TILL"); $adminForm->BeginCustomField("SLA_ID", GetMessage("SUP_SLA_ID"), false); ?> <tr valign="top"> <td width="40%" align="right"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> <td width="60%"> <?php $arrSLA_ID = CSupportPage::$holidaysSlaFields->getColumn("SLA_ID"); $arSort = array(); $is_filtered = null; $ar = CTicketSLA::GetList($arSort, array(), $is_filtered); $idR = 0; while ($arR = $ar->Fetch()) { $idR++; echo InputType("checkbox", "SLA_ID[]", $arR["ID"], $arrSLA_ID, false, "", "", $idR) . '<label for="' . $idR . '"> ' . htmlspecialcharsbx($arR["NAME"]) . "</label><br>"; } ?> </td> </tr> <?php $adminForm->EndCustomField("SLA_ID"); $adminForm->BeginCustomField("DESCRIPTION", GetMessage("SUP_DESCRIPTION"), false); ?> <tr class="heading"> <td colspan="2"><?php echo $adminForm->GetCustomLabelHTML(); ?> :</td> </tr> <tr> <td colspan="2" align="center"><textarea style="width:60%; height:150px;" name="DESCRIPTION" wrap="VIRTUAL"><?php echo CSupportPage::$holidaysFields->getFieldForOutput("DESCRIPTION", CSupportTableFields::ATTRIBUTE); ?> </textarea></td> </tr> <?php $adminForm->EndCustomField("DESCRIPTION"); }
" size="20" maxlength="20"> </td> </tr> <tr> <td width="40%"> <?php echo GetMessage("SOE_DEL_VOUCHER_DATE"); ?> (<?php echo CSite::GetDateFormat("SHORT", LANG); ?> ): </td> <td width="60%"> <?php echo CalendarDate("DELIVERY_DOC_DATE", $str_DELIVERY_DOC_DATE, "change_delivery_form", "20", "class=\"typeinput\""); ?> </td> </tr> <tr> <td colspan="2" height="8"></td> </tr> <?php $bUseDelivery = false; $bUseDeliveryHandlers = false; ob_start(); ?> <td width="40%" align="right">
echo Loc::getMessage('SEO_YANDEX_STATS_GRAPH_INTERVAL'); ?> </option> <option value="week_ago"><?php echo Loc::getMessage('SEO_YANDEX_STATS_GRAPH_WEEK'); ?> </option> <option value="month_ago"><?php echo Loc::getMessage('SEO_YANDEX_STATS_GRAPH_MONTH'); ?> </option> </select> <span id="seo_graph_interval"><?php echo CalendarDate("date_from", $dateStart->toString(), 'form1', "4"); ?> …<?php echo CalendarDate("date_to", $dateFinish->toString(), 'form1', "4"); ?> </span></span> <input type="button" value="<?php echo Loc::getMessage('SEO_YANDEX_STATS_PERIOD_APPLY'); ?> " onclick="loadGraphData()" id="stats_loading_button" name="template_preview"><span id="stats_wait" class="loading-message-text" style="display: none; margin-top: 5px;"><?php echo Loc::getMessage('SEO_YANDEX_STATS_WAIT'); ?> </span> </td> </tr> <?php if ($bSale) { ?> <tr> <td><?php
//******************** $tabControl->BeginNextTab(); ?> <tr class="heading"> <td colspan="2"><?php echo GetMessage("rub_schedule"); ?> </td> </tr> <tr class="adm-detail-required-field"> <td width="40%"><?php echo GetMessage("rub_last_executed") . ":"; ?> </td> <td width="60%"><?php echo CalendarDate("LAST_EXECUTED", $str_LAST_EXECUTED, "post_form", "20"); ?> </td> </tr> <tr> <td><?php echo GetMessage("rub_dom"); ?> </td> <td><input class="typeinput" type="text" name="DAYS_OF_MONTH" value="<?php echo $str_DAYS_OF_MONTH; ?> " size="30" maxlength="100"></td> </tr> <tr> <td class="adm-detail-valign-top"><?php
<input type="text" name="PAY_VOUCHER_NUM" value="<?php echo $str_PAY_VOUCHER_NUM; ?> " size="20" maxlength="20"> </td> </tr> <tr> <td width="40%"> <?php echo GetMessage("SOE_VOUCHER_DATE"); ?> : </td> <td width="60%"> <?php echo CalendarDate("PAY_VOUCHER_DATE", $str_PAY_VOUCHER_DATE, "form_order_buyers_form", "10", "class=\"typeinput\"" . (!$bUserCanPayOrder ? " disabled" : "")); ?> </td> </tr> <?php $tabControl->EndCustomField("ORDER_PAYED"); } $tabControl->AddSection("NEWO_COMMENTS", GetMessage("NEWO_COMMENTS")); $tabControl->BeginCustomField("NEWO_COMMENTS_A", GetMessage("NEWO_COMMENTS"), true); ?> <tr> <td width="40%" valign="top"><?php echo GetMessage("SOE_COMMENT"); ?> :<br /><small><?php echo GetMessage("SOE_COMMENT_NOTE");
?> <option value=NEW style="font-weight:bold"><?php echo GetMessage("BLOG_NEW_CATEGORY"); ?> </option> </select></td> </tr> <tr> <td class="blogtablehead" valign=top align=right nowrap nowrap> <font class="blogheadtext"> <font color="#FF0000">*</font> <b><?php echo GetMessage("BLOG_DATE_PUBLISH"); ?> </b></td> <td nowrap class="blogtablebody"><?php echo CalendarDate("DATE_PUBLISH", $DATE_PUBLISH, "REPLIER", "20"); ?> </td> </tr> <?php function ShowSelectPerms($type, $id, $def) { if ($type == 'p') { $arr = $GLOBALS["AR_BLOG_POST_PERMS"]; } else { $arr = $GLOBALS["AR_BLOG_COMMENT_PERMS"]; } $res = "<select name='perms_{$type}[{$id}]' class=inputselect>"; while (list(, $key) = each($arr)) { if ($id > 1 || $type == 'p' && $key <= BLOG_PERMS_READ || $type == 'c' && $key <= BLOG_PERMS_WRITE) { $res .= "<option value='{$key}'" . ($key == $def ? ' selected' : '') . ">" . $GLOBALS["AR_BLOG_PERMS"][$key] . "</option>";
<a name="services"></a> <h2><?echo GetMessage("STAT_OPT_SYSTEM_PROC")?></h2> <?$tabControl2->Begin();?> <form name="cleanupform" method="POST" action="<?echo $APPLICATION->GetCurPage()?>?mid=<?php echo htmlspecialcharsbx($mid); ?> &lang=<?php echo LANGUAGE_ID; ?> "> <?$tabControl2->BeginNextTab();?> <tr> <td width="40%" nowrap><?echo GetMessage("STAT_OPT_CLEANUP_DATE2")?></td> <td width="60%"><?echo CalendarDate("cleanup_date", htmlspecialcharsbx($cleanup_date), "cleanupform", "10")?></td> </tr> <tr> <td align="left" colspan="2"><input type="button" <?if ($STAT_RIGHT<"W") echo "disabled" ?> name="cleanup" value="<?echo GetMessage("STAT_OPT_CLEANUP_BUTTON")?>" OnClick="javascript: CleanUpSubmit();"><input type="hidden" name="cleanup" value="Y"><input type="hidden" name="lang" value="<?php echo LANGUAGE_ID; ?> "></td> </tr> <?$tabControl2->EndTab();?> <script language="JavaScript"> function CleanUpSubmit() { if(confirm('<?php echo GetMessageJS("STAT_OPT_CLEANUP_CONFIRMATION"); ?> '))
echo $arGroups["ID"]; ?> &lang=<?php echo LANGUAGE_ID; ?> " title="<?php echo GetMessage("MAIN_VIEW_GROUP"); ?> "><?echo intval($arGroups["ID"])?></a>]</label> </td> <td width="0%" nowrap align="center" style="padding-right:10px; padding-left:10px"> <?php echo CalendarDate("GROUP_ID_FROM_" . $ind, array_key_exists($arGroups["ID"], $str_GROUP_ID) ? htmlspecialcharsbx($str_GROUP_ID[$arGroups["ID"]]["DATE_ACTIVE_FROM"]) : "", $tabControl->GetFormName(), "10"); ?> <?php echo CalendarDate("GROUP_ID_TO_" . $ind, array_key_exists($arGroups["ID"], $str_GROUP_ID) ? htmlspecialcharsbx($str_GROUP_ID[$arGroups["ID"]]["DATE_ACTIVE_TO"]) : "", $tabControl->GetFormName(), "10"); ?> </td> </tr> <? } ?> </table><input type="hidden" name="GROUP_ID_NUMBER" value="<?php echo $ind; ?> "></td> </tr> <? $tabControl->EndCustomField("GROUP_ID"); endif; ?>
<td width="40%" class="adm-detail-content-cell-l" style="vertical-align:middle"> <label for="DAT_START"><?php echo GetMessage('ACRIT_GOOGLEMERCHANT_DATE_START_END'); ?> </label><br/> </td> <td width="60%" class="adm-detail-content-cell-r"> <?php if ($ID) { $acrit_DATA_START = date("d.m.Y H:i:s", $acrit_DATA_START); } else { $acrit_DATA_START = date("d.m.Y H:i:s", time()); } ?> <?php echo CalendarDate("DATA_START", $acrit_DATA_START, "post_form", "15"); ?> </td> </tr> <tr> <td width="40%" class="adm-detail-content-cell-l"> <label for="PERIOD"><?php echo GetMessage("ACRIT_GOOGLEMERCHANT_PERIOD"); ?> </label> </td> <td width="60%" class="adm-detail-content-cell-r"> <input type="text" size="30" name="PERIOD" value="<?php echo $acrit_PERIOD; ?> "/>
</tr> <tr> <td><?echo GetMessage("MAIN_AGENT_FLT_ACTIVE")?>:</td> <td><? $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> <td><?echo GetMessage("MAIN_AGENT_FLT_LAST_EXEC")?>:</td> <td><?echo CalendarDate("find_last_exec", htmlspecialcharsbx($find_last_exec), "find_form")?></td> </tr> <tr> <td><?echo GetMessage("MAIN_AGENT_FLT_NEXT_EXEC")?>:</td> <td><?echo CalendarDate("find_next_exec", htmlspecialcharsbx($find_next_exec), "find_form")?></td> </tr> <tr> <td><?echo GetMessage("MAIN_AGENT_FLT_IS_PERIOD")?>:</td> <td><? $arr = array("reference"=>array(GetMessage("MAIN_YES"), GetMessage("MAIN_NO")), "reference_id"=>array("Y","N")); echo SelectBoxFromArray("find_is_period", $arr, htmlspecialcharsbx($find_is_period), GetMessage('MAIN_ALL')); ?> </td> </tr> <? $oFilter->Buttons(array("table_id"=>$sTableID, "url"=>$APPLICATION->GetCurPage(), "form"=>"find_form")); $oFilter->End(); ?> </form>
if (array_key_exists("FORUM_" . $arUserFields[$i], $_REQUEST)) { ${"str_FORUM_" . $arUserFields[$i]} = htmlspecialcharsbx($_REQUEST["FORUM_" . $arUserFields[$i]]); $arResult["str_FORUM_" . $arUserFields[$i]] = htmlspecialcharsEx($_REQUEST["FORUM_" . $arUserFields[$i]]); } } } $err = $APPLICATION->GetException(); if ($err) { $arResult["ERROR_MESSAGE"] = $err->GetString(); } $arResult["BX_ROOT"] = BX_ROOT; $arResult["arr_PERSONAL_GENDER"] = array(); $arResult["arr_PERSONAL_GENDER"]["data"] = array("M" => GetMessage("FP_SEX_MALE"), "F" => GetMessage("FP_SEX_FEMALE")); $arResult["arr_PERSONAL_GENDER"]["active"] = $str_PERSONAL_GENDER; $arResult["~str_PERSONAL_BIRTHDAY"] = $str_PERSONAL_BIRTHDAY; $arResult["str_PERSONAL_BIRTHDAY"] = CalendarDate("PERSONAL_BIRTHDAY", $str_PERSONAL_BIRTHDAY, "form1", "15"); $arResult["SHOW_DELETE_PERSONAL_PHOTO"] = "N"; $arResult["str_PERSONAL_PHOTO"] = ""; if (strLen($str_PERSONAL_PHOTO) > 0) { $arResult["SHOW_DELETE_PERSONAL_PHOTO"] = "Y"; $arResult["str_PERSONAL_PHOTO"] = $str_PERSONAL_PHOTO; $arResult["str_PERSONAL_PHOTO_FILE"] = CFile::GetFileArray($str_PERSONAL_PHOTO); if ($arResult["str_PERSONAL_PHOTO_FILE"] !== false) { $arResult["str_PERSONAL_PHOTO_IMG"] = CFile::ShowImage($arResult["str_PERSONAL_PHOTO_FILE"], 150, 150, "border=0 alt=\"\"", "", true); } } $arResult["SHOW_DELETE_FORUM_AVATAR"] = "N"; $arResult["str_FORUM_AVATAR"] = ""; $arResult["AVATAR_H"] = COption::GetOptionString("forum", "avatar_max_width", 90); $arResult["AVATAR_V"] = COption::GetOptionString("forum", "avatar_max_height", 90); $arResult["AVATAR_SIZE"] = COption::GetOptionString("forum", "avatar_max_size", 5242880);
echo htmlspecialcharsbx($mid); ?> &lang=<?php echo LANGUAGE_ID; ?> "> <?php $tabControl2->BeginNextTab(); ?> <tr> <td width="40%" nowrap><?php echo GetMessage("STAT_OPT_CLEANUP_DATE2"); ?> </td> <td width="60%"><?php echo CalendarDate("cleanup_date", htmlspecialcharsbx($cleanup_date), "cleanupform", "10"); ?> </td> </tr> <tr> <td align="left" colspan="2"><input type="button" <?php if ($STAT_RIGHT < "W") { echo "disabled"; } ?> name="cleanup" value="<?php echo GetMessage("STAT_OPT_CLEANUP_BUTTON"); ?> " OnClick="javascript: CleanUpSubmit();"><input type="hidden" name="cleanup" value="Y"><input type="hidden" name="lang" value="<?php echo LANGUAGE_ID; ?>
?> :</td> <td valign="top"> <?php echo CalendarDate("PRIOR_DATE", $str_PRIOR_DATE, "frecurring_edit", "20", "class=\"typeinput\""); ?> </td> </tr> <tr class="adm-detail-required-field"> <td valign="top"><?php echo GetMessage("SRE_NEXT_DATE"); ?> :</td> <td valign="top"> <?php echo CalendarDate("NEXT_DATE", $str_NEXT_DATE, "frecurring_edit", "20", "class=\"typeinput\""); ?> </td> </tr> <tr> <td><?php echo GetMessage("SRE_LAST_SUCCESS"); ?> </td> <td> <input type="checkbox" name="SUCCESS_PAYMENT" value="Y"<?php if ($str_SUCCESS_PAYMENT == "Y") { echo " checked"; } ?> >
?> ', INVALID:'<?php echo CUtil::JSEscape(GetMessage('FORM_VAL_INVALID')); ?> ', VALID:'<?php echo CUtil::JSEscape(GetMessage('FORM_VAL_VALID')); ?> ' } var jsFormValidatorSettings = new CFormValidatorSettings(false); </script> <tr style="display: none;"><td colspan="2"><?php echo CalendarDate('__test', '', 'form1'); ?> </td></tr> <tr> <td width="40%"><?php echo GetMessage("FORM_VAL_LIST_TITLE"); ?> <span id="type_title"></span>:</td> <td width="60%" id="validators_list"> </td> </tr> <tr> <td colspan="2" align="center" id="validators_current"></td> </tr> <script language="JavaScript"> jsFormValidatorSettings.UpdateAll(); </script>
/** * @return string * @throws ArgumentException */ public function getForm() { $groupInput = '<select name="' . $this->getFieldName('GROUP_ID') . '">'; $groupDb = \Bitrix\Main\GroupTable::getList(array('select' => array('ID', 'NAME'), 'order' => array('C_SORT' => 'ASC', 'NAME' => 'ASC'))); while ($group = $groupDb->fetch()) { $inputSelected = $group['ID'] == $this->getFieldValue('GROUP_ID') ? 'selected' : ''; $groupInput .= '<option value="' . $group['ID'] . '" ' . $inputSelected . '>'; $groupInput .= htmlspecialcharsbx($group['NAME']); $groupInput .= '</option>'; } $groupInput .= '</select>'; $booleanValues = array('' => Loc::getMessage('sender_connector_user_all'), 'Y' => Loc::getMessage('sender_connector_user_y'), 'N' => Loc::getMessage('sender_connector_user_n')); $activeInput = '<select name="' . $this->getFieldName('ACTIVE') . '">'; foreach ($booleanValues as $k => $v) { $inputSelected = $k == $this->getFieldValue('ACTIVE') ? 'selected' : ''; $activeInput .= '<option value="' . $k . '" ' . $inputSelected . '>'; $activeInput .= htmlspecialcharsbx($v); $activeInput .= '</option>'; } $activeInput .= '</select>'; $dateRegInput = CalendarDate($this->getFieldName('DATE_REGISTER'), $this->getFieldValue('DATE_REGISTER'), $this->getFieldFormName()); return ' <table> <tr> <td>' . Loc::getMessage('sender_connector_user_group') . '</td> <td>' . $groupInput . '</td> </tr> <tr> <td>' . Loc::getMessage('sender_connector_user_datereg') . '</td> <td>' . $dateRegInput . '</td> </tr> <tr> <td>' . Loc::getMessage('sender_connector_user_active') . '</td> <td>' . $activeInput . '</td> </tr> </table> '; }
function AddCalendarField($id, $label, $value, $required=false) { $html = CalendarDate($id, $value, $this->GetFormName()); $this->tabs[$this->tabIndex]["FIELDS"][$id] = array( "id" => $id, "required" => $required, "content" => $label, "html" => '<td width="40%">'.($required? '<span class="adm-required-field">'.$this->GetCustomLabelHTML($id, $label).'</span>': $this->GetCustomLabelHTML($id, $label)).'</td><td>'.$html.'</td>', "hidden" => '<input type="hidden" name="'.$id.'" value="'.$value.'">', ); }
<?php $arr = array("reference" => array("Мужской", "Женский"), "reference_id" => array("M", "F")); echo SelectBoxFromArray("PERSONAL_GENDER", $arr, $f_PERSONAL_GENDER, "<неизвестно>"); ?> </td> </tr> <tr> <td class="forumbody"> <font class="forumheadtext"> Дата рождения (<?php echo CLang::GetDateFormat("SHORT"); ?> ):</font> </td> <td class="forumbody"> <?php echo CalendarDate("PERSONAL_BIRTHDATE", $f_PERSONAL_BIRTHDATE, "form1", "15"); ?> </td> </tr> <tr> <td class="forumbody"> <font class="forumheadtext"> Фотография:</font> </td> <td class="forumbody"><font class="forumbodytext"> <input type="hidden" name="MAX_FILE_SIZE" value="500000"> <input name="PERSONAL_PHOTO" size="20" type="file"><br> <input type="checkbox" name="PERSONAL_PHOTO_del" value="Y"> Удалить файл <?php if (strlen($f_PERSONAL_PHOTO) > 0) { ?> <br>