echo GetMessage("IBLOCK_FIELD_TIMESTAMP_X") . ":";
?>
</td>
	<td><?php 
echo CalendarPeriod("find_timestamp_from", htmlspecialcharsbx($find_timestamp_from), "find_timestamp_to", htmlspecialcharsbx($find_timestamp_to), "find_form");
?>
</font></td>
</tr>
<tr>
	<td><?php 
echo GetMessage("IBLOCK_FIELD_MODIFIED_BY");
?>
:</td>
	<td>
		<?php 
echo FindUserID("find_modified_user_id", $find_modified_user_id, "", "find_form", "5", "", " ... ", "", "");
?>
	</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("IBLOCK_FIELD_STATUS");
?>
:</td>
	<td><input type="text" name="find_status_id" value="<?php 
echo htmlspecialcharsbx($find_status_id);
?>
" size="3">&nbsp;<?php 
echo SelectBox("find_status", CWorkflowStatus::GetDropDownList("Y"), GetMessage("IBLOCK_ALL"), htmlspecialcharsbx($find_status));
?>
</td>
echo GetMessage("IBLOCK_SECSEARCH_DATE_CREATE") . ":";
?>
</td>
		<td><?php 
echo CalendarPeriod("find_section_date_create_1", htmlspecialcharsex($find_section_date_create_1), "find_section_date_create_2", htmlspecialcharsex($find_section_date_create_2), "find_section_form");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("IBLOCK_SECSEARCH_CREATED_BY");
?>
:</td>
		<td>
			<?php 
echo FindUserID("find_section_created_user_id", $find_section_created_by, "", "find_section_form", "5", "", " ... ", "", "");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("IBLOCK_SECSEARCH_CODE");
?>
:</td>
		<td><input type="text" name="find_section_code" size="47" value="<?php 
echo htmlspecialcharsbx($find_section_code);
?>
"></td>
	</tr>
	<tr>
		<td><?php 
Example #3
1
		</tr>
	<?php 
}
?>
	<tr class="adm-detail-required-field">
		<td width="40%"><?php 
echo GetMessage("SRE_USER1");
?>
</td>
		<td width="60%"><?php 
$user_name = "";
if ($ID > 0 && $str_USER_ID > 0) {
    $user_name = "[<a title=\"" . GetMessage("SRE_USER_PROFILE") . "\" href=\"/bitrix/admin/user_edit.php?lang=" . LANGUAGE_ID . "&ID=" . $str_USER_ID . "\">" . $str_USER_ID . "</a>] (" . $str_USER_LOGIN . ") " . $str_USER_NAME . " " . $str_USER_LAST_NAME;
}
if ($saleModulePermissions >= "W") {
    echo FindUserID("USER_ID", $str_USER_ID, $user_name, "frecurring_edit");
} else {
    echo $user_name;
}
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SRE_CANCELED");
?>
</td>
		<td>
			<input type="checkbox" name="CANCELED" value="Y"<?php 
