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"])); if ($_GET["choose"] == "true") { //they just chose a video format $userdata->player = $_GET["player"]; $userdata->speed = $_GET["speed"]; setcookie("trvudata", urlencode(serialize($userdata)), time()+60*60*24*365, "/", ".trvuniversity.com", 0); } if ($_GET["reset"] == "true") $userdata->player = ""; //if ($userdata->studentname == "") {$error = "You are not authorized to view this page (TRV 101). "; include("/usr/sites/www.trvuniversity.com/error.html"); exit(0);} $moviedata = "players=1,0,0,0&speeds=0,1,1,1,0&heights=120,148,196,196,360"; $heights = array(120,144,192,192,360); $speeds = array(0, 1, 1, 1, 0); //check to ensure the user's speed setting is sane if ($userdata->speed == 600 && $speeds[4] == 0) $userdata->speed = 300; if ($userdata->speed == 300 && $speeds[3] == 0) $userdata->speed = 100; if ($userdata->speed == 100 && $speeds[2] == 0) $userdata->speed = 56; if ($userdata->speed == 56 && $speeds[1] == 0) $userdata->speed = 28; if ($userdata->player == "" || $userdata->speed == "") {header("Location: http://www.trvuniversity.com/movieselect.html?" . $moviedata . "&url=auditorium/tutoringsessionarchive_113005.html"); exit(0);} /* //this one's a freebie $myDB = new mysqlDB; $myDB->Connect("trvuniversity"); $studentID = getStudentID($userdata->studentname, $userdata->password); //1. are they enrolled in this course, and are they ok to view it? $myDB->Query("SELECT status, cstatus, UNIX_TIMESTAMP(enrolldate) AS enrolldate, UNIX_TIMESTAMP(expirydate) AS expirydate, UNIX_TIMESTAMP(completed) AS completed FROM training WHERE studentID = $studentID AND courseID = 1"); $row = $myDB->GetRow(); if (!$row) $error = "You are not authorized to view this page (TRV 101 -- User ID was not found). Please log in if you are a TRV University student."; switch ($row["status"]) { case 0: switch ($row["cstatus"]) { case 0: break; //OK case 1: break; //course completed case 2: $error = "You are not authorized to view this page (TRV 101). Error: Course Dropped"; break; case 3: $error = "You are not authorized to view this page (TRV 101). Error: Unknown"; break; case 4: break; //trial user (OK for week 1) } break; case 1: $error = "You are not authorized to view this page (TRV 101). Error: Authorization Needed"; break; //case 2: $error = "You are not authorized to view this page (TRV 101). Error: Course Expired"; break; case 3: $error = "You are not authorized to view this page (TRV 101). Error: Administrative Hold"; break; case 4: $error = "You are not authorized to view this page (TRV 101). Error: Usage Exceeded"; break; } if ($error != "") {include("/usr/sites/www.trvuniversity.com/error.html"); exit(0);} */ if ($userdata->speed == 28) { $mwidth = 160; if ($userdata->player == "flash") $mwidth=300; $mheight = $heights[0]; $sbuffer = 200; $theight = 140 + (120 - $mheight); $twidth = $mwidth + ($sbuffer * 2); } else if ($userdata->speed == 56) { $mwidth = 240; if ($userdata->player == "flash") $mwidth=300; $mheight = $heights[1]; $sbuffer = 200; $theight = 58 + (180 - $mheight); $twidth = $mwidth + ($sbuffer * 2); } else if ($userdata->speed == 100) { $mwidth = 320; $mheight = $heights[2]; $sbuffer = 200; $theight = 100; $twidth = $mwidth + ($sbuffer * 2); } else if ($userdata->speed == 300) { $mwidth = 320; $mheight = $heights[3]; $sbuffer = 200; $theight = 100; $twidth = $mwidth + ($sbuffer * 2); } else if ($userdata->speed == 600) { $mwidth = 480; $mheight = $heights[4]; $theight = 10; $twidth = $mwidth + ($sbuffer * 2); } ?> Technical Remote Viewing University: Remote Viewing Training Online
Quick Jump To Building:
Campus Overview Lecture Hall Administration
Laboratory Student Commons Auditorium
Library Bookstore Dormatories
Today is .
You are currently in: Auditorium - Archives
|  Enroll  |  Student Login  |  Training Forums  |  Live Chat  |  Student Account  |  Training Targets  |  News  |  Links  
TRV University Overview
TRV Video Archive

Your video is loading and should appear in the middle of the screen shortly. You may need to press the "play" button (shaped like a triangle) to start the movie.

If your video does not appear, you may not have the appropriate plug-in for that type of video installed. You may choose a different video format at any time by clicking the "change your default video settings" link beneath the video player area.

TRV University Tutoring Session Archive - November 30, 2005
player == "qtime") { $moviename = "http://www.trvuniversity.com/movies/public/livearchive/tutoring_113005_" . $userdata->speed . "k.mov"; echo ""; } if ($userdata->player == "real") { $moviename = "http://www.trvuniversity.com/getmovie.html?moviename=tutoring_113005_" . $userdata->speed . "k.rm&type=real&courseid=livearchive&studentname=" . $userdata->studentname . "&password=" . md5($userdata->password); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } if ($userdata->player == "wmv") { $moviename = "http://www.trvuniversity.com/getmovie.html?moviename=tutoring_113005_" . $userdata->speed . "k.wmv&type=wmv&courseid=livearchive&studentname=" . $userdata->studentname . "&password=" . md5($userdata->password); echo "\r\n"; echo "\r\n"; echo "\r\n"; echo "\r\n"; echo "\r\n\r\n"; } if ($userdata->player == "flash") { $moviename = "http://www.trvuniversity.com/movies/secure/trv101/flash/trv101_wk1_asn2_" . $userdata->speed . "k.swf"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "studentname . "&password=" . md5($userdata->password) ."\">"; echo "studentname . "&password=" . md5($userdata->password) . "\" width=\"$mwidth\" height=\"" . ($mheight + 72) . "\" name=\"trv101_wk1_asn2\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />"; echo ""; } ?>

Click here to change your default movie player settings.   Click here to return to the TRV University Auditorium.
All contents ©PSI TECH, Inc. All Rights Reserved. Contact webmaster@trvuniversity.com with questions or comments.