コード例 #1
0
    echo intval($intDiscountID);
    ?>
">
	<input type="hidden" name="MULTI" value="<?php 
    echo $boolMulti ? 'Y' : 'N';
    ?>
">
	<input type="hidden" name="TMP_ID" value="<?php 
    echo htmlspecialcharsbx($strSubTMP_ID);
    ?>
"><?php 
    $tabControl->EndEpilogContent();
    $tabControl->Begin(array("FORM_ACTION" => '/bitrix/admin/cat_subcoupon_edit.php?lang=' . urlencode(LANGUAGE_ID)));
    $tabControl->BeginNextFormTab();
    if ($ID > 0 && !$boolCopy) {
        $tabControl->AddViewField('ID', 'ID:', $ID, false);
    }
    $tabControl->AddCheckBoxField("ACTIVE", GetMessage("DSC_ACTIVE") . ":", false, "Y", $arCoupon['ACTIVE'] == "Y");
    $tabControl->AddDropDownField("ONE_TIME", GetMessage('DSC_COUPON_TYPE') . ':', true, $arTypeList, $arCoupon['ONE_TIME']);
    $tabControl->BeginCustomField('COUPON', GetMessage("DSC_CPN_CODE") . ':', true);
    ?>
<tr id="tr_COUPON" class="adm-detail-required-field">
			<td width="40%"><?php 
    echo $tabControl->GetCustomLabelHTML();
    ?>
</td>
			<td width="60%" id="td_COUPON_VALUE">
				<input type="text" id="COUPON" name="COUPON" size="32" maxlength="32" value="<?php 
    echo htmlspecialcharsbx($arCoupon['COUPON']);
    ?>
" />&nbsp;