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


PHP InputType函数代码示例

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


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

示例1: array

$ref_id = array();
$ref[] = GetMessage("SUP_NO");
$ref_id[] = "0";
$z = CTicket::GetSupportTeamList();
while ($zr = $z->Fetch()) {
    $ref[] = $zr["REFERENCE"];
    $ref_id[] = $zr["REFERENCE_ID"];
}
$arr = array("REFERENCE" => $ref, "REFERENCE_ID" => $ref_id);
echo SelectBoxFromArray("find_responsible_id", $arr, htmlspecialcharsbx($find_responsible_id), GetMessage("SUP_ALL"));
?>
<br><input type="text" name="find_responsible" size="47" value="<?php 
echo htmlspecialcharsbx($find_responsible);
?>
"><?php 
echo InputType("checkbox", "find_responsible_exact_match", "Y", $find_responsible_exact_match, false, "", "title='" . GetMessage("SUP_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr valign="center">
	<td nowrap><?php 
echo GetMessage("SUP_F_DEFAULT");
?>
:</td>
	<td nowrap><?php 
$arr = array("reference" => array(GetMessage("SUP_YES"), GetMessage("SUP_NO")), "reference_id" => array("Y", "N"));
echo SelectBoxFromArray("find_default", $arr, htmlspecialcharsbx($find_default), GetMessage("SUP_ALL"));
?>
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:ticket_dict_list.php

示例2: htmlspecialcharsbx

</td>
		<td><input size="3" type="text" name="DEFENCE_MAX_STACK_HITS" id="DEFENCE_MAX_STACK_HITS" value="<?php 
    echo htmlspecialcharsbx($DEFENCE_MAX_STACK_HITS);
    ?>
">&nbsp;<?php 
    echo GetMessage("STAT_OPT_DEFENCE_MAX_STACK_HITS_MEASURE");
    ?>
</td>
	</tr>
	<tr>
		<td nowrap><label for="DEFENCE_LOG"><?php 
    echo GetMessage("STAT_OPT_DEFENCE_LOG", array("#HREF#" => "/bitrix/admin/event_log.php?lang=" . LANGUAGE_ID . "&set_filter=Y&find_type=audit_type_id&find_audit_type[]=STAT_ACTIVITY_LIMIT"));
    ?>
</label></td>
		<td><?php 
    echo InputType("checkbox", "DEFENCE_LOG", "Y", $DEFENCE_LOG);
    ?>
</td>
	</tr>
	<?php 
    $tabControl->EndTab();
    ?>
	<script language="JavaScript">
	function ChangeDefenceSwitch()
	{
		var obSwitch = document.getElementById("DEFENCE_ON");
		document.getElementById("DEFENCE_DELAY").disabled = !obSwitch.checked;
		document.getElementById("DEFENCE_STACK_TIME").disabled = !obSwitch.checked;
		document.getElementById("DEFENCE_MAX_STACK_HITS").disabled = !obSwitch.checked;
		document.getElementById("DEFENCE_MAX_STACK_HITS").disabled = !obSwitch.checked;
		document.getElementById("DEFENCE_LOG").disabled = !obSwitch.checked;
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:options.php

示例3: ShowFilterLogicHelp

?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("AD_F_COMMENTS");
?>
:</td>
	<td><input type="text" name="find_comments" size="47" value="<?php 
echo htmlspecialcharsbx($find_comments);
?>
"><?php 
echo InputType("checkbox", "find_comments_exact_match", "Y", $find_comments_exact_match, false, "", "title='" . GetMessage("AD_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<?php 
$oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage(), "form" => "form1"));
$oFilter->End();
?>

</form>
<?php 
$lAdmin->DisplayList();
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:adv_banner_list.php

示例4: GetMessage

		<td><?php 
echo GetMessage("STAT_ADV_VISIBLE", array("#LANG#" => LANG));
?>
</td>
		<td><?php 
echo InputType("checkbox", "ADV_VISIBLE", "Y", $str_ADV_VISIBLE, false);
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("STAT_PIE_CHART");
?>
</td>
		<td><?php 
echo InputType("checkbox", "DIAGRAM_DEFAULT", "Y", $str_DIAGRAM_DEFAULT, false);
?>
</td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("STAT_KEEP_DAYS");
?>
</td>
		<td><input type="text" name="KEEP_DAYS" size="5" value="<?php 
echo $str_KEEP_DAYS;
?>
"></td>
	</tr>
	<tr>
		<td><?php 
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:event_type_edit.php

示例5: InputType

?>
" size="47"><?php 
echo InputType("checkbox", "find_question_exact_match", "Y", $find_question_exact_match, false, "", "title='" . GetMessage("VOTE_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr> 
	<td>ID:</td>
	<td><input type="text" name="find_id" size="47" value="<?php 
echo htmlspecialcharsbx($find_id);
?>
"><?php 
echo InputType("checkbox", "find_id_exact_match", "Y", $find_id_exact_match, false, "", "title='" . GetMessage("VOTE_EXACT_MATCH") . "'");
?>
&nbsp;<?php 
echo ShowFilterLogicHelp();
?>
</td>
</tr>
<tr>
	<td><?php 
echo GetMessage("VOTE_F_ACTIVE");
?>
</td>
	<td><?php 
$arr = array("reference" => array(GetMessage("VOTE_YES"), GetMessage("VOTE_NO")), "reference_id" => array("Y", "N"));
echo SelectBoxFromArray("find_active", $arr, htmlspecialcharsbx($find_active), GetMessage("VOTE_ALL"));
?>
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:vote_question_list.php

示例6: GetMessage

				$arRatingUserProp = CRatings::GetRatingUserProp($ratingId, $ID);

				if ($ratingId == $authorityRatingId && $arRatingUserProp['BONUS'] == 0)
					$arRatingUserProp['BONUS'] = COption::GetOptionString("main", "rating_start_authority", 3);

				$viewTabControl->BeginNextTab();
				?>
					<table cellspacing="7" cellpadding="0" border="0" width="100%" class="edit-table">
				<?	if ($USER->CanDoOperation('edit_ratings') && ($selfEdit || $ID!=$uid)): ?>
					<tr>
						<td class="field-name" width="40%"><?php 
echo GetMessage('RATING_BONUS');
?>
:<sup><span class="required">2</span></sup></td>
						<td><?php 
echo InputType('text', "RATING_BONUS[{$ratingId}]", floatval($arRatingUserProp['BONUS']), false, false, '', 'size="5" maxlength="11"');
?>
 <?php 
echo $ratingWeightType == 'auto' ? 'x ' . GetMessage('RATING_NORM_VOTE_WEIGHT') : '';
?>
</td>
					</tr>
				<? endif; ?>
					<tr>
						<td class="field-name" width="40%"><?php 
echo GetMessage('RATING_POSITION');
?>
:</td>
						<td>
						<?$APPLICATION->IncludeComponent(
							"bitrix:rating.result", "",
开发者ID:nProfessor,项目名称:Mytb,代码行数:31,代码来源:user_edit.php

示例7: GetMessage

	}
	</script>
	<?php 
    $disableFixClick = "";
    if ($str_FIX_CLICK != "Y") {
        $disableFixClick = " disabled";
    }
    ?>
	<tr valign="top">
		<td width="40%"><label for="FIX_CLICK"><?php 
    echo GetMessage("AD_FIX_CLICK");
    ?>
</label></td>
		<td width="60%"><?php 
    if ($isEditMode) {
        echo InputType("checkbox", "FIX_CLICK", "Y", $str_FIX_CLICK, false, "", 'id="FIX_CLICK" OnClick="DisableFixClick();"');
    } else {
        echo $str_FIX_CLICK == "Y" ? GetMessage("AD_YES") : GetMessage("AD_NO");
    }
    ?>
</td>
	</tr>
	<?php 
}
?>

	<?php 
if (!$isEditMode) {
    ?>
	<tr valign="top">
		<td><?php 
开发者ID:webgksupport,项目名称:alpina,代码行数:31,代码来源:adv_banner_edit.php

示例8: GetMessage

echo $str_DESCR;
?>
</textarea></td>
	</tr>

	<tr>
		<td width="100%" colspan=2 align="center">
			<div id="tr_default">
			<table width="100%" cellspacing=0 cellpadding=0>
				<tr valign="top">
					<td align="right" width="40%"><?php 
echo GetMessage("SUP_BY_DEFAULT");
?>
</td>
					<td width="60%" align="left" style="padding-left: 10px;"><?php 
echo InputType("checkbox", "SET_AS_DEFAULT", "Y", $str_SET_AS_DEFAULT, false);
?>
</td>
				</tr>
			</table>
			</div>
		</td>
	</tr>
	<tr>
		<td width="100%" colspan=2 align="center">
			<div id="tr_responsible">
			<table width="100%" cellspacing=0 cellpadding=0>
				<tr>
					<td align="right" width="40%"><?php 
echo GetMessage("SUP_RESPONSIBLE");
?>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:ticket_dict_edit.php

示例9: GetMessage

		if (BX.type.isArray(data['MESSAGE[]']) && data['MESSAGE[]'].length > 1)
		{
			RowInsert();
			while (document.forms.form1['MESSAGE[]'].length < data['MESSAGE[]'].length)
				RowInsert();
		}
	})
});
</script>
<? ################################# END ################ ?>
	<tr>
		<td><?php 
echo GetMessage("FORM_REQUIRED");
?>
</td>
		<td><?echo InputType("checkbox","REQUIRED","Y",$str_REQUIRED,false) ?></td>
	</tr>
	<tr>
		<td><?php 
echo GetMessage("FORM_ANS_TYPE");
?>
</td>
		<td><select name="FIELD_TYPE" id="selected_type" onchange="ShowSelected(); jsFormValidatorSettings.UpdateAll();">
	<?
	$arDisplay = array(
		'text'		=>'none',
		'textarea'	=>'none',
		'list'		=>'none',
	);
	$arCompat_desc[1]=array(
		'radio'		=>GetMessage('F_TYPES_RADIO'),
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:form_field_edit_simple.php

示例10: GetMessage

$tabControl->Begin();

$tabControl->BeginNextFormTab();


$tabControl->AddEditField("NAME", GetMessage('RATING_RULE_EDIT_FRM_NAME'), true, array("size"=>54, "maxlength"=>255), $str_NAME);

$tabControl->BeginCustomField("ACTIVE", GetMessage('RATING_RULE_EDIT_FRM_ACTIVE'), false);
?>
	<tr>
		<td><?php 
echo GetMessage("RATING_RULE_EDIT_FRM_ACTIVE");
?>
</td>
		<td><?php 
echo InputType("checkbox", "ACTIVE", "Y", $str_ACTIVE);
?>
</td>
	</tr>
<?
$tabControl->EndCustomField("ACTIVE");

$tabControl->BeginCustomField("ENTITY_TYPE_ID", GetMessage('RATING_RULE_EDIT_FRM_TYPE_ID'), true);
$arObjects = CRatingRule::GetRatingRuleObjects();
?>
	<tr style="<?php 
echo count($arObjects) > 1 ? '' : 'display:none';
?>
" class="adm-detail-required-field">
		<td><?php 
echo GetMessage("RATING_RULE_EDIT_FRM_TYPE_ID");
开发者ID:ASDAFF,项目名称:open_bx,代码行数:31,代码来源:rating_rule_edit.php

示例11: InputType

echo InputType("checkbox", "find_allow_delivery", "Y", $find_allow_delivery, false, false, 'id="find_allow_delivery"');
?>
		<label for="find_allow_delivery"><?php 
echo GetMessage("SALE_ALLOW_DELIVERY");
?>
</label><br>
		<?php 
echo InputType("checkbox", "find_canceled", "Y", $find_canceled, false, false, 'id="find_canceled"');
?>
		<label for="find_canceled"><?php 
echo GetMessage("SALE_CANCELED");
?>
</label><br>
		<?php 
foreach ($arStatus as $k => $v) {
    echo InputType("checkbox", "find_status_" . $k, "Y", ${"find_status_" . $k}, false, false, 'id="find_status_' . $k . '"');
    ?>
			<label for="find_status_<?php 
    echo $k;
    ?>
"><?php 
    echo $v;
    ?>
</label><br>
			<?php 
}
?>
	</td>
</tr>
	<tr>
		<td><?php 
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:stat_graph_index.php

示例12: GetMessage

										<td nowrap><?php 
echo GetMessage("SUP_MESSAGES");
?>
</td>
										<td align="center"><?php 
echo InputType("checkbox", "find_mess", "Y", $find_mess, false);
?>
</td>
									</tr>
									<tr>
										<td nowrap><?php 
echo GetMessage("SUP_OVERDUE_MESSAGES");
?>
</td>
										<td align="center"><?php 
echo InputType("checkbox", "find_overdue_mess", "Y", $find_overdue_mess, false);
?>
</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</td>
</tr>
<?php 
$filter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage(), "form" => "form1"));
$filter->End();
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:ticket_report_graph.php

