Ejemplo n.º 1
0
$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"');
?>
Ejemplo n.º 2
0
        <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"');
?>