示例#1
0
        ?>
"><?php 
        echo _e('Go Featured!');
        ?>
</a>
						<?php 
    }
    ?>
					</div>
			<?php 
}
?>

			<div class="col-md-12">
			<?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'myads', 'action' => 'update', 'id' => $ad->id_ad)), array('class' => 'form-horizontal edit_ad_form', 'enctype' => 'multipart/form-data'));
?>
				<fieldset class="pad_10 ">
					
					<!-- START TITLE -->
					<div class="form-group">
						<div class="col-xs-12">
							<?php 
echo FORM::label('title', _e('Title'), array('class' => '', 'for' => 'title'));
?>
							<?php 
echo FORM::input('title', $ad->title, array('placeholder' => __('Title'), 'class' => 'form-control', 'id' => 'title', 'required'));
?>
						</div>
					</div>
					<!-- END TITLE -->
示例#2
0
<?php

defined('SYSPATH') or die('No direct script access.');
?>
<div class="page-header">
	<h1><?php 
echo __('Publish new advertisement');
?>
</h1>
</div>
<div class="well">
	<?php 
echo FORM::open(Route::url('post_new', array('controller' => 'new', 'action' => 'index')), array('class' => 'form-horizontal post_new', 'id' => 'publish-new', 'enctype' => 'multipart/form-data'));
?>
		<fieldset>
			<div class="form-group">
				<div class="col-md-8">
					<?php 
echo FORM::label('title', __('Title'), array('for' => 'title'));
?>
					<?php 
echo FORM::input('title', Request::current()->post('title'), array('placeholder' => __('Title'), 'class' => 'form-control', 'id' => 'title', 'required'));
?>
				</div>
			</div>
			
			<!-- category select -->
			<div class="form-group">
				<div class="col-md-12">
					<?php 
echo FORM::label('category', __('Category'), array('for' => 'category'));
示例#3
0
defined('SYSPATH') or die('No direct script access.');
?>

<div class="row">
    <div class="col-md-8">
        <div class="panel panel-default">
            <div class="panel-heading" id="page-edit-profile">
                <h3 class="panel-title"><?php 
echo __('Edit Profile');
?>
</h3>
            </div>
            <div class="panel-body">
                <?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'profile', 'action' => 'edit')), array('class' => 'form-horizontal', 'enctype' => 'multipart/form-data'));
?>
                    <div class="form-group">
                        <?php 
echo FORM::label('name', __('Name'), array('class' => 'col-md-4 control-label', 'for' => 'name'));
?>
                        <div class="col-md-8">
                            <?php 
echo FORM::input('name', $user->name, array('class' => 'form-control', 'id' => 'name', 'required', 'placeholder' => __('Name')));
?>
                        </div>
                    </div>
                    <div class="form-group">
                        <?php 
echo FORM::label('email', __('Email'), array('class' => 'col-md-4 control-label', 'for' => 'email'));
?>
示例#4
0
<?php

defined('SYSPATH') or die('No direct script access.');
echo View::factory('backend/navigation/user_edit')->set('current_url', Request::current()->url())->set('user_id', $user_id)->render();
echo FORM::open(Request::current()->uri() . Request::current()->query('edit'), array('autocomplete' => 'off', 'class' => 'form-horizontal'));
?>
<fieldset>
	<legend><?php 
echo $title;
?>
</legend>
	<div class="control-group">
		<label class="control-label">Имя пользователя</label>

		<div class="controls">
			<?php 
echo FORM::input('username', Arr::get($values, 'username'));
?>
			<p class="help-block" style="color: red;"><?php 
echo Arr::get($errors, 'username');
?>
</p>
		</div>

	</div>
	<div class="control-group">
		<label class="control-label">Email</label>

		<div class="controls">
			<?php 
echo FORM::input('email', Arr::get($values, 'email'));
示例#5
0
<?php

defined('SYSPATH') or die('No direct script access.');
echo FORM::open('search', array('method' => 'get', 'class' => 'search-form'));
?>

    <?php 