if ($str_CANCELED == "Y") {
    echo " checked";
				CAdminCalendar::PERIOD_EMPTY => Loc::getMessage('BX_SALE_DISCOUNT_COUPON_PERIOD_EMPTY'),
				CAdminCalendar::PERIOD_INTERVAL => Loc::getMessage('BX_SALE_DISCOUNT_COUPON_PERIOD_INTERVAL')
			),
			$periodValue
		);
			unset($activeTo, $activeFrom, $periodValue);
		?></td>
	</tr><?
	$control->EndCustomField($prefix.'PERIOD');
	$control->BeginCustomField($prefix.'USER_ID', Loc::getMessage('BX_SALE_DISCOUNT_COUPON_FIELD_USER_ID'), false);
	?><tr id="tr_USER_ID">
		<td width="40%"><? echo $control->GetCustomLabelHTML(); ?></td>
		<td width="60%"><?
			echo FindUserID(
				$prefix.'USER_ID',
				($coupon['USER_ID'] > 0 ? $coupon['USER_ID'] : ''),
				'',
				(!$subWindow ? 'couponControl_form' : 'subCouponControl_form')
			);
		?></td>
	</tr><?
	$control->EndCustomField($prefix.'USER_ID');
	$control->AddEditField($prefix.'MAX_USE', Loc::getMessage('BX_SALE_DISCOUNT_COUPON_FIELD_MAX_USE'), false, array(), ($coupon['MAX_USE'] > 0 ? $coupon['MAX_USE'] : ''));
	$control->AddTextField($prefix.'DESCRIPTION', Loc::getMessage('BX_SALE_DISCOUNT_COUPON_FIELD_DESCRIPTION'), $coupon['DESCRIPTION'], array(), false);
	if ($subWindow)
	{
		$control->Buttons(false, '');
	}
	else
	{
		$control->Buttons(
			array(
Example #5
0
    echo SelectBoxFromArray("SOURCE_ID", __GetDropDown("SR", $TICKET_DICTIONARY), $str_SOURCE_ID, "< web >", "OnChange=SelectSource() class='inputselect'");
    ?>
&nbsp;<input type="text" size="20" name="OWNER_SID" id="OWNER_SID" value="<?php 
    echo $str_OWNER_SID;
    ?>
">
			<?php 
    /*if (intval($str_OWNER_USER_ID)>0)
    		{
    			$owner_name = "[<a title=\"".GetMessage("SUP_USER_PROFILE")."\" href=\"/bitrix/admin/user_edit.php?lang=".LANGUAGE_ID."&ID=".$str_OWNER_USER_ID."\">".$str_OWNER_USER_ID."</a>] (".$str_OWNER_LOGIN.") ".$str_OWNER_NAME;
    		}
    		*/
    if (intval($str_OWNER_USER_ID) > 0) {
        $owner_name = $arStrUsers["arUsers"][intval($str_OWNER_USER_ID)]["HTML_NAME"];
    }
    echo FindUserID("OWNER_USER_ID", $str_OWNER_USER_ID, $owner_name);
    if ($ID > 0) {
        ?>
<br>[&nbsp;<a href="/bitrix/admin/ticket_list.php?set_filter=Y&lang=<?php 
        echo LANGUAGE_ID;
        ?>
&<?php 
        echo implode("&", $arAuthorFilter);
        ?>
"><?php 
        echo GetMessage("SUP_AUTHOR_TICKETS");
        ?>
</a>&nbsp;]<?php 
    }
    ?>
		</td>
Example #6
0
?>

<?php 
$tabControl->BeginNextTab();
?>
	<tr class="adm-detail-required-field">
		<td width="40%"><?php 
echo GetMessage("STE_USER");
?>
</td>
		<td width="60%"><?php 
$user_name = "";
if ($ID > 0) {
    $user_name = "[<a title=\"" . GetMessage("STE_USER_PROFILE") . "\" href=\"/bitrix/admin/user_edit.php?lang=" . LANGUAGE_ID . "&ID=" . $str_USER_ID . "\">" . $str_USER_ID . "</a>] (" . $str_USER_LOGIN . ") " . $str_USER_NAME . " " . $str_USER_LAST_NAME;
}
echo FindUserID("USER_ID", $str_USER_ID, $user_name);
?>
</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("STE_DATE");
?>
:</td>
		<td><?php 
if (strlen($str_TRANSACT_DATE) <= 0) {
    $str_TRANSACT_DATE = date($DB->DateFormatToPHP(CSite::GetDateFormat("FULL", SITE_ID)));
}
echo CalendarDate("TRANSACT_DATE", $str_TRANSACT_DATE, "form1", "20", "");
?>
		</td>
		<td  nowrap><? echo GetMessage("IBLOCK_FIELD_TIMESTAMP_X").":"?></td>
		<td nowrap><? echo CalendarPeriod("filter_timestamp_from", htmlspecialcharsex($filter_timestamp_from), "filter_timestamp_to", htmlspecialcharsex($filter_timestamp_to), "form1")?></td>
	</tr>

	<tr>
		<td nowrap><?php 
echo GetMessage("IBLOCK_FIELD_MODIFIED_BY");
?>
:</td>
		<td>
			<?echo FindUserID(
				/*$tag_name=*/"filter_modified_user_id",
				/*$tag_value=*/$filter_modified_user_id,
				/*$user_name=*/"",
				/*$form_name=*/"form1",
				/*$tag_size=*/"5",
				/*$tag_maxlength=*/"",
				/*$button_value=*/" ... ",
				/*$tag_class=*/"",
				/*$button_class=*/""
			);?>
		</td>
	</tr>
	<?if(CModule::IncludeModule("workflow")):?>
	<tr>
		<td nowrap><?php 
echo GetMessage("IBLOCK_FIELD_STATUS");
?>
:</td>
		<td nowrap><input type="text" name="filter_status_id" value="<?echo htmlspecialcharsex($filter_status_id)?>" size="3">
		<select name="filter_status">
Example #8
0
                echo $key;
                ?>
'), { props: {'name': 'RIGHTS_USER_ID[]'} }); 
												}, 3500);
											});
										</script>
									</td>
								</tr><?php 
            }
            $max_key = $key;
        } else {
            ?>
<tr>
								<td>
									<span style="display: inline-block; width: 20px; height: 20px;"></span><?php 
            echo FindUserID("RIGHTS_USER_ID_0", "", "", "editform", "10", "", "...", "xdimport-finduser-input", "");
            ?>
									<script type="text/javascript">
										BX.ready(function() { 
											setTimeout(function(){
												if (BX('RIGHTS_USER_ID_0')) BX.adjust(BX('RIGHTS_USER_ID_0'), { props: {'name': 'RIGHTS_USER_ID[]'} }); 
											}, 3500);											
										});
									</script>
								</td>
							</tr><?php 
            $max_key = 0;
        }
        ?>
						<tr>
							<td><a href="javascript:void(0)" onclick="lfpAddUser(this)" hidefocus="true" class="bx-action-href"><?php 
