summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@creativecommons.org>2014-05-19 18:18:52 -0400
committerNathan Kinkade <nkinkade@creativecommons.org>2014-05-19 18:18:52 -0400
commitfea92fb73fc066701a4e5e578edee7d737045a41 (patch)
tree8475a74fb159756896e90a802eca32e2545ed86d /index.php
parent03a01ac31a16cf7f44e827db15b7483b0ec330cd (diff)
parentc1ea47789989b08e919645d8b8133cfea0ad97c9 (diff)
Manually deleted file to fix merge conflict.HEADmaster
Diffstat (limited to 'index.php')
-rw-r--r--index.php196
1 files changed, 196 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..b84f90c
--- /dev/null
+++ b/index.php
@@ -0,0 +1,196 @@
+<!DOCTYPE html>
+
+<html lang="en">
+
+<head>
+ <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
+ <title>Miami-Dade Clerk of Courts: Search</title>
+ <link rel='stylesheet' media='all' type='text/css' href='style.css' />
+</head>
+
+<body id="case_search">
+
+<h2 style="text-align: center;">Miami-Dade Clerk of Courts case search</h2>
+
+<div id="content">
+
+ <div id="search_form">
+
+ <form id="search_cases" method="get" action="search.php">
+ <div>
+ <label for="case_years">Years</label>
+ <select id="case_years" name="case_years[]" multiple>
+<?php
+
+for ( $year = date("Y"); $year >= 1990; $year-- ) {
+ echo " <option value='$year'>$year</option>\n";
+}
+
+?>
+ </select>
+ </div>
+
+ <div>
+ <label for="case_num">Case #</label>
+ <input type="text" class="case_num" id="case_num" name="case_num" maxlength="6" />
+ to
+ <input type="text" class="case_num" id="case_num_to" name="case_num_to" maxlength="6" />
+ </div>
+
+ <div>
+ <label for="defendant">Defendant #</label>
+ <select id="defendant" name="defendant">
+ <option value='' selected='selected'> </option>
+<?php
+
+foreach ( range('A', 'Z') as $letter ) {
+ echo " <option value='$letter'>$letter</option>\n";
+}
+
+?>
+ </select>
+ </div>
+
+ <div>
+ <label for="name">Name</label>
+ <input type="text" id="name" name="name" />
+ </div>
+
+ <div>
+ <label for="charge">Charge</label>
+ <input type="text" id="charge" name="charge" />
+ </div>
+
+ <div>
+ <label for="disposition">Disposition</label>
+ <input type="text" id="disposition" name="disposition" />
+ </div>
+
+ <div>
+ <label for="docket">Docket</label>
+ <input type="text" id="docket" name="docket" />
+ </div>
+
+ <div>
+ <label for="in_jail">In jail?</label>
+ <select id="in_jail" name="in_jail">
+ <option value='' selected='selected'> </option>
+ <option value='Y'>Yes</option>
+ <option value='N'>No</option>
+ </select>
+ </div>
+
+ <div>
+ <label for="prob_given">Given probation?</label>
+ <input type="checkbox" id="prob_given" name="prob_given" />
+ </div>
+
+ <div>
+ <label for="prob_still">Still on probation?</label>
+ <input type="checkbox" id="prob_still" name="prob_still" />
+ </div>
+
+ <div>
+ <label for="prob_per_complete">Probation completed</label>
+ <select id="prob_per_complete" name="prob_per_complete">
+ <option value='' selected='selected'> </option>
+<?php
+
+for ( $per = 10; $per <= 100; $per += 10 ) {
+ echo " <option value='$per'>$per</option>\n";
+}
+
+?>
+ </select>%
+ </div>
+
+ <div>
+ <label for="prob_start_day">Probation start</label>
+ <select id="prob_start_day" name="prob_start_day">
+ <option value='' selected='selected'> </option>
+<?php
+
+for ( $day = 1; $day <= 31; $day++ ) {
+ echo " <option value='$day'>$day</option>\n";
+}
+
+?>
+ </select>
+ <select id="prob_start_month" name="prob_start_month">
+ <option value='' selected='selected'> </option>
+<?php
+
+for ( $month = 1; $month <= 12; $month++ ) {
+ echo " <option value='$month'>$month</option>\n";
+}
+
+?>
+ </select>
+ <select id="prob_start_year" name="prob_start_year">
+ <option value='' selected='selected'> </option>
+<?php
+
+for ( $year = date("Y"); $year >= 1990; $year-- ) {
+ echo " <option value='$year'>$year</option>\n";
+}
+
+?>
+ </select> (dd/mm/yyyy)
+ </div>
+
+ <div>
+ <label for="prob_end_day">Probation end</label>
+ <select id="prob_end_day" name="prob_end_day">
+ <option value='' selected='selected'> </option>
+<?php
+
+for ( $day = 1; $day <= 31; $day++ ) {
+ echo " <option value='$day'>$day</option>\n";
+}
+
+?>
+ </select>
+ <select id="prob_end_month" name="prob_end_month">
+ <option value='' selected='selected'> </option>
+<?php
+
+for ( $month = 1; $month <= 12; $month++ ) {
+ echo " <option value='$month'>$month</option>\n";
+}
+
+?>
+ </select>
+ <select id="prob_end_year" name="prob_end_year">
+ <option value='' selected='selected'> </option>
+<?php
+
+for ( $year = date("Y"); $year >= 1990; $year-- ) {
+ echo " <option value='$year'>$year</option>\n";
+}
+
+?>
+ </select> (dd/mm/yyyy)
+ </div>
+
+ <div>
+ <label for="case_closed">Case closed?</label>
+ <select id="case_closed" name="case_closed">
+ <option value='' selected='selected'> </option>
+ <option value='no'>No</option>
+ <option value='yes'>Yes</option>
+ </select>
+ </div>
+
+ <div id="form_submit">
+ <input type="submit" value="Search" />
+ </div>
+
+ </form>
+
+ </div> <!-- end #search_form -->
+
+</div> <!-- end #content -->
+
+</body>
+
+</html>