示例#1
0
?>

            </div>

            <div class="text_menu">

                <div class="map-container">
                    <div id="map-canvas"></div>
                </div>
                <div id="map_main_wrapper">



                    <!-- <div class="main-view-upper-menu">
                    <?php 
$menu_array = Dispatcher::main_get_pages_info("nojson", $lang);
for ($i = 0; $i < count($menu_array); $i++) {
    ?>
                                                                                                                                                                    <button onclick="get_page_modal_text_info(<?php 
    echo $i;
    ?>
, '<?php 
    echo $menu_array[$i]['page_title_low'];
    ?>
');" 
                                                                                                                                                                            id="main_view_<?php 
    echo $menu_array[$i]['page_title_low'];
    ?>
" 
                                                                                                                                                                            data-toggle='modal' 
                                                                                                                                                                            class="main-view-menu-item"
示例#2
0
    $reserve_type = $_POST['reserve_type'];
    $data_action = $_POST['data_action'];
    Dispatcher::booking_compare_hours($from, $to, $type, $during_type, $reserve_type, $data_action);
}
if ($action == 'booking_remove_instructor') {
    $id = $_POST['id'];
    Dispatcher::booking_remove_instructor($id);
}
if ($action == 'booking_create_reservation') {
    $post = $_POST;
    Dispatcher::booking_create_reservation($post);
}
if ($action == 'booking_change_instructor') {
    $post = $_POST;
    Dispatcher::booking_change_instructor($post);
}
if ($action == 'main_get_pages_info') {
    $response_type = $_POST['response_type'];
    Dispatcher::main_get_pages_info($response_type, $language);
}
if ($action == 'main_edit_page_popup') {
    $title = $_POST['title'];
    $subtitle = $_POST['subtitle'];
    $content = $_POST['content'];
    $text_id = $_POST['text_id'];
    Dispatcher::main_edit_page_popup($text_id, $title, $subtitle, $content, $language);
}
if ($action == 'booking_get_choosen_places') {
    $date = $_POST['date'];
    Dispatcher::booking_get_choosen_places($date);
}