This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.php
139 lines (132 loc) · 4.79 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?php
/*****************************************
*
* index.php
* The head page for the expungement generator
*
* Copyright 2011-2015 Community Legal Services
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*********************************************/
require_once("config.php");
require_once("utils.php");
include("head.php");
// the page header, including the menu bar, etc...
include("header.php");
?>
<div class="main">
<div class="pure-u-8-24"> </div>
<div class="pure-u-12-24">
<?php
// if the user isn't logged in, then don't display this page. Tell them they need to log in.
if (!isLoggedIn())
include("displayNotLoggedIn.php");
else
{
// kill old session information that might screw things up on the search page
resetSession();
?>
<form action="expunge.php" method="post" enctype="multipart/form-data">
<div class="form-item">
<label for="personFirst">Client's Name</label>
<div class="form-item-column">
<input type="text" name="personFirst" id="personFirst" class="form-text" value="<?php printIfSet('personFirst');?>" />
</div>
<div class="form-item-column">
<input type="text" name="personLast" id="personLast" class="form-text" value="<?php printIfSet('personLast');?>" />
</div>
<div class="space-line"></div>
<div class="description">
<div class="form-item-column">
First Name
</div>
<div class="form-item-column">
Last Name
</div>
</div>
<div class="space-line"></div>
</div>
<div class="form-item">
</div>
<div class="form-item">
<label for="personDOB">Date of Birth</label>
<input type="date" name="personDOB" id="date" value="<?php printIfSet('personDOB');?>" maxlength="10"/>
<div class="description">MM/DD/YYYY</div>
</div>
<div class="form-item">
<label for="personStreet">Address</label>
<input type="text" name="personStreet" id="personStreet" class="form-text" value="<?php printIfSet('personStreet');?>" />
<div class="description">Street Name, Number</div>
<div class="space-line"></div>
<div class="form-sub-item">
<div class="form-item-column">
<input type="text" name="personCity" class="form-text" value="<?php printIfSet('personCity');?>" />
</div>
<div class="form-item-column form-item-column-state">
<input type="text" name="personState" class="form-text form-text-state" value="<?php printIfSet('personState');?>"/>
</div>
<div class="form-item-column">
<input type="text" name="personZip" class="form-text form-text-zip" value="<?php printIfSet('personZip');?>"/>
</div>
<div class="space-line"></div>
<div class="description">
<div class="form-item-column">
City
</div>
<div class="form-item-column form-item-column-state">
State
</div>
<div class="form-item-column">
Zip
</div>
</div>
<div class="space-line"></div>
</div>
</div>
<div class="form-item">
<label for="personSSN">Social Security Number</label>
<input type="text" name="personSSN" id="personSSN" value="<?php printIfSet('personSSN');?>" />
<div class="description">###-##-####</div>
</div>
<div class="form-item">
<input type="radio" name="cpcmsSearch" value="true" checked="checked" onclick="$('#addFiles').hide();"/>Search CPCMS for me
<div>
<div class="form-item">
<input type="radio" name="cpcmsSearch" value="false" onclick="$('#addFiles').show();"/>I would like to upload my own dockets
</div>
<div class="space-line"></div>
<div style="display:none" id="addFiles">
<div class="form-item">
<label for="userFile1">Send these files (contrl click to select multiple files)</label>
<input type="hidden" name="MAX_FILE_SIZE" value="300000" />
<input name="userFile[]" type="file" multiple="true" name="userFile1"/>
</div>
<div class="space-line"> </div>
<div class="form-item">
<input type="checkbox" name="expungeRegardless" value="true" />File expungements regardless of expungeability? (Pardons, etc...)
</div>
<div class="space-line"> </div>
</div>
<div class="form-item">
<input type="submit" value="Start Expunging" />
</div>
</form>
<?php
} // else isloggedin()
?>
</div>
<div class="content-right"> </div>
</div>
<?php
include("foot.php");
?>