Example #9
0
?>
">
	<?php 
$arFilterFieldsTmp = array("filter_user" => Loc::getMessage("SOA_ROW_BUYER"), "filter_date_history" => Loc::getMessage("SALE_F_DATE"), "filter_status_id" => Loc::getMessage("SALE_F_DATE_UPDATE"), "filter_payed" => Loc::getMessage("SALE_F_ID"), "filter_allow_delivery" => Loc::getMessage("SALE_F_LANG_CUR"), "filter_canceled" => Loc::getMessage("SOA_F_PRICE"), "filter_deducted" => Loc::getMessage("SOA_F_PRICE"), "filter_marked" => Loc::getMessage("SOA_F_PRICE"));
$oFilter = new CAdminFilter($sTableHistory . "_filters", $arFilterFieldsTmp);
$oFilter->SetDefaultRows(array("filter_user"));
$oFilter->Begin();
?>
<tr>
	<td><?php 
echo Loc::getMessage('SOD_HIST_H_USER');
?>
:</td>
	<td>
		<?php 
echo FindUserID("filter_user", $filter_user, "", "find_form_history");
?>
	</td>
</tr>
<tr>
	<td><?php 
echo Loc::getMessage('SOD_HIST_H_DATE');
?>
:</td>
	<td>
		<?php 
echo CalendarPeriod("filters_date_history_from", $filters_date_history_from, "filters_date_history_to", $filters_date_history_to, "find_form_history", "Y");
?>
	</td>
</tr>
Example #10
0
        echo " checked";
    }
    ?>
 onClick="EnableControls(this.checked)"></td>
	</tr>
	<tr>
		<td><?php 
    echo GetMessage("fav_edit_user");
    ?>