echo FORM::input('str', Arr::get($values, 'str'));
?>
    <?php 
echo FORM::hidden('search_type', Arr::get($values, 'search_type'));
?>
    <button name="submit" class="submit">Искать  <span class="search-preloader"><img src="/assets/img/search_button_preloader.gif" alt="Искать" /></span></button>

    <div class="tip">Запросы можно вводить через запятую, например Москва, Ауди, Тюнинг</div>
    <div class="form-errors">
        <?php 
foreach ($errors as $error) {
    echo '<div class="error">' . $error . '</div>';
}
?>
    </div>

    <div class="result">
        <?php 
echo $result;
?>
    </div>
<?php 
echo FORM::close();
defined('SYSPATH') or die('No direct script access.');
?>

<?if ($widget->text_title!=''):?>
    <div class="panel-heading">
        <h3 class="panel-title"><?php 
echo $widget->text_title;
?>
</h3>
    </div>
<?endif?>

<div class="panel-body">
    <?php 
echo FORM::open(Route::url('search'), array('class' => 'form-horizontal', 'method' => 'GET', 'action' => '', 'enctype' => 'multipart/form-data'));
?>
        <!-- if categories on show selector of categories -->
        <div class="form-group">
            <div class="col-xs-12">  
                <?php 
echo FORM::label('advertisement', __('Advertisement Title'), array('class' => '', 'for' => 'title'));
?>
                <input type="text" id="title" name="title" class="form-control" value="" placeholder="<?php 
echo __('Search');
?>
">
            </div>
        </div>
        
        <?if($widget->advanced != FALSE):?>
示例#7
0
echo Theme::get('sidebar_position') == 'left' ? 'pull-right' : 'pull-left';
?>
">
				<div class="page-header">
					<h3><?php 
echo __('Contact Us');
?>
</h3>
				</div>
				
				<?php 
echo Form::errors();
?>

				<?php 
echo FORM::open(Route::url('contact'), array('class' => '', 'enctype' => 'multipart/form-data'));
?>
				<fieldset class="pad_10">
			
				<?php 
if (!Auth::instance()->logged_in()) {
    ?>
				<!-- NOT LOGGED IN SO GET NAME AND EMAIL -->
					<dl class="form-group">
						<dt><?php 
    echo FORM::label('name', __('Name'), array('class' => 'control-label', 'for' => 'name'));
    ?>
</dt>
						<dd><?php 
    echo FORM::input('name', Core::request('name'), array('placeholder' => __('Name'), 'class' => 'form-control', 'id' => 'name', 'required'));
    ?>
<?php

defined('SYSPATH') or die('No direct script access.');
echo Form::errors();
?>
<div class="well recomentadion clearfix">
    <h1><?php 
echo _e('Search');
?>
</h1>
    <?php 
echo FORM::open(Route::url('search'), array('class' => 'form-inline', 'method' => 'GET', 'action' => ''));
?>
        <fieldset>
         
                <div class="form-group">
                <?php 
echo FORM::label('advertisement', _e('Advertisement Title'), array('class' => '', 'for' => 'advertisement'));
?>
                <div class="control mr-30">
                    <input type="text" id="title" name="title" class="form-control" value="<?php 
echo core::get('title');
?>
" placeholder="<?php 
echo __('Title');
?>
">
                </div>
                </div>

                <?php 
示例#9
0
    if (isset($_POST['mobile_phone']) and strlen($_POST['mobile_phone']) > 0) {
        if ($curl = curl_init()) {
            curl_setopt($curl, CURLOPT_URL, 'http://w.qiwi.ru/setInetBill.do?from=9492&to=' . $mobile_phone . '&summ=' . $total_cost . '&com=' . $course_name . '&lifetime=96');
            curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
            $out = curl_exec($curl);
            //echo $out;
            echo $total_cost;
            curl_close($curl);
        }
    }
}
if (isset($fields['mobile_phone'])) {
    echo $fields['mobile_phone'];
}
defined('SYSPATH') or die('No direct script access.');
echo FORM::open();
function get_message_to_alert()
{
    $result['str'] = 'Привет Мир!';
    echo json_encode($result);
    return true;
}
?>

