login(); } if (!empty($_GET['logout'])) { $auth_object->logout(); } ?>
webmaster@cecs.uci.edu.'); // flock($fp, LOCK_EX); // fputs($fp,$content); // flock($fp, LOCK_UN); // fclose($fp); /* Print the Cookie and P3P compact privacy policy */ // header('P3P: CP="NOI NID"'); // setcookie('ccount_unique', $id, time()+60*60*$settings['unique_hours']); //} /* Redirect to the link URL */ // Header('Location: '.$url); // exit(); ?>

Welcome to the EECS 31L Course Web Site

webmaster@cecs.uci.edu";} ?>

"; print "
"; if ($id > 10000) { if ($auth_object->isLoggedIn()) { // do stuff, you can check the ucinetid of // the person by looking at $auth->ucinetid if ($auth_object->allowedAccess($auth_object->EECS31L_STUDENT_ARRAY) and ($id < 20000)) { print "

Logged in as $auth_object->ucinetid. Click Here to Logout

"; print "

"; // print "
This video has been viewed $count times.

"; } else if ($auth_object->allowedAccess($auth_object->EECS31L_ARRAY)) { print "

Logged in as $auth_object->ucinetid. Click Here to Logout

"; print "

"; // print "
This video has been viewed $count times.

"; } else { print "

Logged in as $auth_object->ucinetid. Click Here to Logout

"; print "

You do not have access to this material. If you feel you should have access, please email the webmaster.

"; } } else { // you're not logged in, sorry... print "

EECS 31L enrollment required to view video. Click Here to Login

"; } } else { print "

"; // print "
This video has been viewed $count times.

"; } ?>

Questions? Comments? Please visit the course message board on EEE (course enrollment required): https://eee.uci.edu/myeee/

Click here to return to the previous page.