當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Helpers::form_prep方法代碼示例

本文整理匯總了PHP中Helpers::form_prep方法的典型用法代碼示例。如果您正苦於以下問題:PHP Helpers::form_prep方法的具體用法?PHP Helpers::form_prep怎麽用?PHP Helpers::form_prep使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Helpers的用法示例。


在下文中一共展示了Helpers::form_prep方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

		</div>
	</div>
	<div class="form-group">
		<label for="name_long" class="col-lg-2 control-label">Полное наименование*</label>
		<div class="col-lg-10">
			<input type="text" name="name_long" value="<?php 
echo Helpers::form_prep($item->name_long);
?>
" class="form-control" id="name_long">
		</div>
	</div>
	<div class="form-group">
		<label for="name_rp" class="col-lg-2 control-label">Наименование в родительном падеже</label>
		<div class="col-lg-10">
			<input type="text" name="name_rp" value="<?php 
echo Helpers::form_prep($item->name_rp);
?>
" class="form-control" id="name_rp">
		</div>
	</div>

	<div class="form-group">
		<label for="comment" class="col-lg-2 control-label">Комментарий</label>
		<div class="col-lg-10">
			<textarea name="comment" class="form-control" rows="15"><?php 
echo $item->comment;
?>
</textarea>
		</div>
	</div>
開發者ID:nix222,項目名稱:crm-system,代碼行數:30,代碼來源:edit.php

示例2:

</div>
<?endif;?>
	<div class="form-group">
		<label for="name" class="col-lg-2 control-label">Заголовок*</label>
		<div class="col-lg-10">
			<input type="text" name="name" value="<?php 
echo Helpers::form_prep(Input::old("name"));
?>
" class="form-control" id="name">
		</div>
	</div>
	<div class="form-group">
		<label for="name_vin_p" class="col-lg-2 control-label">Заголовок в винительном падеже</label>
		<div class="col-lg-10">
			<input type="text" name="name_vin_p" value="<?php 
echo Helpers::form_prep(Input::old("name_vin_p"));
?>
" class="form-control" id="name_vin_p">
		</div>
	</div>

	<div class="form-group">
		<label for="comment" class="col-lg-2 control-label">Комментарий</label>
		<div class="col-lg-10">
			<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php 
echo Input::old("comment");
?>
</textarea>
		</div>
	</div>
開發者ID:nix222,項目名稱:crm-system,代碼行數:30,代碼來源:add.php

示例3:

		</div>
	</div>
	<div class="form-group">
		<label for="contact_phone" class="col-lg-2 control-label">Телефон</label>
		<div class="col-lg-4">
			<input type="text" name="contact_phone" value="<?php 
echo Helpers::form_prep($item->contact_phone);
?>
" class="form-control" id="contact_phone">
		</div>
	</div>
	<div class="form-group">
		<label for="contact_email" class="col-lg-2 control-label">E-mail</label>
		<div class="col-lg-4">
			<input type="text" name="contact_email" value="<?php 
echo Helpers::form_prep($item->contact_email);
?>
" class="form-control" id="contact_email">
		</div>
	</div>

	<div class="form-group">
		<label for="comment" class="col-lg-2 control-label">Комментарий</label>
		<div class="col-lg-10">
			<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php 
echo $item->comment;
?>
</textarea>
		</div>
	</div>
開發者ID:nix222,項目名稱:crm-system,代碼行數:30,代碼來源:edit_ip.php

示例4:

</div>
<?endif;?>
	<div class="form-group">
		<label for="name" class="col-lg-2 control-label">Заголовок*</label>
		<div class="col-lg-10">
			<input type="text" name="name" value="<?php 
echo Helpers::form_prep($item->name);
?>
" class="form-control" id="name">
		</div>
	</div>
	<div class="form-group">
		<label for="name_vin_p" class="col-lg-2 control-label">Заголовок в винительном падеже</label>
		<div class="col-lg-10">
			<input type="text" name="name_vin_p" value="<?php 
