global $st_code, $lan, $st_name;
require_once("engine/yt_sql.php");
if(!isset($_GET['titleval']) || !isset($_GET['titleval'][0]) ) {
if(isset($st_name)) {
$_GET['titleval'][0]=pretty_name($st_name, '-');
}
else {
$conn = sqlGetGlobalConnection();
$data = sqlGetStationData($st_code, $conn);
$_GET['titleval'][0]=pretty_name($data[0]['STNAME'], '-');
}
}
?>
Расписание по станции [0] на сайте Poezda.net
global $st_code, $forDate, $lan, $action;
$conn = sqlGetGlobalConnection();
$data = sqlGetStationData($st_code, $conn);
$tzArr = getStationTime($data[0]["STCODE"]);
?>
if($lan =="ru" and $action!="station_timetable_print") {
echo "
";
//include('yandex_poezda.php');
include('./yandex/yandex-cop-st.php');
echo "
";
}
?>
global $action;
// Get link to go back
$n = strpos($action, '_print');
if($n) {
$new_act = substr($action, 0, $n);
} else {
$new_act = $action;
}
?>