Merge branch 'bug-910' into release
[cacert-devel.git] / www / cap.html.php
1 <?php /*
2 LibreSSL - CAcert web application
3 Copyright (C) 2004-2008 CAcert Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; version 2 of the License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 loadem("index");
18 showheader(_("Identity Verification Form (CAP) form"));
19 Version: $Id: cap.html.php,v 1.2 2011-06-10 18:30:41 wytze Exp $
20 */
21 echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">', "\n";
22 echo '<html>', "\n";
23
24 echo '<head>', "\n";
25 echo '<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">', "\n";
26 echo '<title>'._("Identity Verification Form (CAP) form").'</title>', "\n";
27 echo '</head>', "\n";
28
29 echo '<body>', "\n";
30 echo '<p>', "\n";
31 echo '<div style="text-align: right;"><img style="width: 30%; float: none;" alt="CAcert logo" src="http://www.cacert.org/logos/CAcert-logo-colour-1000.png" vspace="3">';
32 echo '</div>', "\n";
33 echo '</p>', "\n";
34 echo '<p>', "\n";
35 echo '<div style="text-align: right;">', "\n";
36 echo '<big><big><span style="font-weight: bold;">'._("CAcert Assurance Programme").'</span></big></big><br>', "\n";
37 echo '</div>', "\n";
38 echo '<div style="text-align: right;">', "\n";
39 echo '<big><big><span style="font-weight: bold;">'._("Identity Verification Form (CAP) form").'</span></big></big><br>', "\n";
40 echo '</div>', "\n";
41 echo '<div style="text-align: right;">'.'CAcert Inc. - P.O. Box 4107 - Denistone East NSW 2112 - Australia - <a href="http://www.cacert.org/"> http://www.cacert.org/</a><br></div>', "\n";
42
43 echo '<table border=1 cellspacing="0" cellpadding="0" bordercolor="lightblue" cellpadding="0" cellspacing="0" width="100%" style="color: white; background-color: rgb(112, 154, 186);" rules="groups">', "\n";
44 echo '<tbody>', "\n";
45 echo '<tr><td>', "\n";
46 echo '<tr>', "\n";
47 echo ' <td align="left"><font size=-7>'._("CAcert's Root Certificate sha1 fingerprints").'</font></td>', "\n";
48 echo ' <td align="right"><font size=-7>class 1: 135C EC36 F49C B8E9 3B1A B270 CD80 8846 76CE 8F33</font></td>', "\n";
49 echo '</tr>', "\n";
50 echo '<tr>', "\n";
51 echo ' <td></td>', "\n";
52 echo ' <td align="right"><font size=-7>class 3: AD7C 3F64 FC44 39FE F4E9 0BE8 F47C 6CFA 8AAD FDCE</font></td>', "\n";
53 echo '<tr>', "\n";
54 echo '</font>', "\n";
55 echo '</td>', "\n";
56 echo '</tr>', "\n";
57 echo '</tbody>', "\n";
58 echo '</table>', "\n";
59 echo '<p>', "\n";
60 echo _("The CAcert Assurance Programme (CAP) aims to verify the identities of Internet users through face to face witnessing of government-issued photo identity documents.");
61 echo _("The Applicant asks the Assurer to verify to the CAcert Community that the Assurer has met and verified the Applicant's identity against original documents.");
62 echo _("Assurer may leave a copy of the details with the Applicant, and may complete and sign her final form after the meeting.");
63 echo _("If there are any doubts or concerns about the Applicant's identity, do not allocate points. You are encouraged to perform a mutual Assurance.");
64 echo '<br>', "\n";
65 echo _("For more information about the CAcert Assurance Programme, including detailed guides for CAcert Assurers, please visit:");
66 echo ' <a href="http://www.cacert.org/">http://www.cacert.org/</a><br>', "\n";
67 echo _("A CAcert Arbitrator can require the Assurer to deliver the completed form in the event of a dispute. After 7 years this form should be securely disposed of to prevent identity misuse. E.g. shred or burn the form. The Assurer does not retain copies of ID at all.");
68 echo '<br>', "\n";
69 echo _("For the CAcert Organisation Assurance Programme there is a separate special COAP form.");
70 /*
71 echo '</p>', "\n";
72 */
73
74 echo '<form target="_blank" enctype="application/x-www-form-urlencoded" method="get" action="https://www.cacert.org/capnew.php" name="CAP form">', "\n";
75
76 echo '<table width=100% cellspacing="0" celpadding="0"><tr>', "\n";
77 echo ' <td>';
78 echo '<div style="text-align: left;"><span style="font-style: italic; text-align: right;">'._("Date and location of the face-to-face meeting").':</span>', "\n";
79 echo '<input maxlength="80" size="30" name="location"></span>', "\n";
80 echo '</td>', "\n", ' <td>';
81 echo '<div style="text-align: right;"><span style="font-style: italic;"><small>('._("yyyy-dd-mm").')</small></span>';
82 echo '<input size="12" name="date"></div>', "\n";
83 echo '</td>', "\n", '</tr>', "\n", '</tabe>', "\n";
84 echo '<br>', "\n";
85 echo '<table border="3" cellpadding="2" cellspacing="0" width="100%" bordercolor="lightblue" rules="groups">', "\n";
86 echo '<thead>', "\n";
87 echo '<tr style="background-color: rgb(17, 86, 140); color: white;">', "\n";
88 echo ' <th colspan="2" align="left"><big><big>'._("Applicant's Identity Information").'</big></big></th>', "\n";
89 echo ' <th align=left>';
90 /* echo _("points").'<br>'._("allocated"); */
91 echo str_replace(" ", '<br>', _("points allocated"));
92 echo '</th>', "\n";
93 echo '</tr>', "\n";
94 echo '</thead>', "\n";
95 echo '<tbody>', "\n";
96 echo '<tr><td align="left">'._("Exact full name on the ID").': </td>', "\n";
97 echo ' <td align="right">(', "\n"._("type of ID shown").')</td>', "\n";
98 echo ' <td align="right">', "\n"._("max").'35</td>', "\n";
99 echo '</tr>', "\n";
100 echo '<tr>', "\n";
101 echo ' <td><input size="55" maxlength="80" name="name1"></td>', "\n";
102 echo ' <td align="right"><select size="1" name="name1ID">', "\n";
103 echo ' <option selected="selected">'._("passport").'</option>', "\n";
104 echo ' <option>'._("identity card").'</option>', "\n";
105 echo ' <option>'._("driver license").'</option>', "\n";
106 echo ' <option value="......">'._("other").'</option>', "\n";
107 echo ' </select>', "\n";
108 echo ' </td>', "\n";
109 echo ' <td align="right"><input maxlength="2" size="2" name="name1Pnts"></td>', "\n";
110 echo '</tr>', "\n";
111 echo '<tr> ', "\n";
112 echo ' <td><input size="55" maxlength="80" name="name2"></td>', "\n";
113 echo ' <td align="right"><select size="1" name="name2ID">', "\n";
114 echo ' <option>'._("passport").'</option>';
115 echo ' <option selected="selected">'._("identity card").'</option>', "\n";
116 echo ' <option>'._("driver license").'</option>', "\n";
117 echo ' <option value="....">'._("other").'</option>', "\n";
118 echo ' </select>', "\n";
119 echo ' </td>', "\n";
120 echo ' <td align="right"><input maxlength="2" size="2" name="name2Pnts"></td>', "\n";
121 echo '</tr>', "\n";
122 echo '<tr><td><input size="55" maxlength="80" name="name3"></td>', "\n";
123 echo ' <td align="right"><select size="1" name="name3ID">', "\n";
124 echo ' <option>'._("passport").'</option>', "\n";
125 echo ' <option>'._("identity card").'</option>';
126 echo ' <option selected="selected" value="">', "\n"._("driver license").'</option>';
127 echo ' <option value="....">', "\n"._("other").'</option>';
128 echo ' </select>', "\n";
129 echo ' </td>', "\n";
130 echo ' <td align="right"><input maxlength="2" size="2" name="name3Pnts"></td>', "\n";
131 echo '</tr>', "\n";
132 echo '</tbody>', "\n";
133 echo '<tbody>', "\n";
134 echo '<tr><td>'._("Email address").': <br><input maxlength="80" size="55" name="email"></td>', "\n";
135 echo ' <td colspan="2" align="right">'._("Date of Birth").' ('._("yyyy-mm-dd").')'.'<br><input maxlength="10" size="11" name="dob"></td>', "\n";
136 echo '</tr>', "\n";
137 echo '</tbody>', "\n";
138 echo '<!--', "\n";
139 echo '</table>', "\n";
140 echo '<table border="3" cellpadding="2" cellspacing="0" width="100%" bordercolor="lightblue" rules="groups">', "\n";
141 echo '-->', "\n";
142 echo '<thead>', "\n";
143 echo '<tr style="background-color: rgb(17, 86, 140); color: white;">', "\n";
144 echo ' <th colspan="3" align="left"><big><big>'._("Applicant's Statement").'</big></big></th>', "\n";
145 echo '</thead>', "\n";
146 echo '<tbody>', "\n";
147 echo '<tr>', "\n";
148 echo ' <td colspan="3">'._("Make sure you have read and agreed with the CAcert Community Agreement");
149 echo '(<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">CCA</a>)<br>', "\n";
150 echo '</td>', " \n", '</tr>', "\n";
151 /*
152 echo '</tbody>', "\n";
153 echo '<tbody>', "\n";
154 */
155 echo '<tr>', "\n";
156 echo ' <td colspan="3"><input type="checkbox" checked name="checked" value="1"> ';
157 echo _("I hereby confirm that the information stating my Identity Information above is both true and correct and request the CAcert Assurer (see below) to witness my identity in the CAcert Assurance Programme.");
158 echo '</td>', "\n".'</tr>', "\n";
159 echo '<tr>', "\n". ' <td colspan="3"><input type="checkbox" checked name="checked" value="2"> ';
160 echo _("I agree to the CAcert Community Agreement.").' (';
161 echo '<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.php">CCA</a>)</dd>', "\n";
162 echo '</td>', "\n".'</tr>', "\n";
163 /*
164 echo '</tbody>', "\n";
165 echo '<tbody>', "\n";
166 */
167 echo '<tr>', "\n";
168 echo ' <td>'._("Date").' ('._("yyyy-mm-dd").')'.'<br><input maxlength="10" size="11" name="assurancedate"></td>', "\n";
169 echo ' <td colspan="2" align="right" valign="top"> '._("Applicant's signature").'</td>', "\n";
170 echo '</tr>', "\n";
171 echo '</tbody>', "\n";
172 echo '</table>', "\n";
173 echo '<br>', "\n";
174 echo '<table border="3" cellpadding="2" cellspacing="0" width="100%" bordercolor="lightblue" rules="groups">', "\n";
175 echo '<thead>', "\n";
176 echo '<tr style="background-color: rgb(17, 86, 140); color: white;">', "\n";
177 echo ' <th colspan="2" align="left"><big><big>'._("Assurer's Statement").'</big></big></td>', "\n";
178 echo '</tr>', "\n";
179 echo '</thead>', "\n";
180 echo '<tbody>', "\n";
181 echo '<tr>', "\n";
182 echo ' <td>'._("Assurer's Name").'<br><input maxlength="80" size="55" name="assurer"></td>', "\n";
183 echo ' <td align="right"><small><small>'.'('._("optional").')'.'</small></small>', "\n";
184 echo _("Date of Birth").' ('._("yyyy-mm-dd").')';
185 echo '<br><input maxlength="10" size="11" name="assurerdob"></td>', "\n";
186 echo '</tr>', "\n";
187 echo '<tr>', "\n";
188 echo ' <td colspan="2">'._("Assurer's email address").'<small><small>', "\n";
189 echo '('._("optional").')'.'</small></small><br><input maxlength="80" size="55" name="assureremail"></td>', "\n";
190 echo '</tr>', "\n";
191 /*
192 echo '</tbody>', "\n";
193 echo '<tbody>', "\n";
194 */
195 echo '<tr>', "\n";
196 echo ' <td colspan="2"><input type="checkbox" checked name="checked" value="3"> ';
197 echo _("I, the Assurer, hereby confirm that I have verified the Applicant's Identity Information, I will witness the Applicant's identity in the CAcert Assurance Programme, and allocate Assurance Points.");
198 echo '</td>', "\n";
199 echo '</tr>', "\n";
200 echo '<tr>', "\n";
201 echo ' <td colspan="2"><input type="checkbox" checked name="checked" value="4"> ';
202 echo _("I am a CAcert Community Member, have passed the Assurance Challenge, and have been assured with at least 100 Assurance Points.");
203 echo '</td>', "\n";
204 echo '</tr>', "\n";
205 /*
206 echo '</tbody>', "\n";
207 echo '<tbody>', "\n";
208 */
209 echo '<tr>', "\n";
210 echo ' <td>'._("Date").' ('._("yyyy-mm-dd").')';
211 echo '<br><input maxlength="10" size="11" name="assurerdate"></td>', "\n";
212 echo ' <td align="right" valign="top">'._("Assurer's signature").'</td>', "\n";
213 echo '</tr>', "\n";
214 echo '</tbody>', "\n";
215 echo '</table>', "\n";
216 echo '<div style="text-align: right;"><small><small><span>&copy; '.date('Y').' CAcert Inc., V5, '.date('Y-n-j').'</small></small></span></div>', "\n";
217 echo '<br>', "\n";
218 echo '<p>', "\n";
219 echo '<table border="3" cellpadding="2" cellspacing="0" width="100%" bordercolor="lightblue" rules="groups">', "\n";
220 echo '<thead>', "\n";
221 echo '<tr style="background-color: rgb(112, 154, 186); color: white;">', "\n";
222 echo ' <th colspan="2" align="left"><big><big>'._("How To Print this CAP form").'</big></big></td>', "\n";
223 echo '</tr>', "\n";
224 echo '</thead>', "\n";
225 echo '</table>', "\n";
226 echo '<p>';
227 echo _("A printer ready file with the form and attachments can be generated as follows:");
228 echo '<dl>', "\n";
229 echo ' <dd><input type="radio" name="orientation" value="landscape"> '._("2-up");
230 echo ' <input type="radio" checked="checked" name="orientation" value="portrait"> '._("portrait").' '._("1-up").')';
231 echo '</dd>', "\n";
232 echo ' <dd><input type="radio" checked="checked" name="format" value="A4"> A4', "\n";
233 echo ' <input type="radio" name="format" value="A5"> A5', "\n";
234 echo ' <input type="radio" name="format" value="letter"> Letter '._("paper format");
235 echo '</dd>', "\n";
236 echo ' <dd><input type="radio" name="nocca" value="false"> '._("no");
237 echo ' <input type="radio" checked="checked" name="nocca" value="true"> '._("yes, the CCA is attached to the form.");
238 echo '</dd>', "\n";
239 echo '</dl>', "\n";
240 echo _("Submit the form").': <button type="submit" style="background-color: rgb(112, 154, 186); color: white;"> '._("generate PDF file");
241 echo '</button>', "\n";
242 echo '</p>', "\n";
243 echo '</form>', "\n";
244
245 echo '</body>', "\n";
246 echo '</html>', "\n";
247 ?>