echo Helpers::form_prep($item->name_vin_p);
?>
" class="form-control" id="name_vin_p">
		</div>
	</div>

	<div class="form-group">
		<label for="comment" class="col-lg-2 control-label">Комментарий</label>
		<div class="col-lg-10">
			<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php 
echo $item->comment;
?>
</textarea>
		</div>
	</div>
開發者ID:nix222,項目名稱:crm-system,代碼行數:30,代碼來源:edit.php

示例5:

		</div>
	</div>
	<div class="form-group">
		<label for="contact_phone" class="col-lg-2 control-label">Телефон</label>
		<div class="col-lg-4">
			<input type="text" name="contact_phone" value="<?php 
echo Helpers::form_prep(Input::old("contact_phone"));
?>
" class="form-control" id="contact_phone">
		</div>
	</div>
	<div class="form-group">
		<label for="contact_email" class="col-lg-2 control-label">E-mail</label>
		<div class="col-lg-4">
			<input type="text" name="contact_email" value="<?php 
echo Helpers::form_prep(Input::old("contact_email"));
?>
" class="form-control" id="contact_email">
		</div>
	</div>

	<div class="form-group">
		<label for="comment" class="col-lg-2 control-label">Комментарий</label>
		<div class="col-lg-10">
			<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php 
echo Input::old("comment");
?>
</textarea>
		</div>
	</div>
開發者ID:nix222,項目名稱:crm-system,代碼行數:30,代碼來源:add_ip.php

示例6:

		</div>
	</div>
	<div class="form-group">
		<label for="bank_correspondent_account" class="col-lg-2 control-label">К/с</label>
		<div class="col-lg-4">
			<input type="text" name="bank_correspondent_account" value="<?php 
echo Helpers::form_prep(Input::old("bank_correspondent_account"));
?>
" class="form-control" id="bank_correspondent_account">
		</div>
	</div>
	<div class="form-group">
		<label for="bank_account" class="col-lg-2 control-label">Р/с</label>
		<div class="col-lg-4">
			<input type="text" name="bank_account" value="<?php 
echo Helpers::form_prep(Input::old("bank_account"));
?>
" class="form-control" id="bank_account">
		</div>
	</div>

	<div class="form-group" style="padding-top: 40px;">
		<label for="comment" class="col-lg-2 control-label">Комментарий</label>
		<div class="col-lg-10">
			<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php 
echo Input::old("comment");
?>
</textarea>
		</div>
	</div>
開發者ID:nix222,項目名稱:crm-system,代碼行數:30,代碼來源:add_ul.php

示例7:

	</div>
	<div class="form-group">
		<label for="email" class="col-lg-2 control-label">E-mail</label>
		<div class="col-lg-4">
			<input type="text" name="email" value="<?php 
echo Helpers::form_prep(Input::old("email"));
?>
" class="form-control" id="email">
		</div>
	</div>
	<div class="form-group" style="margin-bottom:40px;">
		<label for="password" class="col-lg-2 control-label">Пароль</label>
		<div class="col-lg-4">
			<div class="input-group">
				<input type="text" name="password" value="<?php 
echo Helpers::form_prep(Input::old("password"));
?>
" class="form-control" id="password">
				<span class="input-group-btn">
					<button class="btn btn-default" type="button" title="Сгенерировать пароль" id="generatePassword">+</button>
				</span>
			</div>
		</div>
	</div>

	<div class="form-group">
		<label for="comment" class="col-lg-2 control-label">Комментарий</label>
		<div class="col-lg-10">
			<textarea name="comment" class="form-control" rows="8" style="resize:vertical;"><?php 
echo Input::old("comment");
?>
開發者ID:nix222,項目名稱:crm-system,代碼行數:31,代碼來源:add.php


注:本文中的Helpers::form_prep方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。