// Данная страница осуществляет редирект партненских форм поиска расписания, что // были установленны парнтерами до смены движка сайта //include_once("engine/check_input.php"); /* $type_search = showtextintags(stripQuotes($search)); // Type of search - prefix or contexts $station = showtextintags(stripQuotes($st_name)); // Station title $train = showtextintags(stripQuotes($tr_num)); // Train number $deaprture_st = showtextintags(stripQuotes($st_from)); $arrival_st = showtextintags(stripQuotes($st_to)); // Route search $transfer = showtextintags(stripQuotes($st_transfer)); // Transfer station */ $type_search = $search; // Type of search - prefix or contexts $station = $st_name; // Station title $train = $tr_num; // Train number $deaprture_st = $st_from; $arrival_st = $st_to; // Route search $transfer = $st_transfer; // Transfer station $dateDay = date("j"); $dateMonth = date("n"); $dateYear = date("Y"); // Station timetable If($st_name != "") { $mode = 1; $location = "timetable_detail_redirect"; $url = "http://www.poezda.net/en/redirect"; $url_pars = "?location=$location&mode=$mode&st_name=$station&dateDay=$dateDay&dateMonth=$dateMonth&dateYear=$dateYear"; } // Train timetable If($tr_num != "") { $mode = 2; $url = "http://www.poezda.net/en/timetable_detail"; $url_pars = "?mode=$mode&tr_num=$train&dateDay=$dateDay&dateMonth=$dateMonth&dateYear=$dateYear"; } // Route timetable If($st_from != "" and $st_to != "") { $mode = 3; $url = "http://www.poezda.net/en/timetable_detail"; $url_pars = "?mode=$mode&st_name=$station&dateDay=$dateDay&dateMonth=$dateMonth&dateYear=$dateYear&st_from=$deaprture_st&st_to=$arrival_st&st_transfer=$transfer"; } Header("Location: $url$url_pars"); ?>
Редирект старых форм поиска сайта ТвойПоезд