本文整理汇总了PHP中VmHTML::location_city方法的典型用法代码示例。如果您正苦于以下问题:PHP VmHTML::location_city方法的具体用法?PHP VmHTML::location_city怎么用?PHP VmHTML::location_city使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类VmHTML
的用法示例。
在下文中一共展示了VmHTML::location_city方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: allowance
$js_content = TSMUtility::remove_string_javascript($js_content);
$doc->addScriptDeclaration($js_content);
?>
<div class="view-excursionaddon-edit">
<form action="index.php" method="post" class="form-vertical" name="adminForm" id="adminForm">
<div class="row-fluid">
<div class="span4">
<h3> Service name</h3>
</div>
<div class="span8">
<?php
echo VmHTML::input('excursion_addon_name', $this->item->excursion_addon_name, 'class="required" placeholder="excursion name" ');
?>
<br/>
<?php
echo VmHTML::location_city('tsmart_cityarea_id', $this->list_cityarea, $this->item->tsmart_cityarea_id, '', 'tsmart_cityarea_id', 'full_city');
?>
<h3>Edit term</h3>
<div class="row-fluid">
<div class="span12">
<?php
echo VmHTML::list_radio('excursion_payment_type', $this->list_excursion_payment_type, $this->item->excursion_payment_type);
?>
</div>
</div>
<div class="row-fluid">
<div class="span6">
<?php
echo VmHTML::row_control('select_from_to', 'Passenger allowance(Age to age)', 'passenger_age_from', 'passenger_age_to', $this->item->passenger_age_from, $this->item->passenger_age_to, 'class="required"');
?>
示例2:
<form action="index.php" method="post" class="form-vertical" name="edit_admin_form" id="edit_admin_form">
<div class="col50">
<div class="main-info">
<h3>Hotel detail</h3>
<div class="row-fluid">
<div class="span6">
<?php
echo VmHTML::input('hotel_name', $this->item->hotel_name, ' placeholder="hotel name" ');
?>
<?php
echo VmHTML::input('title', $this->item->star_rating, ' placeholder="Star rating"');
?>
<?php
echo VmHTML::location_city('tsmart_cityarea_id', $this->item->tsmart_cityarea_id, '');
?>
<?php
echo VmHTML::input('address', $this->item->address, ' placeholder="Address"');
?>
<?php
echo VmHTML::input('google_map', $this->item->google_map, ' placeholder="Google map"');
?>
<?php
echo VmHTML::input('add_photo', $this->item->add_photo, ' placeholder="Add photo"');
?>
</div>
<div class="span6">
<?php
echo VmHTML::input('tel_number', $this->item->tel_number, ' placeholder="Tell number"');
?>