Location: PHPKode > projects > Modular Railroad Asset/Meeting Mgmt > fredl-2-1-9-Release/direct.php
     * FREMO Asset Management
     * Module: direct.php
     * Description: Redirect to links to have short links without parameters
     * Created: 7/2005

     if (isset($_GET['to'])) $to=$_GET['to'];
     else if (isset($_GET['from'])) $to=$_GET['from'];
     else $to="default";

     function getLink($selector)
     	switch ($selector)
		case "fremo160":
		      print 'calendar/calendar.php?public&noCalendar&longEventList&backuri=http://de.groups.yahoo.com/group/fremo160';
		case 'default':
		      return "login.php";
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<meta name="author" content="djahnke">
<body text="#000000" bgcolor="#ffffff" onLoad="this.location.href='<?php getLink($to);?>';">
<p>Willkommen bei FREDL. Diese seite leitet automatisch zur Anmeldung weiter -- falls nicht, dann 
<a href="<?php getLink($to);?>">klicke bitte hier.</a></p>

Return current item: Modular Railroad Asset/Meeting Mgmt