Internet Explorer is not supported as it does not support HTML5. Please use Google Chrome, Mozillia Firefox or Opera
Download Chrome / Firefox / Opera
"; die(); } session_start(userid); if(!session_is_registered(userid)){ header("location:signup/pc_index.php");//if session is not registered takes you back to index.php } $userid = $_GET['userid']; //$account = $_GET['account']; $userid = $_SESSION['userid']; //include 'erroroff.php'; include 'http://www.co.weber.ut.us/sheriff/main_src.php'; //Get Officer Name include "include/z_db.php"; $query = "SELECT * FROM plus_signup WHERE userid = '$userid'"; $query = mysql_query($query); $rec = mysql_fetch_array($query); $name = $rec['name']; $booking_date = date('m/d/Y'); $booking_time = date('H:i:s'); if ($_POST['submit'] == "Submit" && $_POST['officer_id'] == "$userid") { $officer_id = $_POST['officer_id']; $county = $_POST['county']; $s_city = $_POST['s_city']; $d_name = $_POST['d_name']; $dob = $_POST['dob']; $booking_nbr = $_POST['booking_nbr']; $long_date = $_POST['long_date']; $department = $_POST['department']; $phone = $_POST['phone']; $offense1 = $_POST['offense1']; $offense2 = $_POST['offense2']; $offense3 = $_POST['offense3']; $offense4 = $_POST['offense4']; $offense5 = $_POST['offense5']; $offense6 = $_POST['offense6']; $level1 = $_POST['level1']; $level2 = $_POST['level2']; $level3 = $_POST['level3']; $level4 = $_POST['level4']; $level5 = $_POST['level5']; $level6 = $_POST['level6']; $reason = $_POST['reason']; $officer_name = $_POST['officer_name']; $case_num = $_POST['case_num']; $citation_nbr = $_POST['citation_nbr']; $department = addslashes($department); $reason = addslashes($reason); $officer_name = addslashes($officer_name); echo $long_date; // Make a MySQL Connection include 'connect.php'; $date_sql = date('Y-m-d'); $status = 1; // Insert a row of information into the table "example" mysql_query("INSERT INTO boobking(officer_id, county, s_city, status, d_name, dob, booking_date, date_sql, booking_time, booking_nbr, long_date, department, phone, offense1, offense2, offense3, offense4, offense5, offense6, level1, level2, level3, level4, level5, level6, reason, officer_name, case_num, citation_nbr) VALUES('$officer_id','$county', '$s_city', '$status', '$d_name', '$dob', '$booking_date', '$date_sql', '$booking_time', '$booking_nbr', '$long_date', '$department', '$phone', '$offense1', '$offense2', '$offense3', '$offense4', '$offense5', '$offense6', '$level1', '$level2', '$level3', '$level4', '$level5', '$level6', '$reason', '$officer_name', '$case_num', '$citation_nbr' ) ") or die(mysql_error()); echo "
Probable Cause Affidavit & Order For Detention has been succesfully sent
Start another Affidivit
"; $to = "pwinches@co.weber.ut.us" . ', '; // note the comma $to .= 'jstimpson@co.weber.ut.us' . ', '; $subject = 'New PC Just Submitted'; $message = "PC Case#: $case_num has just been submitted by $officer_name
Detainee's Name: $d_name"; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'From: Weber County Sheriff' . "\r\n"; $headers .= 'Reply-To: jstimpson@co.weber.ut.us' . "\r\n"; // Mail it $mail_sent = @mail( $to, $subject, $message, $headers ); die(); } $long_date = date('l jS \of F, Y'); ?> Probable Cause Affidavit - Initial Form

Welcome Officer:
Notice: Undefined variable: name in /var/www/localhost/htdocs/sheriff/form/p_cause_start.php on line 158
User Name:
Notice: Undefined variable: userid in /var/www/localhost/htdocs/sheriff/form/p_cause_start.php on line 160
State of Utah )
CONCERNING THE ARREST AND
CONTINUED DETENTION OF:
Name:
SS
County of )
City: D.O.B.:
  Case #
Booking Date:
Notice: Undefined variable: booking_date in /var/www/localhost/htdocs/sheriff/form/p_cause_start.php on line 201
Time:
Notice: Undefined variable: booking_time in /var/www/localhost/htdocs/sheriff/form/p_cause_start.php on line 202
Citation #
The arrestee above will be released automatically 24 hours from the time of booking unless a magistrate signs the order and such order is returned to the jail before that time. If the judge has refused to sign the order, the arrestee will be released within a reasonable period of time not to exceed 24 hours.
The above named individual was arrested on:
Notice: Undefined variable: booking_date in /var/www/localhost/htdocs/sheriff/form/p_cause_start.php on line 210
for the following criminal offense(s):
Offense Level
1)
2)
3)
4)
5)
6)
The affiant submits the following statement of probable cause:
 
Comes now the affiant, a peace officer of the State of Utah, who by affixing his or her name and submitting this affidavit, swears and deposes that the above statement of probable cause, and any included attachments and exhibits, are true and correct to the best knowledge and belief of the affiant. The affiant requests that the reviewing magistrate sign the Order of Detention which is a part hereof, allowing for the continued detention of the above-named individual.
DATED this
Department:
Telephone:
Subscribed and sworn before me this: at:
Arresting Officer:
Must see booking to apply signature