<?php 
if (isset($_POST['mobile_phone'])) {
    $mobile_phone = $_POST['mobile_phone'];
    $total_cost = 1000;
    echo 'Отправка тестового счета на номер: ' . $mobile_phone;
    if ($curl = curl_init()) {
        curl_setopt($curl, CURLOPT_URL, 'http://w.qiwi.ru/setInetBill.do?from=9492&to=' . $mobile_phone . '&summ=' . $total_cost . '&com=тестовый счет&lifetime=96');
示例#10
0
<?php

defined('SYSPATH') or die('No direct script access.');
?>
<h1 style="margin-bottom: 20px">Заполнение заявки на размещение рекламы</h1>
<?php 
echo FORM::open('cabinet/adv');
?>
<fieldset>
    <legend>Заголовок заявки</legend>
    <?php 
echo FORM::input('title', Arr::get($values, 'title'), array('class' => 's_inp', 'style' => 'width: 400px'));
?>
    <div class="form_error"><?php 
echo Message::show_once_error($errors, 'title');
?>
</div>
</fieldset>
<fieldset>
    <legend>Компания</legend>
    <?php 
echo FORM::select('service_id', $services, Arr::get($values, 'service_id'));
?>
    <div class="form_error"><?php 
echo Message::show_once_error($errors, 'service_id');
?>
</div>
</fieldset>
<div class="form_error"><?php 
echo Message::show_once_error($errors, 'text');
?>
示例#11
0
<?php

defined('SYSPATH') or die('No direct script access.');
?>
    <?php 
echo $reg_steps;
echo FORM::open('registration');
?>
    <div class="st_form">
        <ul>
            <li>
                <label class="lab" for="username"><?php 
echo __('f_username');
?>
</label>
                <?php 
echo Form::input('username', Arr::get($values, 'username'), array('class' => 's_inp', 'id' => 'username'));
?>
                <div class="form_error"><?php 
echo Message::show_once_error($errors, 'username');
?>
</div>
            </li>
            <li>
                <label class="lab"><?php 
echo __('f_password');
?>
</label>
                <?php 
echo Form::password('password', NULL, array('class' => 's_inp', 'id' => 'form_password', 'data-typetoggle' => '#reg_pass_view'));
?>
<?php 
if ($widget->text_title != '') {
    ?>
    <div class="panel-heading">
        <h3 class="panel-title"><?php 
    echo $widget->text_title;
    ?>
</h3>
    </div>
<?php 
}
?>

<div class="panel-body">
    <?php 
echo FORM::open(Route::url('profiles'), array('class' => 'form-horizontal', 'method' => 'GET', 'action' => ''));
?>
        <!-- if categories on show selector of categories -->
        <div class="form-group">
            <div class="col-xs-12">  
                <?php 
echo FORM::label('search', __('Search'), array('class' => '', 'for' => 'search'));
?>
                <input type="text" id="search" name="search" class="form-control" value="" placeholder="<?php 
echo __('Search');
?>
">
            </div>
        </div>
        
        <?php 
示例#13
0
 public static function open($action = NULL, array $attributes = NULL, array $values = array(), array $errors = array())
 {
     self::$_values = $values;
     self::$_errors = $errors;
     return FORM::open($action, $attributes);
 }
示例#14
0
</button>
						<?php 
}
?>
						<div id="contact-modal" class="modal fade">
							<div class="modal-dialog">
								<div class="modal-content">
									<div class="modal-header">
										 <a class="close" data-dismiss="modal" aria-hidden="true">&times;</a>
										<h3><?php 
echo _e('Contact');
?>
</h3>
									</div>
									<?php 
echo FORM::open(Route::url('default', array('controller' => 'contact', 'action' => 'userprofile_contact', 'id' => $user->id_user)), array('class' => 'clean_form', 'enctype' => 'multipart/form-data'));
?>
									<div class="modal-body">
										<?php 
echo Form::errors();
?>
											<fieldset>
												<?php 
if (!Auth::instance()->get_user()) {
    ?>
													<dl class="form-group">
														<dt><?php 
    echo FORM::label('name', _e('Name'), array('class' => 'control-label', 'for' => 'name'));
    ?>
</dt>
														<dd><?php 
示例#15
0
?>
: <a href="https://cdn.rawgit.com/open-classifieds/openclassifieds2/master/install/samples/import/categories.csv"><?php 
echo __('download example');
?>
.</a><br>
                    <?php 
echo __('Locations');
?>
: <a href="https://cdn.rawgit.com/open-classifieds/openclassifieds2/master/install/samples/import/locations.csv"><?php 
echo __('download example');
?>
.</a>
                </p>
                <hr>
                <?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'tools', 'action' => 'import_tool')), array('class' => '', 'enctype' => 'multipart/form-data'));
