2804
правки
Изменения
Перейти к навигации
Перейти к поиску
→Легкая форма на сайт
This text is not collapsible; but the next is collapsible and hidden by default:
<div class="mw-collapsible-content">
<syntaxhighlight lang="html4strict"> <div id="nano_flght_form" style="display:none;"> <div id="test"></div> <div id="wrapper"> <div id="main"> <div class="title"> <h1>Поиск авиабилетов</h1> </div> <form name="search-form" id="search-form" method="POST" action="index.php?go=search/index"> <fieldset> <div class="box"> <div class="bg-t"> <div class="form-track"> <h2>Маршрут</h2> <div class="mtext"></div> <div class="row"> <input type="hidden" value="1" name="real_gogo"> <input type="radio" id="trip_type" name="trip_type" value="OW" checked>В одну сторону <input type="radio" id="trip_type" name="trip_type" value="RT">Туда и обратно </div> <div id="normal-selection"> <!-- Строка вылета --> <div class="row row-departure"> <!-- Вылет из --> <div class="col-airport"> <label>Вылет</label><span style="display: none; margin-left: 100px;" class="required error" id="out_search-error"></span> <div class="location_select"> <span class="hint"> <div id="span_out_search"></div> <input type="text" style="width: 100%; display: none;" class="loc ac_input" value="" id="out_search" name="out_search" check="" autocomplete="off"> </span> <div id="control_out_iata"> <input type="hidden" rel="{group:['OW', 'RT'], visitor:'prev_iata', id: 'out_search-error', required_error:'Обязательное поле'}" class="v-visitor v-required" value="" name="out_iata"> </div> </div> </div> <!-- Дата вылета --> <div class="col-date"> <label>Дата вылета</label> <div class="inp-hold"> <input type="text" rel="{group:['OW', 'RT'], pattern:/^[\d]{2}\.(0[1-9]|1[0-2])\.(19|20)[\d]{2}$/, date:{use_datepicker_limits: 1}, visitor: 'rt_prev_date', required_error:'Обязательное поле'}" maxlength="10" size="10" value="" id="departure_date" class="text v-date v-required v-visitor" name="departure_date"><span class="smbl_req"> * </span><span normal_error="" field="departure_date" id="departure_date-error" class="required error" style="display:none;"></span> </div> </div> <!-- Время вылета --> <div class="col-time"> <label>Время вылета</label> <span class="hint"> <select rel="{group:['RT'], visitor: 'rt_daytime'}" class="v-prefered v-required v-visitor" id="prefered_departure_type" name="prefered_departure_type"> <option selected="" value="not_important">в любое время </option> <option value="morning">утром </option> <option value="afternoon">днем </option> <option value="evening">вечером </option> <option value="night">ночью </option> </select> </span> <span normal_error="" field="prefered_departure_type" id="prefered_departure_type-error" class="error"></span> </div> </div> <div class="arrows arrow_ow" id="arrows"></div> <!-- Строка прилета (обратного вылета) --> <div class="row row-arrival"> <!-- Пункт прилета --> <div class="col-airport"> <label>Прилет </label><span style="display: none; margin-left: 100px;" class="required error" id="in_search-error"></span> <div class="location_select"> <span class="hint"> <div id="span_in_search"></div> <input type="text" style="display: none;" class="loc ac_input" size="40" rel="{group:['OW','RT'], visitor:'prev_iata'}" value="" id="in_search" name="in_search" check="" autocomplete="off"> </span> <div id="control_in_iata"> <input type="text" rel="{group:['OW','RT'], visitor:'prev_iata', id: 'in_search-error', required_error:'Обязательное поле'}" style="display: none;" class="v-visitor v-required" value="" name="in_iata"> </div> </div> </div> <!-- Дата обратного вылета --> <div style="display: none;" id="control_back_departure_date" class="col-date"> <label>Обратный вылет</label> <div class="inp-hold"> <input type="text" rel="{group:['RT'], pattern:/^[\d]{2}\.(0[1-9]|1[0-2])\.(19|20)[\d]{2}$/, date:{use_datepicker_limits: 1}, visitor: 'rt_prev_date', required_error:'Обязательное поле'}" maxlength="10" size="10" value="" id="back_departure_date" class="text datepick v-date v-required v-visitor" name="back_departure_date"><span class="smbl_req"> * </span><span normal_error="" field="back_departure_date" id="back_departure_date-error" class="required error"></span> </div> </div> <!-- Время обратного вылета --> <div style="display: none;" id="prefered_back_departure_type" class="col-time"> <label>Время вылета обратно</label> <select rel="{group:['RT'], visitor: 'rt_daytime'}" class=" v-prefered v-visitor" name="prefered_back_departure_type"> <option value="not_important">в любое время </option> <option value="morning">утром </option> <option value="afternoon">днем </option> <option value="evening">вечером </option> <option value="night">ночью </option> </select> </div> </div> <!-- Доп. параметры в осн. блоке --> <div class="row row4"> <!-- Поиск только прямых рейсов --> <div class="che-hold"> <input type="checkbox" id="direct" name="direct" value="true"> </div> <label for="direct">Без пересадок</label> <!-- Поиск только LOWCost --> </div> </div> </div> </div> </div> <div class="box-bottom"> </div> <div class="box box2"> <div class="bg-t"> <div class="bg-b"> <div class="form-track"> <h2>Пассажиры</h2> <div class="row row2"> <div class="passenger"> <label class="lab1 ts_adults_label">взрослых <span class="psngr_age"><br> 12 лет</span></label> <select rel="{group:['OW', 'RT', 'CR'], visitor:'people', id:'people_error'}" class="v-visitor select3" name="adults"> <option selected="" value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> </div> <div class="passenger"> <label class="ts_chd_label">детей <span class="psngr_age"><br>от 2 до 12 лет</span></label> <select rel="{group:['OW', 'RT', 'CR'], visitor:'people', id:'people_error'}" class="v-visitor select3" name="children"> <option selected="" value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> </div> <div class="passenger"> <label class="ts_inf_label">младенцев <span class="psngr_age"><br>до 2 лет</span></label> <select rel="{group:['OW', 'RT', 'CR'], visitor:'people', id:'people_error'}" class="v-visitor select3" name="infants"> <option selected="" value="0">0</option> <option value="1">1</option> </select> </div> <div class="passenger"> <label class="ts_infseat_label">младенцев с местом <span class="psngr_age"><br>до 2 лет</span></label> <select rel="{group:['OW', 'RT', 'CR'], visitor:'people', id:'people_error'}" class="v-visitor select3" name="infants_seat"> <option selected="" value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> </div> <span normal_error="" field="adults" id="people_error" class="required error"></span> </div> </div> </div> </div> </div> <div class="buttons holder"> <input type="submit" class="linkbutton btn-search" value="Поиск" name="gogo" id="submit_click"> <input type="button" class="linkbutton btn-search" value="Расширенный поиск" name="advanced" href="" id="advanced_link" style="float: right;"> <input type="button" value="очистить" class="btn btn-clear search_btn_clear linkbutton" name="clear" id="clear_button"> <span class="search-form-err" id="search-form-static-error"></span><br> <span class="search-form-err" id="search-form-error" style="display: none;"></span> <div class="clear"></div> </div> <input type="hidden" value="" id="input_vendors" name="input_vendors"> <input type="hidden" value="1" id="advanced_count" name="advanced_count"> <div class="clear"></div> <div style="display: none;" id="ChildrenWarn"> <span>Путешествие детей без взрослых может быть запрещено <br> <a id="read-children-warn" href="javascript:void(null);">Я принимаю условия</a> </span> </div> </fieldset> </form> </div> </div></div></syntaxhighlight>
</div>
</div>