示例13: InputType

				<td><?php 
    echo InputType('text', 'newpoint_lat', '', '', false, '', 'class="newpoint_lat"');
    ?>
</td>
			</tr>
			<tr>
				<td class="title">Долгота (37.12345)</td>
				<td><?php 
    echo InputType('text', 'newpoint_lon', '', '', false, '', 'class="newpoint_lon"');
    ?>
</td>
			</tr>
			<tr>
				<td class="title">Комментарий</td>
				<td><?php 
    echo InputType('text', 'comment', $arTs[0]["INFO"], '', false, '', 'class="comment"');
    ?>
</td>
			</tr>
			<tr>
				<td class="center" colspan="2">
					<input type="hidden" name="action" value="1">
					<input type="hidden" name="edit_id" value="<?php 
    echo $editID;
    ?>
">
					<input type="submit" value="Редактировать запись">
				</td>
			</tr>
		</table>
	</form>
开发者ID:msergeev06,项目名称:mj-msergeev,代码行数:31,代码来源:edit.php

示例14: GetMessage

		<td align="right"><?php 
echo GetMessage("STAT_MESSAGE_LID");
?>
</td>
		<td><?php 
echo CLanguage::SelectBox("MESSAGE_LID", $str_MESSAGE_LID);
?>
</td>
	</tr>
	<tr valign="top">
		<td align="right"><?php 