?>
                    <div class="form-group">
                        <label for=""> <?php 
echo __('import Categories');
?>
</label>
                        <input type="file" name="csv_file_categories" id="csv_file_categories" class="form-control"/>
                    </div>
                    <div class="form-group">
                        <label for=""><?php 
echo __('import Locations');
?>
</label>
                        <input type="file" name="csv_file_locations" id="csv_file_locations" class="form-control"/>
                    </div>
示例#16
0
echo __('New');
?>
">
    <?php 
echo __('New');
?>
</a>
<div class="page-header">
    <h1><?php 
echo Controller_Panel_Content::translate_type($type);
?>
</h1>
</div>

<?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'content', 'action' => 'list')), array('method' => 'GET', 'class' => 'form-horizontal', 'id' => 'locale_form', 'enctype' => 'multipart/form-data'));
?>
    <div class="form-group">

        <div class="col-sm-4">
            <?php 
echo FORM::label('locale', __('Locale'), array('class' => 'control-label', 'for' => 'locale'));
?>
            <?php 
echo FORM::select('locale_select', $locale_list, $locale);
?>
 
        </div>
        <div class="col-sm-4">
            <?php 
echo FORM::hidden('type', $type);
示例#17
0
                                </div>
                            </div>
                        <?php 
echo FORM::close();
?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="delete-all" tabindex="-1" role="dialog" aria-labelledby="deleteCategories" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'category', 'action' => 'delete_all'), array('class' => 'form-horizontal', 'role' => 'form')));
?>
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times-circle"></i></button>
                    <h4 id="deleteCategories" class="modal-title"><?php 
echo __('Are you sure you want to delete all the categories?');
?>
</h4>
                </div>
                <div class="modal-body">
                    <div class="alert alert-danger">
                        <p><?php 
echo __('We will move all the ads to home category.');
?>
 <?php 
echo __('This is permanent! No backups, no restores, no magic undo button. We warned you, ok?');
示例#18
0
<?php

defined('SYSPATH') or die('No direct script access.');
echo Message::show_errors($errors);
echo FORM::open($url);
?>

<fieldset style="width: 450px">
    <legend>Параметры уведомления</legend>
    <div class="clearfix">
        <label for="title">Заголовок</label>
        <div class="input">
            <?php 
echo FORM::input('title', Arr::get($values, 'title'), array('id' => 'title', 'class' => 'span5'));
?>
        </div>
    </div>
</fieldset>
<h3>Текст уведомления</h3>
<div class="clearfix">
    <?php 
echo FORM::textarea('text', Arr::get($values, 'text'), array('id' => 'text'));
?>
</div>
<?php 
echo FORM::submit(NULL, 'Сохранить', array('class' => 'btn large success'));
echo FORM::close();
示例#19
0
<?php

defined('SYSPATH') or die('No direct script access.');
?>