</td>
		<td><?php 
    $sUser = "";
    if ($ID > 0) {
        $sUser = UserInfo($str_USER_ID);
    }
    echo FindUserID("USER_ID", $str_USER_ID > 0 ? $str_USER_ID : "", $sUser, "favform", "10", "", " ... ", "", "");
    ?>
		</td>
	</tr>
	<tr>
		<td><?php 
    echo GetMessage("fav_edit_modules");
    ?>
</td>
		<td>
<select name="MODULE_ID">
	<option value=""><?php 
    echo GetMessage("fav_edit_modules_not");
    ?>
</option>
<?php 
Example #11
0
		<td><?php 
echo GetMessage("MAIN_AGENT_NAME");
?>
</td>
		<td><input type="text" name="NAME" size="40" value="<?php 
echo $a_NAME;
?>
"></td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("MAIN_AGENT_USER_ID");
?>
</td>
		<td><?php 
echo FindUserID("USER_ID", $a_USER_ID, "", "f_agent", 4);
?>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("MAIN_AGENT_SORT");
?>
</td>
		<td><input type="text" name="SORT" size="40" value="<?php 
echo $a_SORT;
?>
"></td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("MAIN_AGENT_PERIOD");
?>
</td>
		<td nowrap><?php 
echo CalendarPeriod("filter_timestamp_from", htmlspecialcharsex($filter_timestamp_from), "filter_timestamp_to", htmlspecialcharsex($filter_timestamp_to), "form1");
?>
</td>
	</tr>

	<tr>
		<td nowrap><?php 
echo GetMessage("IBLOCK_FIELD_MODIFIED_BY");
?>
:</td>
		<td>
			<?php 
echo FindUserID("filter_modified_user_id", $filter_modified_user_id, "", "form1", "5", "", " ... ", "", "");
?>
		</td>
	</tr>
	<?php 
