studentname = ""; $this->password = ""; $this->player = ""; $this->speed = ""; $this->mspeed = ""; } } function getStudentID($username, $pass) { $myDB = new mysqlDB; $myDB->Connect("trvuniversity"); $myDB->Query("SELECT studentID FROM login WHERE username = '$username' AND password = '$pass'"); $row = $myDB->GetRow(); return $row["studentID"]; } } $userdata = unserialize(urldecode($_COOKIE["trvudata"])); //fix the TRVU/Flash cookie if present if (isset($userdata) && $userdata->username != "") { $userdata2 = new TRVU_User; $userdata2->studentname = $userdata->username //trvu fix $userdata2->password = $userdata->pass; $userdata = $userdata2; } ; $myDB = new mysqlDB; $myDB->Connect("trvuniversity"); $studentID = getStudentID($userdata->studentname, $userdata->password); if (!$userdata->studentname) {$guestid = "Guest" . rand(11111, 99999);} else {$guestid = $userdata->studentname;} ?> PSI TECH Interactive Live Tutoring Session
Welcome to PSI TECH's Live Tutoring
     To the right, you will find the video window for the tutoring session. This video will be active from 15 minutes before the scheduled start time. If it does not start automatically, press the triangular 'Play' button to begin the video feed.

     Below, you will find the interface to the chat room, where you can enter questions, talk with other students, and see how many other people are watching the live webcast. The chat room requires Java to be installed, and may take a minute or more to log in.

     If the event is moderated, you will not be able to ask a question in the chat room until given voice status by a moderator. Once you have voice status, you can type a question and it will appear on everyone's screen. If you wish to change your name in the chat room, simply type /nick newname (where 'newname' is the name you wish to use) and then press enter.
This application requires Java suport.
This server also available via IRC at:
irc://trvuniversity.com:6667/