<h1 class="page-header page-title"><?php 
echo __('Update Topic');
?>
</h1>
<hr>

<div class="panel panel-default">
    <div class="panel-body">
        <?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'topic', 'action' => 'update', 'id' => $topic->id_post)), array('class' => 'form-horizontal', 'enctype' => 'multipart/form-data'));
?>
            	<fieldset>
                <div class="form-group">
                    <?php 
echo FORM::label('title', __('Title'), array('class' => 'col-md-3 control-label', 'for' => 'title'));
?>
                    <div class="col-md-5">
                        <?php 
echo FORM::input('title', $topic->title, array('placeholder' => __('Title'), 'class' => '', 'id' => 'title', 'required'));
?>
                    </div>
                </div>
    
                <div class="form-group">
                    <?php 
示例#20
0
<?php

defined('SYSPATH') or die('No direct script access.');
$selected_services = Arr::get($values, 'service', array());
$selected_services_city = Arr::get($values, 'service_city', array());
//echo Debug::vars(Arr::get($debug, 'new'));
echo FORM::open($url, array('class' => 'form-horizontal'));
if (Request::current()->action() == 'edit') {
    ?>
        <p style="font-size: 14px; font-weight: bold;">Внимание, при редактировании уведомление будет иметь статус непрочитанного у тех кто прочел</p>
<?php 
}
?>

<h3></h3>
<fieldset>
    <legend>Параметры уведомления</legend>
	<div class="control-group">
        <label class="control-label">Город</label>
        <div class="controls">
            <select id="services_city" multiple="multiple" name="services_city[]" style="width: 400px;">
                <?php 
foreach ($city_list as $city_id => $value) {
    ?>
                    <?php 
    $attr = in_array($city_id, $selected_services_city) ? array('selected' => 'selected') : array();
    ?>
                    <option <?php 
    echo HTML::attributes($attr);
    ?>
 value="<?php 
示例#21
0
echo Text::ucfirst(__($name));
?>
</h1>
</div>
<div class="row">
    <div class="col-md-6">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title"><?php 
echo __('Location details');
?>
</h3>
            </div>
            <div class="panel-body">
                <?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'location', 'action' => 'create')), array('class' => 'form-horizontal', 'enctype' => 'multipart/form-data'));
?>
                    <fieldset>
                        <div class="form-group">
                            <div class="col-sm-12">
                                <?php 
echo FORM::label('name', __('Name'), array('class' => 'control-label', 'for' => 'name'));
?>
                                <?php 
echo FORM::input('name', core::request('name'), array('placeholder' => __('Name'), 'class' => 'form-control', 'id' => 'name', 'required'));
?>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-12">
                                <?php 
示例#22
0
<?php

defined('SYSPATH') or die('No direct script access.');
echo FORM::open($url, array('autocomplete' => 'off'));
?>
<fieldset>
    <legend>Параметры пользователя</legend>
    <table>
        <tr>
            <td style="width: 200px;"><?php 
echo __('f_username');
?>
</td>
            <td><?php 
echo FORM::input('username', Arr::get($values, 'username'));
?>
</td>
            <td><?php 
echo Message::show_once_error($errors, 'username');
?>
</td>
        </tr>
        <tr>
            <td><?php 
echo __('f_password');
?>
</td>
            <td>
                <?php 
echo Form::password('password', NULL, array('class' => 's_inp', 'id' => 'form_password', 'data-typetoggle' => '#reg_pass_view'));
?>
示例#23
0
<?php

defined('SYSPATH') or die('No direct script access.');
$from_url = !isset($from_url) ? '#' : $from_url;
echo FORM::open(Request::current()->url());
?>
<div class="alert alert-block alert-error fade in">
    <?php 
echo HTML::anchor($from_url, '&times;', array('class' => 'close'));
?>
    <h4 class="alert-heading"><?php 
echo @$title;
?>
</h4>
    <p><?php 
echo $text;
?>
</p>
    <p>
        <?php 