if (CModule::IncludeModule("workflow")) {
    ?>
	<tr>
		<td nowrap><?php 
    echo GetMessage("IBLOCK_FIELD_STATUS");
    ?>
:</td>
		<td nowrap><input type="text" name="filter_status_id" value="<?php 
    echo htmlspecialcharsex($filter_status_id);
    ?>
" size="3">
Example #13
0
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("SAE_USER");
?>
</td>
		<td>
			<?php 
$userName = "";
if ($str_USER_ID > 0) {
    $dbUser = CUser::GetByID($str_USER_ID);
    if ($arUser = $dbUser->Fetch()) {
        $userName = "******"tablebodylink\" title=\"" . GetMessage("SAE_PROFILE") . "\" href=\"/bitrix/admin/user_edit.php?lang=" . LANGUAGE_ID . "&ID=" . $str_USER_ID . "\">" . $str_USER_ID . "</a>] (" . htmlspecialcharsex($arUser["LOGIN"]) . ") " . htmlspecialcharsex($arUser["NAME"]) . " " . htmlspecialcharsex($arUser["LAST_NAME"]);
    }
}
echo FindUserID("USER_ID", $str_USER_ID, $userName, "form1");
?>
		</td>
	</tr>
	<tr>
		<td valign="top"><?php 
echo GetMessage("SAE_AFFILIATE_REG");
?>
</td>
		<td valign="top">
			<input type="text" name="AFFILIATE_ID" value="<?php 
echo $str_AFFILIATE_ID;
?>
" size="10" maxlength="10">
			<IFRAME name="hiddenframe_affiliate" id="id_hiddenframe_affiliate" src="" width="0" height="0" style="width:0px; height:0px; border: 0px"></IFRAME>
			<input type="button" class="button" name="FindAffiliate" OnClick="window.open('/bitrix/admin/sale_affiliate_search.php?func_name=SetAffiliateID', '', 'scrollbars=yes,resizable=yes,width=600,height=500,top='+Math.floor((screen.height - 500)/2-14)+',left='+Math.floor((screen.width - 400)/2-5));" value="...">
Example #14
0
echo GetMessage("BLB_POST_ID");
?>
:</td>
		<td><input type="text" name="filter_post_id" value="<?php 
echo htmlspecialcharsbx($filter_post_id);
?>
" size="20"></td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("BLB_BLOG_OWNER_ID");
?>
:</td>
		<td>
			<?php 
echo FindUserID("filter_owner_id", $filter_owner_id, "", "find_form");
?>
		</td>
	</tr>	
	<tr>
		<td><?php 
echo GetMessage("BLB_BLOG_SOCNET_GROUP_ID");
?>
:</td>
		<td><input type="text" name="filter_socnet_group_id" value="<?php 
echo htmlspecialcharsbx($filter_socnet_group_id);
?>
" size="20"></td>
	</tr>
	<tr>
		<td><?php 
Example #15
0
			);?>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBLOCK_SECSEARCH_DATE_CREATE").":"?></td>
		<td><?echo CalendarPeriod("find_section_date_create_1", htmlspecialcharsex($find_section_date_create_1), "find_section_date_create_2", htmlspecialcharsex($find_section_date_create_2), "find_section_form")?></td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBLOCK_SECSEARCH_CREATED_BY")?>:</td>
		<td>
			<?echo FindUserID(
				/*$tag_name=*/"find_section_created_user_id",
				/*$tag_value=*/$find_section_created_by,
				/*$user_name=*/"",
				/*$form_name=*/"find_section_form",
				/*$tag_size=*/"5",
				/*$tag_maxlength=*/"",
				/*$button_value=*/" ... ",
				/*$tag_class=*/"",
				/*$button_class=*/""
			);?>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBLOCK_SECSEARCH_CODE")?>:</td>
		<td><input type="text" name="find_section_code" size="47" value="<?echo htmlspecialcharsbx($find_section_code)?>"></td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBLOCK_SECSEARCH_XML_ID")?>:</td>
		<td><input type="text" name="find_section_external_id" size="47" value="<?echo htmlspecialcharsbx($find_section_external_id)?>"></td>
	</tr>
Example #16
0
				<option value="N"<?if ($filter_marked=="N") echo " selected"?>><?echo GetMessage("SALE_NO")?></option>
			</select>
		</td>
	</tr>
	<!--<tr>
		<td><?echo GetMessage("SALE_F_BUYER");?>:</td>
		<td>
			<input type="text" name="filter_buyer" value="<?echo htmlspecialcharsbx($filter_buyer)?>" size="40"><?php 
echo ShowFilterLogicHelp();
?>
		</td>
	</tr>-->
	<tr>
		<td><?echo GetMessage("SALE_F_USER_ID");?>:</td>
		<td>
			<?echo FindUserID("filter_user_id", $filter_user_id, "", "find_form");?>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("SALE_F_USER_LOGIN");?>:</td>
		<td>
			<input type="text" name="filter_user_login" value="<?echo htmlspecialcharsEx($filter_user_login)?>" size="40">
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("SALE_F_USER_EMAIL");?>:</td>
		<td>
			<input type="text" name="filter_user_email" value="<?echo htmlspecialcharsEx($filter_user_email)?>" size="40">
		</td>
	</tr>
	<tr>
Example #17
0
			<input type="checkbox" name="ACTIVE" id="ACTIVE" value="Y"<?php 
if ($str_ACTIVE == "Y") {
    echo " checked";
}
?>
>
		</td>
	</tr>
	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("BLBE_OWNER_ID");
?>
:</td>
		<td>
			<?php 
echo FindUserID("OWNER_ID", IntVal($str_OWNER_ID));
?>
		</td>
	</tr>

	<tr class="adm-detail-required-field">
		<td><?php 
