Student S and Student T

View Song

In main.inc
function shn_hw_mainmenu {   global $global; global $conf; $module = $global['module'];

shn_mod_menuopen(_lc("Hello World")); shn_mod_menuitem("default","Home",$module); shn_mod_menuitem("song","Song",$module); shn_mod_menuclose;

/** Includes Handlers for the main menu */ include $global['approot']."/inc/handler_mainmenu.inc"; }

/** function shn_hw_song {   include_once ("song.inc"); }
 * This function is called when the user selects song from the menu.
 * It displays the page defined in song.inc.
 * @access public
 * @return void
 * @return void

/** function shn_hw_default {   include_once ("home.inc"); }
 * This function is called automatically when the HW module is
 * selected. It displays the default welcome page defined in home.inc.
 * @access public
 * @return void
 * @return void

In song.inc
"Make us a cup of tea", "second"=>"Who the hell are you?", "third"=>"Tutor three new students", "fourth"=>"Fabricate some data", "fifth"=>"TAKE an MSc", "sixth"=>"Plagiarise some papers", "seventh"=>"Go to Summer school", "eighth"=>"Get some bloody funding", "ninth"=>"No I have not read it", "tenth"=>"Wheres your bloody thesis", "eleventh"=>"Pull yourself together");

foreach($days as $day => $phrase) { print "On the {$day} day of research my professor said to me, {$phrase} "; }

?>