echo GetMessage("STAT_SAVE_STATISTIC");
?>
</td>
		<td><?php 
echo InputType("checkbox", "SAVE_STATISTIC", "Y", $str_SAVE_STATISTIC, false);
?>
</td>
	</tr>
<?php 
$tabControl->BeginNextTab();
?>
	<tr valign="top">
		<td colspan="2" align="center"><textarea style="width:100%" name="COMMENTS" rows="5" wrap="VIRTUAL"><?php 
echo $str_COMMENTS;
?>
</textarea></td>
	</tr>
<?php 
$tabControl->Buttons(array("disabled" => $STAT_RIGHT < "W", "back_url" => "/bitrix/admin/stoplist_list.php?lang=" . LANG . "&set_filter=Y"));
$tabControl->End();
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:stoplist_edit.php

示例15: InputType

		<?echo InputType("checkbox","find_page_views","Y",$find_page_views,false,false,'id="find_page_views"');?>
		<label for="find_hit"><?php 
echo GetMessage("LOL_METRIKA_PAGE_VIEWS_2");
?>
</label><br>
		<?echo InputType("checkbox","find_visitors","Y",$find_visitors,false,false,'id="find_visitors"'); ?>
		<label for="find_visitors"><?php 
echo GetMessage("LOL_METRIKA_VISITORS_2");
?>
</label><br>
		<?echo InputType("checkbox","find_visits","Y",$find_visits,false,false,'id="find_visits"'); ?>
		<label for="find_visits"><?php 
echo GetMessage("LOL_METRIKA_VISITS_2");
?>
</label><br>
		<?echo InputType("checkbox","find_new_visitors","Y",$find_new_visitors,false,false,'id="find_new_visitors"'); ?>
		<label for="find_new_visitors"><?php 
echo GetMessage("LOL_METRIKA_NEW_VISITORS_2");
?>
</label><br>
	</td>
</tr>
<?
$oFilter->Buttons(array("table_id"=>$sTableID, "url"=>$APPLICATION->GetCurPage(), "form" => "find_form", "report"=>true));
$oFilter->End();
?>
</form>

<?
if($message)
	echo $message->Show();
开发者ID:ASDAFF,项目名称:bitrix-yandex-metrika,代码行数:31,代码来源:traffic_summary.php


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