echo GetMessage("BLBE_GROUP");
?>
:</td>
		<td>
			<select name="GROUP_ID" style="width:220px">
				<?php 
$dbBlogGroup = CBlogGroup::GetList(array("NAME" => "ASC"), array());
while ($arBlogGroup = $dbBlogGroup->Fetch()) {
    ?>
Example #18
0
        ?>
</td>
			</tr>
			<tr>
				<td width="40%">
					<span class="required">*</span><?php 
        echo GetMessage("SOE_USER");
        ?>
:
				</td>
				<td width="60%"><?php 
        $user_name = "";
        if ($ID > 0) {
            $user_name = "[<a class=\"tablebodylink\" title=\"" . GetMessage("SOE_PROFILE_ALT") . "\" href=\"/bitrix/admin/user_edit.php?lang=" . LANGUAGE_ID . "&ID=" . $str_USER_ID . "\">" . $str_USER_ID . "</a>] (" . $str_USER_LOGIN . ") " . $str_USER_NAME . " " . $str_USER_LAST_NAME;
        }
        echo FindUserID("USER_ID", $str_USER_ID, $user_name, "forder_edit");
        ?>
</td>
			</tr>

		<?php 
        $tabControl->BeginNextTab();
        ?>

			<tr>
				<td width="40%">
					<span class="required">*</span><?php 
        echo GetMessage("SOE_PERSON_TYPE");
        ?>
:
				</td>
Example #19
0
:</td>
		<td>
			<input type="text" name="filter_universal" value="<?php 
echo htmlspecialcharsbx($filter_universal);
?>
" size="40">
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage('BUYER_F_ID');
?>
:</td>
		<td>
			<?php 
echo FindUserID("filter_ID", $filter_ID, "", "find_form");
?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("BUYER_F_LOGIN");
?>
:</td>
		<td>
			<input type="text" name="filter_login" value="<?php 
echo htmlspecialcharsbx($filter_login);
?>
" size="40">
		</td>
	</tr>
Example #20
0
</td>
		</tr>
	<?php 
}
?>
	<tr class="adm-detail-required-field">
		<td width="40%"><?php 
echo GetMessage("SCE_USER");
?>
</td>
		<td width="60%"><?php 
$user_name = "";
if ($ID > 0) {
    $user_name = "[<a title=\"" . GetMessage("SCE_USER_PROFILE") . "\" href=\"/bitrix/admin/user_edit.php?lang=" . LANGUAGE_ID . "&ID=" . $str_USER_ID . "\">" . $str_USER_ID . "</a>] (" . $str_USER_LOGIN . ") " . $str_USER_NAME . " " . $str_USER_LAST_NAME;
}
echo FindUserID("USER_ID", $str_USER_ID, $user_name, "fccards_edit");
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("SCE_ACTIVE");
?>
</td>
		<td>
			<input type="checkbox" name="ACTIVE" value="Y"<?php 
if ($str_ACTIVE == "Y") {
    echo " checked";
}
?>
>
Example #21
0
	$oFilter = new CAdminFilter(
		$sTableID_tab5."_filters",
		$arFilterFieldsTmp
	);

	$oFilter->SetDefaultRows(array("filter_user"));

	$oFilter->Begin();
	?>
	<tr>
		<td><?php 
echo GetMessage('SOD_HIST_H_USER');
?>
:</td>
		<td>
			<?echo FindUserID("filter_user", $filter_user, "", "find_form5");?>
		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage('SOD_HIST_H_DATE');
?>
:</td>
		<td>
			<?echo CalendarPeriod("filters_date_history_from", $filters_date_history_from, "filters_date_history_to", $filters_date_history_to, "find_form5", "Y")?>

		</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage('SOD_HIST_TYPE');
