<?if ( in_array(1,CUser::GetUserGroup(CUser::GetID()))||in_array(9,CUser::GetUserGroup(CUser::GetID())) ): ?>
<input value="Номер купона" name="COUPON">
<?else:?>
<input <?if(empty($arResult["COUPON"])):?>onclick="if (this.value=='<?=GetMessage("SALE_COUPON_VAL")?>')this.value=''" onblur="if (this.value=='')this.value='<?=GetMessage("SALE_COUPON_VAL")?>'"<?endif;?> value="<?if(!empty($arResult["COUPON"])):?><?=$arResult["COUPON"]?><?else:?><?=GetMessage("SALE_COUPON_VAL")?><?endif;?>" name="COUPON">
<?endif;?> |