echo FORM::submit('submit', 'Удалить', array('class' => 'btn btn-danger small')) . ' ' . FORM::submit('cancel', 'Отмена', array('class' => 'btn small'));
?>
    </p>
</div>
<?php 
echo FORM::close();
?>

示例#24
0
<?php

defined('SYSPATH') or die('No direct script access.');
if ($view_results) {
    $service->reset(FALSE);
}
/*
$service->reset(FALSE);
$news_portal->reset(FALSE);
$news_service->reset(FALSE);
$review->reset(FALSE);
$stock->reset(FALSE);
$vacancy->reset(FALSE);
*/
$search_options = array('all' => __('f_option_all'), 'services' => __('f_option_services'), 'news' => __('f_option_news'), 'stotks' => __('f_option_stocks'), 'vacancies' => __('f_option_vacancies'));
echo FORM::open('search');
?>
<div class="search_form">
    <?php 
echo FORM::input('str', Arr::get($values, 'str'));
?>
    <?php 
echo FORM::select('search_type', $search_options, Arr::get($values, 'search_type'));
?>
    <?php 
echo FORM::submit(NULL, 'Искать', array('class' => 'submit'));
?>
    <div class="tip">Запросы можно вводить через запятую, например Москва, Ауди, Тюнинг</div>
    <div><?php 
echo Message::show_once_error($errors, 'str');
?>
示例#25
0
?>
</h1>
    <p><?php 
echo __('Email Setup and emails configuration values. Replace input fields with new desired values');
?>
</p>
    <p><?php 
echo sprintf(__('How to configure %s'), '<a href="http://docs.yclas.com/configure-elasticemail-open-classifieds/" target="_blank">ElasticEmail</a>');
?>
</p>
</div>

<div class="row">
    <div class="col-md-8">
        <?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'settings', 'action' => 'email')), array('class' => 'form-horizontal config', 'enctype' => 'multipart/form-data'));
?>
        <div class="panel panel-default">
            <div class="panel-body">
                <div class="form-horizontal">
                    <?foreach ($config as $c):?>
                        <?$forms[$c->config_key] = array('key'=>$c->config_key, 'value'=>$c->config_value)?>
                    <?endforeach?>
                    
                    <div class="form-group">
                        <?php 
echo FORM::label($forms['notify_email']['key'], __('Notify email'), array('class' => 'control-label col-sm-4', 'for' => $forms['notify_email']['key']));
?>
                        <div class="col-sm-8">
                            <?php 
echo FORM::input($forms['notify_email']['key'], $forms['notify_email']['value'], array('placeholder' => "*****@*****.**", 'class' => 'tips form-control', 'id' => $forms['notify_email']['key'], 'data-content' => __("Email from where we send the emails, also used for software communications."), 'data-trigger' => "hover", 'data-placement' => "right", 'data-toggle' => "popover", 'data-original-title' => __("Email From"), 'data-rule-email' => 'true'));
示例#26
0
<?php

defined('SYSPATH') or die('No direct script access.');
$selected_works = Arr::get($values, 'work', array());
$selected_cars = Arr::get($values, 'model', array());
//$values['work'][] = 24;
//$values['work'][] = 25;
echo $reg_steps;
echo Message::render();
echo FORM::open('registration/third');
$discounts = array('0' => 'нет') + $discounts;
?>
<div class="st_form">
    <ul>
        <?php 
$css_auto_works = '';
if ($type == 2) {
    $css_auto_works = 'style="display: none;"';
}
?>
        <li class="auto_models">
            <label for="auto_models" class="lab"><?php 
echo __('f_auto_models');
?>
</label>
            <select id="auto_models" multiple="multiple" name="model[]" style="width: 400px;">
            <?php 
