Главное меню:
Партнеры сайта:
Твой Поезд расписание поездов по СНГ


".$pageHeader.""; // ====== sorting block ====== if($sortorder == "desc") { $SetOrderWay = "desc"; $NextOrder = "asc";} if($sortorder == "asc") { $SetOrderWay = "asc"; $NextOrder = "desc";} if($sortorder == "") { $SetOrderWay = "asc"; $NextOrder = "desc";} // ----- set field of order ---- $SetIMGnum = "";$SetIMGroute = "";$SetIMGtime_dep = ""; $SetIMGtime_arr = ""; $SetIMGfinish = ""; $SetIMGdays = ""; $SetIMGnumer = ""; if($setorder == "") { $setorder = "prib";} if($setorder == "num") { $SetMyOrder = "nn"; $SetIMGnum = "$altSort";} if($setorder == "prib") { $SetMyOrder = "time_arr";$SetIMGprib = "$altSort";} if($setorder == "vidpr") { $SetMyOrder = "time_dep";$SetIMGvidpr = "$altSort";} if($setorder == "kolia") { $SetMyOrder = "koliya";$SetIMGkolia = "$altSort";} if($setorder == "peron") { $SetMyOrder = "platforma";$SetIMGperon = "$altSort";} if($setorder == "spol") { $SetMyOrder = "spoluchenia";$SetIMGspol = "$altSort";} if($setorder == "route") { $SetMyOrder = "marshrut";$SetIMGroute = "$altSort";} if($setorder == "finish") { $SetMyOrder = "pributya";$SetIMfinish = "$altSort";} if($setorder == "kurs") { $SetMyOrder = "period";$SetIMGkurs = "$altSort";} if($setorder == "prim") { $SetMyOrder = "vagon";$SetIMGprim = "$altSort";} // ====== end of sort order ====== require ("accessr.php3"); mysql_connect($db_server,$user,$pwd) or die("No connect"); $query="select * from timetable where direction='west' order by $SetMyOrder $SetOrderWay"; //echo "==".$query; $res=mysql($db, $query); $numr=mysql_numrows($res); //echo "=======".$numr; echo "
"; if($lan == "ru" or $lan == "") { echo ""; } if($lan == "ua") { echo ""; } $row=0; for($i=0; $i"; $row = 1;} else { echo ""; $row = 0;} echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
Номер$SetIMGnum Приб.$SetIMGprib Отпр.$SetIMGvidpr Стоянка$SetIMGkolia Сообщение$SetIMGspol Периодичность$SetIMGkurs Нумерация с$SetIMGprim
Номер$SetIMGnum Приб.$SetIMGprib Відпр.$SetIMGvidpr Зупинка$SetIMGperon Сполучення$SetIMGspol Курсування$SetIMGkurs Нумерація з$SetIMGprim
".mysql_result($res,$i,"nn").""; if( mysql_result($res,$i,"time_arr") == "00:00:00") { echo "--";} else { echo substr(mysql_result($res,$i,"time_arr"),0,5);} echo "".substr(mysql_result($res,$i,"time_dep"),0,5)."".substr(mysql_result($res,$i,"koliya"),0,5)."".mysql_result($res,$i,"spoluchenia")."".mysql_result($res,$i,"period")."".mysql_result($res,$i,"comments")."
"; echo "
"; ?>


При поддержке ТОВ Нексус, сайт создан: 23.03.99, автор: Сергей Кибиткин


Rambler's Top100 Rambler's Top100