当前位置: 首页>>代码示例>>PHP>>正文


PHP FindUserID函数代码示例

本文整理汇总了PHP中FindUserID函数的典型用法代码示例。如果您正苦于以下问题:PHP FindUserID函数的具体用法?PHP FindUserID怎么用?PHP FindUserID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了FindUserID函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: GetMessage

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>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:iblock_history_list.php

示例2: GetMessage

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 
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:iblock_section_search.php

示例3: GetMessage

		</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";
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:recurring_edit.php

示例4: GetMessage

        ?>
</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>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:order_edit.php

示例5: FindUserID

				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(
开发者ID:akniyev,项目名称:arteva.ru,代码行数:32,代码来源:discount_coupon_edit.php

示例6: GetMessage

?>

<?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>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:transact_edit.php

示例7: SelectBoxFromArray

    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>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:ticket_edit.php

示例8: FindUserID

                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 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:lf_scheme_edit.php

示例9: GetMessage

		<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">
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:iblock_element_search.php

示例10: GetMessage

        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 
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:favorite_edit.php

示例11: array

?>
">
	<?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>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:30,代码来源:order_history.php

示例12: CalendarPeriod

?>
</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">
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:iblock_element_search.php

示例13: GetMessage

		<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");
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:agent_edit.php

示例14: GetMessage

	</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 = "[<a class=\"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="...">
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:affiliate_edit.php

示例15: GetMessage

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 
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:blog_comment.php


注:本文中的FindUserID函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。