Example #22
0
        echo htmlspecialcharsbx($arForm["NAME"]);
        ?>
 (<?php 
        echo htmlspecialcharsbx($arForm["SID"]);
        ?>
)</a></td>
	</tr>
	<tr>
		<td><?php 
        echo GetMessage('FORM_RESULT_EDIT_AUTHOR');
        ?>
:</td>
		<td>
<?php 
        if ($RESULT_ID <= 0) {
            echo FindUserID("USER_ID", $arUser['ID']);
        } elseif (is_array($arUser)) {
            ?>
			[<a title="<?php 
            echo GetMessage('FORM_RESULT_EDIT_USER');
            ?>
" href='/bitrix/admin/user_edit.php?lang=<?php 
            echo LANGUAGE_ID;
            ?>
&ID=<?php 
            echo $arUser["ID"];
            ?>
'><?php 
            echo $arUser['ID'];
            ?>
</a>] <a title="<?php 
Example #23
0
			);?>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBSEC_A_DATE_CREATE").":"?></td>
		<td><?echo CalendarPeriod("find_section_date_create_1", htmlspecialcharsex($find_section_date_create_1), "find_section_date_create_2", htmlspecialcharsex($find_section_date_create_2), "find_section_form", "Y")?></td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBSEC_A_CREATED_BY")?>:</td>
		<td>
			<?echo FindUserID(
				"find_section_created_by",
				($find_section_created_user_id? $find_section_created_user_id: $find_section_created_by),
				"",
				"find_section_form",
				"5",
				"",
				" ... ",
				"",
				""
			);?>
		</td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBSEC_A_CODE")?>:</td>
		<td><input type="text" name="find_section_code" size="47" value="<?echo htmlspecialcharsbx($find_section_code)?>"></td>
	</tr>
	<tr>
		<td><?echo GetMessage("IBSEC_A_XML_ID")?>:</td>
		<td><input type="text" name="find_section_external_id" size="47" value="<?echo htmlspecialcharsbx($find_section_external_id)?>"></td>
	</tr>
    $calendar = new CAdminCalendar();
    echo $calendar->CalendarPeriodCustom($prefix . 'ACTIVE_FROM', $prefix . 'ACTIVE_TO', $activeFrom, $activeTo, true, 19, true, array(CAdminCalendar::PERIOD_EMPTY => Loc::getMessage('BX_SALE_DISCOUNT_COUPON_PERIOD_EMPTY'), CAdminCalendar::PERIOD_INTERVAL => Loc::getMessage('BX_SALE_DISCOUNT_COUPON_PERIOD_INTERVAL')), $periodValue);
    unset($activeTo, $activeFrom, $periodValue);
    ?>
</td>
	</tr><?php 
    $control->EndCustomField($prefix . 'PERIOD');
    $control->BeginCustomField($prefix . 'USER_ID', Loc::getMessage('BX_SALE_DISCOUNT_COUPON_FIELD_USER_ID'), false);
    ?>
<tr id="tr_USER_ID">
		<td width="40%"><?php 
    echo $control->GetCustomLabelHTML();
    ?>
</td>
		<td width="60%"><?php 
    echo FindUserID($prefix . 'USER_ID', $coupon['USER_ID'] > 0 ? $coupon['USER_ID'] : '', '', $couponFormID);
    ?>
</td>
	</tr><?php 
    $control->EndCustomField($prefix . 'USER_ID');
    $control->AddEditField($prefix . 'MAX_USE', Loc::getMessage('BX_SALE_DISCOUNT_COUPON_FIELD_MAX_USE'), false, array(), $coupon['MAX_USE'] > 0 ? $coupon['MAX_USE'] : '');
    $control->AddTextField($prefix . 'DESCRIPTION', Loc::getMessage('BX_SALE_DISCOUNT_COUPON_FIELD_DESCRIPTION'), $coupon['DESCRIPTION'], array(), false);
    if ($subWindow) {
        $control->Buttons(false, '');
    } else {
        $control->Buttons(array('disabled' => $readOnly, 'back_url' => "sale_discount_coupons.php?lang=" . LANGUAGE_ID . GetFilterParams('filter_')));
    }
    $control->Show();
    ?>