foreach ($auto_models as $id => $name) {
    ?>
            <?php 
    $selected = '';
示例#27
0
<?php

defined('SYSPATH') or die('No direct script access.');
?>

<h3><?php 
echo $widget->text_title;
?>
</h3>
<?php 
echo FORM::open(Route::url('default', array('controller' => 'contact', 'action' => 'user_contact', 'id' => $widget->id_ad)), array('class' => 'form-horizontal ', 'enctype' => 'multipart/form-data'));
?>
	<fieldset>
		<div class="form-group">
			<div class="col-xs-10">
			<?php 
echo FORM::label('name', __('Name'), array('class' => 'control-label', 'for' => 'name'));
?>
				<?php 
echo FORM::input('name', '', array('placeholder' => __('Name'), 'class' => 'form-control', 'id' => 'name', 'required'));
?>
			</div>
		</div>
		<div class="form-group">
			<div class="col-xs-10">
			<?php 
echo FORM::label('email', __('Email'), array('class' => 'control-label', 'for' => 'email'));
?>
				<?php 
echo FORM::input('email', '', array('placeholder' => __('Email'), 'class' => 'form-control', 'id' => 'email', 'type' => 'email', 'required'));
?>
示例#28
0
<?php

defined('SYSPATH') or die('No direct script access.');
echo FORM::open(Request::current()->url(), array('class' => 'form-horizontal'));
?>
<fieldset>
    <legend><?php 
echo $title;
?>
</legend>
    <div class="control-group">
        <label class="control-label">Город</label>
        <div class="controls">
            <?php 
echo FORM::select('city_id', $cities, Arr::get($values, 'city_id'), array('class' => 'span5'));
?>
        </div>
        <span class="help-inline"><?php 
echo Arr::get($errors, 'city_id');
?>
</span>
    </div>
    <div class="control-group">
        <label for="name" class="control-label">Краткое название</label>
        <div class="controls">
            <?php 
echo FORM::input('name', Arr::get($values, 'name'), array('class' => 'span5'));
?>
            <span class="help-inline"><?php 
echo Arr::get($errors, 'name');
?>
示例#29
0
</li>
                <?php 
    }
    ?>


            <?php 
}
?>
            </ul>
        </div>
    </div>
    <div class="work_filter">
    <div class="title">Сортировка по услугам</div>
    <?php 
echo FORM::open('#') . FORM::hidden('city_id', $city_id, array('class' => 'city_id_search_by_car')) . FORM::hidden('car_id', $car_id, array('class' => 'car_id_search_by_car')) . FORM::hidden('district_id', $district_id, array('class' => 'district_id_search_by_car')) . FORM::hidden('metro_id', $metro_id, array('class' => 'metro_id_search_by_car')) . FORM::hidden('discount_id', $discount_id, array('class' => 'discount_id_search_by_car')) . FORM::close();
?>
    <?php 
foreach ($works as $category_name => $works) {
    ?>
        <?php 
    if (mb_strlen($category_name) > 45) {
        ?>
            <div class="category_open_short" title="<?php 
        echo $category_name;
        ?>
">
                <?php 
        echo Text::limit_chars($category_name, 45);
        ?>
            </div>
示例#30
0
echo ($location and $location->id_location > 1) ? $location->name . ' – ' : NULL;
?>
 <?php 
echo __('Import Locations');
?>
</h1>
</div>

<div class="row">
    <div class="col-md-7">
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <?php 
echo FORM::open(Route::url('oc-panel', array('controller' => 'location', 'action' => 'geonames'), 'http') . '?id_location=' . Core::get('id_location', 1), array('id' => 'auto_locations_form', 'class' => 'form-horizontal', 'role' => 'form', 'enctype' => 'multipart/form-data'));
?>
                            <div class="form-group" id="group-continent">
                                <label for="continent" class="col-sm-3 control-label" data-action="<?php 
echo __('Import continents');
?>
"><?php 
echo __('Continent');
?>
</label>
                                <div class="col-sm-8">
                                    <select name="continent" id="continent" onchange="getPlaces(this.value,'country');" class="disable-select2 form-control">
                                        <option value=""></option>
                                    </select>
                                </div>
                            </div>