コード例 #1
0
ファイル: route.php プロジェクト: buga1234/buga_segforours
    MainController::main_add_direction();
}
if ($action == "main_edit_direction") {
    MainController::main_edit_direction();
}
if ($action == "getDirInfo") {
    echo json_encode(MainController::getDirInfo());
}
if ($action == 'main_editToursPopup_text') {
    MainController::editPopupInfo($language, "tours");
}
if ($action == 'editStartPin') {
    MainController::editStartPin();
}
if ($action == 'getStartPoints') {
    echo json_encode(MainController::getStartPoints());
}
if ($action == 'booking_get_weekday_hours') {
    HoursController::getHours("", "Weekday", "set_timetable");
}
if ($action == 'get_date_hours') {
    HoursController::getHours("", "Date", "set_timetable");
}
if ($action == 'get_default_hours_for_adding') {
    $type = $_POST['type'];
    HoursController::getHours($type, "Default", "add");
}
if ($action == 'get_weekday_hours_for_adding') {
    $type = $_POST['type'];
    HoursController::getHours($type, "Weekday", "add");
}