studentname = ""; $this->password = ""; } } class TRVU_Assignment { var $status; var $hits; var $attempts; } 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 ($userdata->studentname == "") {$error = "You are not authorized to view this page (TRV 306). "; include("/usr/sites/www.trvuniversity.com/error.html"); exit(0);} $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 = 306"); $row = $myDB->GetRow(); if ($row == false) {$error = "You are not authorized to view this page (TRV 306). "; include("/usr/sites/www.trvuniversity.com/error.html"); exit(0);} 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 306). Error: Course Dropped"; break; case 3: $error = "You are not authorized to view this page (TRV 306). 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 306). Error: Authorization Needed"; break; case 2: $error = "You are not authorized to view this page (TRV 306). Error: Course Expired"; break; case 3: $error = "You are not authorized to view this page (TRV 306). Error: Administrative Hold"; break; case 4: $error = "You are not authorized to view this page (TRV 306). Error: Usage Exceeded"; break; } if ($error != "") {include("/usr/sites/www.trvuniversity.com/error.html"); exit(0);} $now = time(); $timein = ceil(($now - $row["enrolldate"]) / 86400); $timeout = ceil(($row["expirydate"] - $now) / 86400); $completed = $row["completed"]; //2. get their assignment list $myDB->Query("SELECT * FROM assignments WHERE studentID = $studentID AND courseID = 306 ORDER BY weekID, objectiveID ASC"); $asns = array(); while ($row = $myDB->GetRow()) { $asns[$row["weekID"]][$row["objectiveID"]] = new TRVU_Assignment; $asns[$row["weekID"]][$row["objectiveID"]]->status = $row["status"]; $asns[$row["weekID"]][$row["objectiveID"]]->hits = $row["hits"]; $asns[$row["weekID"]][$row["objectiveID"]]->attempts = $row["attempts"]; } //3. get their name $myDB->Query("SELECT firstname, lastname FROM personal WHERE studentID = $studentID"); $row = $myDB->GetRow(); $name = $row["firstname"]; ?> 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: Lecture Hall - TRV 306
|  Enroll  |  Student Login  |  Training Forums  |  Live Chat  |  Student Account  |  Training Targets  |  News  |  Links  
TRV University Courses
Welcome to TRV University!

TRVU is the premiere training resource for remote viewing instruction.

TRV University Lecture Hall: TRV 306
Welcome back, !

   To continue your training, select the from the weeks below. Note that you cannot select a week until you have completed all previous weeks before it.

   Weeks you have finished will be marked as "Completed". Weeks you are still working on are marked "Current Week".

status == 0):?>
Week 1: Find Lost Objects. Week 1: Find Lost Objects. status == 0) echo ""; else echo ""; } ?>
   The TRV 306 - Find Lost Objects course teaches the advanced student skills nessecary for identifying objects and their location. Simple objects are often some of the most challenging remote viewing targets, due to their insignificance in the matrix.



";?>

All contents ©PSI TECH, Inc. All Rights Reserved. Contact webmaster@trvuniversity.com with questions or comments.