<?php $_POST['filter'] = "all"; $instagram_photos = MainController::getInstaPhotos(); $size = count($instagram_photos); ?> <div class="modal fade" id="instagram_popup" role="dialog" data-backdrop="static" aria-labelledby="instagram_popup" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="global-close" data-dismiss="modal" aria-hidden="true">×</button> <!--<div class="modal-title">INSTAGRAM</div>--> </div> <div class="modal-body"> <div id="contacts-container"> <div class="tab-contents"> <div class="tours-contents-title"> <?php echo $instagram_popup_text['title']; ?> </div> </div> <div class="tab-contents-subtitle"> <?php echo $instagram_popup_text['subtitle']; ?> </div> </div>
if ($action == 'add_instagram_photo') { MainController::add_instagram_photo(); $_POST['filter'] = "all"; instagramView(MainController::getInstaPhotos(), "admin"); } if ($action == 'showMoreInstaPhotos') { $_POST['filter'] = "all"; instagramView(MainController::showMoreInstaPhotos(), "admin"); } if ($action == 'checkedInstaDirFilter') { instagramView(MainController::getInstaPhotos(), "user"); } if ($action == 'removeInstaPhoto') { MainController::removeInstaPhoto(); $_POST['filter'] = "all"; instagramView(MainController::getInstaPhotos(), "admin"); } if ($action == 'editInstaPopupInfo') { MainController::editPopupInfo($_POST['language'], "instagram"); } if ($action == 'createResrvationByAdmin') { reservationController::createResrvationByAdmin(); } if ($action == 'booking_deleteClientReservation') { reservationController::deleteClientReservation(); clientsTable(CalendarController::getDateHoursReservations()); } if ($action == 'booking_deleteClientHoursReservation') { reservationController::booking_deleteClientHoursReservation(); } if ($action == 'booking_change_day_state') {