<script type="text/javascript">
	BX.ready(function(){
		<td><?php 
echo GetMessage("MAIL_MBOX_EDT_LINK");
?>
</td>
		<td><input id="mailbox_link" type="text" name="LINK" size="53" maxlength="255" value="<?php 
echo $str_LINK;
?>
"></td>
	</tr>
	<tr id="el12" class="imap domain crdomain controller adm-detail-required-field">
		<td><?php 
echo GetMessage("MAIL_MBOX_EDT_USER_ID");
?>
</td>
		<td><?php 
echo FindUserID("USER_ID", $str_USER_ID);
?>
</td>
	</tr>
	<tr id="el13" class="pop3">
		<td><?php 
echo GetMessage("MAIL_MBOX_EDT_USE_APOP");
?>
</td>
		<td><input type="checkbox" name="USE_MD5" value="Y"<?if($str_USE_MD5=="Y")echo " checked"?>></td>
	</tr>
	<tr id="el14" class="pop3">
		<td><?php 
echo GetMessage("MAIL_MBOX_EDT_DEL_AFTER_RETR");
?>
</td>
Example #26
0
}
?>
			</select>
		</td>
	</tr>

<?php 
if ($allowAdminAccess) {
    ?>
<tr>
		<td><?php 
    echo GetMessage("BPATL_USER_ID");
    ?>
:</td>
		<td><?php 
    echo FindUserID("filter_user_id", $filter_user_id, "", "find_form", "5", "", " ... ", "", "");
    ?>
		</td>
	</tr><?php 
}
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage(), "form" => "find_form"));
$oFilter->End();
?>
</form>

<?php 
$lAdmin->DisplayList();
?>

<?php 
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
	//-->
	</SCRIPT>

	<tr valign="middle">
		<td width="20%" nowrap><?php 
echo GetMessage("SUP_SOURCE") . " / " . GetMessage("SUP_FROM");
?>
</td>
		<td width="80%" nowrap><?php 
echo SelectBox("SOURCE_ID", CTicket::GetRefBookValues("SR", $arTicket["LID"]), "< web >", $str_SOURCE_ID, "OnChange=SelectSource() ");
?>
&nbsp;<input type="text" size="12" name="OWNER_SID" id="OWNER_SID" value="<?php 
echo $str_OWNER_SID;
?>
"><?php 
echo FindUserID("OWNER_USER_ID", $str_OWNER_USER_ID);
?>
</td>
	</tr>
	<SCRIPT LANGUAGE="JavaScript">
	<!--
	SelectSource();
	//-->
	</SCRIPT>
	<tr valign="top">
		<td width="20%"><?php 
echo GetMessage("SUP_CREATE");
?>
</td>
		<td align="left" width="80%"><?php 
echo $str_DATE_CREATE;
Example #28
-1
	</tr>

	<tr>
		<td><?echo GetMessage("IBLIST_A_DATE_CREATE")?>:</td>
		<td><?echo CalendarPeriod("find_created_from", htmlspecialcharsex($find_created_from), "find_created_to", htmlspecialcharsex($find_created_to), "find_element_form", "Y")?></td>
	</tr>

	<tr>
		<td><?echo GetMessage("IBLIST_A_F_CREATED_BY")?>:</td>
		<td>
			<?echo FindUserID(
				"find_created_user_id",
				$find_created_user_id,
				"",
				"find_form",
				"5",
				"",
				" ... ",
				"",
				""
			);?>
		</td>
	</tr>

	<?if($bWorkFlow):?>
	<tr>
		<td><?php 
echo GetMessage("IBLIST_A_STATUS");
?>
:</td>
		<td><input type="text" name="find_status_id" value="<?echo htmlspecialcharsex($find_status_id)?>" size="3">