comparison index.php @ 16:ea9558465ad6

Add link to original data, fix left-over beta stuff.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 12 Jan 2011 01:09:41 +0200
parents 45987abe0d10
children 611452d30bd4
comparison
equal deleted inserted replaced
15:45987abe0d10 16:ea9558465ad6
5 $dataDir = "cache/"; 5 $dataDir = "cache/";
6 $classFile = "luokat.txt"; 6 $classFile = "luokat.txt";
7 $mapFile = "kartta.png"; 7 $mapFile = "kartta.png";
8 $roomFile = "luokkatilat.txt"; 8 $roomFile = "luokkatilat.txt";
9 $cacheFile = "coursecache.txt"; 9 $cacheFile = "coursecache.txt";
10 $baseURI = "http://tnsp.org/luk/beta.php"; 10 $baseURI = "http://tnsp.org/luk/";
11 $infoURI = "http://www.oamk.fi/opiskelijalle/rakenne/opinto-opas/koulutusohjelmat/?sivu=oj&kieli=FI&opas=2010-2011&vuosi=10S11K&koodi1="; 11 $infoURI = "http://www.oamk.fi/opiskelijalle/rakenne/opinto-opas/koulutusohjelmat/?sivu=oj&kieli=FI&opas=2010-2011&vuosi=10S11K&koodi1=";
12 $dayNames = array("Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai", "Sunnuntai"); 12 $dayNames = array("Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai", "Sunnuntai");
13 13
14 $hourStamps = array( 14 $hourStamps = array(
15 array( 8, 15), 15 array( 8, 15),
371 echo 371 echo
372 " </select>\n". 372 " </select>\n".
373 " </td>\n". 373 " </td>\n".
374 " <td><input type=\"submit\" value=\" Vaihda \" /></td>\n". 374 " <td><input type=\"submit\" value=\" Vaihda \" /></td>\n".
375 " <td>[<a href=\"".$baseURI."?luokka=".$luokka."&amp;nyt\">Mini-info moodi</a>]</td>\n". 375 " <td>[<a href=\"".$baseURI."?luokka=".$luokka."&amp;nyt\">Mini-info moodi</a>]</td>\n".
376 " <td>[<a href=\"http://www.oamk.fi/tyojarjestykset/otek/luokat/OR_".$luokka.".htm\">Alkuperäinen</a>]</td>\n".
376 " </tr>\n". 377 " </tr>\n".
377 " </table>\n". 378 " </table>\n".
378 "</form>\n"; 379 "</form>\n";
379 380
380 381