0) $detail_userid = $_GET['userid']; if (array_key_exists('activity_time',$_GET) && strlen($_GET['activity_time']) > 0) $detail_activity_time = $_GET['activity_time']; if (array_key_exists('prev_query',$_GET) && strlen($_GET['prev_query']) > 0) $prev_query = $_GET['prev_query']; if (!isset($detail_userid) || !isset($detail_activity_time)) return; // // Get log entry // $d_userid = db_escape_string($detail_userid); $d_time = db_escape_string($detail_activity_time); $results = db_query("SELECT * FROM activity_log WHERE school_num = $school_num AND userid = '$d_userid' AND activity_time = $d_time"); if (db_num_rows($results) == 0) return; $row = db_fetch_assoc($results); extract($row); if ($_SESSION['UserInfo']['type'] != "SuperUser") { $information = preg_replace("/login_password => .*\n/","login_password => ******\n",$information); $information = preg_replace("/old_password => .*\n/","old_password => ******\n",$information); $information = preg_replace("/password1 => .*\n/","password1 => ******\n",$information); $information = preg_replace("/password2 => .*\n/","password2 => ******\n",$information); $information = preg_replace("/password => .*\n/","password => ******\n",$information); } ?>
| :: | |
| :: | |
| :: | |
| :: | |
| :: |
|