summaryrefslogtreecommitdiff
path: root/www/coap.html.php
blob: 6291ea2ff8a8cf9a585ba0ab5d386c23f69a67b9 (plain)
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<?php /*
    LibreSSL - CAcert web application
    Copyright (C) 2004-2008  CAcert Inc.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; version 2 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
        Version: $Id: coap.html.php,v 1.2 2011-06-10 18:30:41 wytze Exp $
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<?php
    	echo '<title>'._("Organisation Information (COAP) form").'</title>', "\n";
?>
</head>

<body>

<style type="text/css">
table#TAB1 {border-color: rgb(173,197,215); border-top: solid 5px rgb(173,197,215); border-left: solid 5px rgb(173,197,215);}
table#TAB1 td { border: 0 }
</style>

<p>
<div style="text-align: right;"><img align="absbottum" style="width: 30%; float: none;" alt="CAcert logo" src="http://www.cacert.org/logos/CAcert-logo-colour-1000.png" vspace="3" /></div>
</div>
</p>
<p>
<div style="text-align: right;">
<?php
	echo '<big><big><span style="font-weight: bold;">'._("CAcert Organisation Assurance Programme").'</span></big></big><br>', "\n";
?>
</div>
<div style="text-align: right;">
<?php
	echo '<big><big><span style="font-weight: bold;">'._("Organisation Information (COAP) form").'</span></big></big><br>', "\n";
?>
</div>
<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>
<br>
<table style="border-bottom: solid; border-color: rgb(17, 86, 140)"  cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<?php
	echo '    <td border=0 align="left"><font size=-7>'._("CAcert's Root Certificate sha1 fingerprints").'</font></td>', "\n";
?>
    <td border=0 align="right"><font size=-7>class 1: 135C EC36 F49C B8E9 3B1A B270 CD80 8846 76CE 8F33</font></td>
</tr>
<tr>
    <td border=0></td>
    <td border=0 align="right"><font size=-7>class 3: AD7C 3F64 FC44 39FE F4E9 0BE8 F47C 6CFA 8AAD FDCE</font></td>
<tr>
</font>
</td>
</tr>
</tbody>
</table>
<p>
<?php
	echo _("The CAcert Organisation Programme (COAP) aims to verify the identity of the organisation."), "<br>\n";
	echo _("The Applicant asks the Organisation Assurer to verify to CAcert Community that the information provided by the Applicant is correct, and according to the official trade office registration bodies."), "<br>\n";
	echo _("For more information about the CAcert Organisation Assurance Programme, including detailed guides to CAcert Organisation Assurers, please visit:"), ' ';
	echo ' <a href="http://www.cacert.org/">http://www.cacert.org</a><br>';
	echo _("A CAcert Arbitrator can require the Organisation Assurer to deliver the completed forms and accompanying documents in the event of a dispute."), "<br>\n";
	echo _("For the CAcert Individual Assurance Programme there is a separate special CAP form.");
?>

<form target="_blank" enctype="application/x-www-form-urlencoded" method="get" action="https://www.cacert.org/coapnew.php" name="COAP form">

<br>
<table border="1" id="TAB1" cellpadding="2" cellspacing="0" width="100%" rules="groups">
<thead>
<tr style="background-color: rgb(17, 86, 140); color: white;">
<?php
	echo '    <th colspan="4" align="left"><big><big>'._("Organisation Identity Information").'</big></big></th>', "\n";
?>
</tr>
</thead>
<tbody>
<tr>
<?php
	echo '    <td nowrap>'. _("Name of the organisation").'</td>', "\n";
        echo '    <td colspan="3"><input size=\"60\" maxlength=\"80\" name=\"name\"></td>', "\n";
	echo '</tr>', "\n";
	echo '<tr>', "\n";
	echo '    <td nowrap>'. _("Address").' ('. _("comma separated"). ')';
        echo '    <td colspan="3"><input size=\"60\" maxlength=\"80\" name=\"address\"></td>', "\n";
	echo '</tr>', "\n";
?>
</tbody>
<tbody>
<tr>
<?php
	echo '    <td>'. _("Jurisdiction info"). '</td>', "\n";
	echo '    <td align="left"><i>'. _("type"). '</td></i>', "\n";
	echo '    <td align="left"><i>'. _("state"). '</td></i>', "\n";
	echo '    <td align="right"><i>'. _("country code"). '</td></i>', "\n";
	echo '</tr>', "\n";
	echo '<tr>', "\n";
	echo '    <td></td>', "\n";
        echo '    <td align="left"><input size=\"25\" maxlength=\"80\" name=\"type\"></td>', "\n";
        echo '    <td align="left"><input size=\"25\" maxlength=\"80\" name=\"state\"></td>', "\n";
        echo '    <td align="right"><input size=\"3\" maxlength=\"80\" name=\"country\"></td>', "\n";
?>
</tr>
</tbody>
<tbody>
<?php
	for ( $i = 0; $i < 2; $i++ ) {
	    echo '<tr>', "\n", '    <td>';
	    if ( $i < 1 ) { echo _("Registered Trade Names");}
	    echo '</td>', "\n";
	    for ( $j = 1; $j <= 3; $j++ ) {
		printf("    <td align=\"%s\"><input size=\"25\" maxlength=\"80\" name=\"dba%d\"></td>\n", $j > 2 ? "right" : ($j > 2 ? "center" : "left") , $i * 3 + $j);
	    }
            echo '</tr>', "\n";
	}
?>
</tbody>
<tbody>
<tr>
<?php
	echo '    <td>'. _("Trade Office info"). '</td>', "\n";
	echo '    <td align="left"><i>'. _("reg. number"). '</td></i>', "\n";
	echo '    <td align="left"><i>'. _("trade office"). '</td></i>', "\n";
	echo '    <td align="right"><i>'. _("region"). '</td></i>', "\n";
	echo '</tr>', "\n";
	echo '<tr>', "\n";
	echo '    <td></td>', "\n";
        echo '    <td align="left"><input size=\"25\" maxlength=\"80\" name=\"identity\"></td>', "\n";
        echo '    <td align="left"><input size=\"25\" maxlength=\"80\" name=\"tor\"></td>', "\n";
        echo '    <td align="right"><input size=\"25\" maxlength=\"80\" name=\"torregion\"></td>', "\n";
?>
</tr>
</tbody>
<tbody>
<?php
        for ( $i = 0; $i < 2; $i++ ) {
            echo '<tr>', "\n", '    <td>';
            if ( $i < 1 ) { echo _("Internet Domain(s)");}
            echo '</td>', "\n";
            for ( $j = 1; $j <= 3; $j++ ) {
                printf("    <td align=\"%s\"><input size=\"25\" maxlength=\"80\" name=\"domain%d\"></td>\n",  $j > 2 ? "right" : ($j > 2 ? "center" : "left"), $i * 3 + $j);
            }
            echo '</tr>', "\n";
        }
?>
</tbody>
<tbody>
<?php
	for ( $i = 1; $i <=2; $i++ ) {
	    echo '<tr>', "\n", '    <td>';
	    if( $i < 2 ) { echo _("Organisation Administrator(s)"); }
	    echo '</td>', "\n";
	    printf("    <td colspan=\"3\"<input size=\"65\" maxlength=\"80\" name=\"admin%d\"></td>\n</tr>\n",$i);
	    echo "<tr>\n    <td></td><td colspan=\"2\" align=\"left\"><i>". _("email") . "</i> ";
	    printf("<input size=\"45\" maxlength=\"80\" name=\"admin%demail\"></td>\n", $i);
	    echo "    <td align=\"right\"><i>". _("phone") . "</i> ";
	    printf("<input size=\"15\" maxlength=\"80\" name=\"admin%dphone\"></td>\n</tr>\n", $i);
	}
?>
</tbody>
</table>

<table border="1" id="TAB1" cellpadding="2" cellspacing="0" width="100%" rules="groups">
<tr style="background-color: rgb(17, 86, 140); color: white;">
    <th colspan="3" align="left"><big><big>
<?php
	echo _("Organisation's Statement");
?>
</big></big></th>
</thead>
<tbody>
<tr>
    <td colspan="2"><i>
<?php
	echo _("Make sure you have read and agreed with the CAcert Community Agreement");
?>
 (<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">CCA</a>)</i><br></td>
</tr>
<tr><td colspan=2><p></td></tr>
<tr>
<?php
	echo '    <td colspan="2"><i>'. _("director") . '</i>', "\n";
	echo '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input maxlength="80" size="65" name="director"></td>', "\n";
	echo '</tr><tr>', "\n";
	echo '    <td><i>'. _("email");
	echo ' <small><small>(optional)</small></small>';
	echo '</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input maxlength="80" size="40" name="email"></td>', "\n";
	echo '    <td align="right"><i>'. _("phone");
	echo ' <small><small>(optional)</small></small>';
	echo '</i> <input maxlength="80" size="15" name="phone"></td>', "\n";
?>
</tr>
<tr>
    <td colspan="2"><input type="checkbox" checked name="checked" value="1">
<?php
	echo ' '. _("I agree to the CAcert Community Agreement.").' (';
?>
<a href="http://www.cacert.org/policy/CAcertCommunityAgreement.html">CCA</a>)</dd></td>
</tr>
<tr>
    <td colspan="2"><input type="checkbox" checked name="checked" value="2">
<?php
	echo _("I hereby confirm that all information is complete and accurate and will notify CAcert of any updates or changes thereof."). "</td>\n</tr>\n";
	echo "<tr>\n", '    <td colspan="2"><input type="checkbox" checked name="checked" value="3">';
	echo _("I am duly authorised to act on behalf of the organisation, I grant operational certificate administrative privileges to the specified Organisation Administrator and, I request the Organisation Assurer to verify the organisation information according to the Assurance Policies."). "</td>\n";
?>
<tr><td colspan="2"></td></tr>
<tr>
<?php
	echo '    <td>'. _("Date"). ' <small><small>(<i>'. _("yyyy-mm-dd"). '</i>)</small></small>';
	echo '<br><input maxlength="10" size="11" name="date"></td>', "\n";
	echo '    <td align="right">'. _("Signature") .'<br> ('._("and organisation stamp") . ")</td>\n";
	echo "</tr><tr>\n";
?>
</tr>
<tr><td colspan="2"><p></td></tr>
</tbody>
</table>
<br>

<table border="1" id="TAB1" cellpadding="2" cellspacing="0" width="100%" rules="groups">
<thead>
<tr style="background-color: rgb(17, 86, 140); color: white;">
<?php
	echo '    <th colspan="2" align="left"><big><big>'._("Organisation Assurer's Statement").'</big></big></td>', "\n";
?>
</tr>
</thead>
<tbody>
<tr><td colspan="2"><p></td></tr>
<tr>
<?php
	echo '    <td colspan="2"><i>'. _("organisation assurer") . '</i> ', "\n";
	echo '<input maxlength="80" size="60" name="assurer"></td>', "\n";
	echo '</tr><tr>', "\n";
	echo '    <td><i>'. _("email");
	echo ' <small><small>(optional)</small></small>';
	echo '</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input maxlength="80" size="40" name="assureremail"></td>', "\n";
	echo '    <td align="right"><i>'. _("phone");
	echo ' <small><small>(optional)</small></small>';
	echo '</i> <input maxlength="80" size="15" name="assurerphone"></td>', "\n";
?>
</tr>
<tr>
    <td colspan="2"><input type="checkbox" checked name="checked" value="3">
<?php
	echo _("I, the Assurer, hereby confirm that I have verified the official Information for the organisation, I will witness the organisation's identity in the CAcert Organisation Assurance Programme, and complete the Assurance.") . "</td>\n";
?>
</tr>
<tr>
    <td colspan="2"><input type="checkbox" checked name="checked" value="4">
<?php
	echo _("I am a CAcert Community Member, have passed the Organisation Assurance Challenge, and have been appointed for Organisation Assurances within the country where the organisation is registered."). "</td>\n";
?>
</tr>
<tr><td colspan=2><p></td></tr>
<tr>
<?php
	echo '    <td>'._("Date").' <small><small>(<i>'._("yyyy-mm-dd").'</i>)</small></small>';
?>
<br><input maxlength="10" size="11" name="assurerdate"></td>
<?php
	echo '    <td align="right" valign="top">'._("Signature").'</td>', "\n";
?>
</tr>
<tr><td colspan="2"></td><tr>
</tbody>
</table>
<div style="text-align: right;"><small><small><span>&copy;
<?php
	echo date('Y').' CAcert Inc., V2, '.date('Y-n-j');
?>
</small></small></span></div>
<br>
<p>

<table border="0" cellpadding="2" cellspacing="0" width="100%" rules="groups">
<thead>
<tr style="background-color: rgb(112, 154, 186); color: white;">
    <th colspan="2" align="left"><big><big>
<?php
	echo _("How To Print this CAP form");
?>
</big></big></td>
</tr>
</thead>
</table>
<p>
<?php
	echo _("A printer ready file with the form and attachments can be generated as follows:");
?>
<dl>
    <dd><input type="radio" name="orientation" value="landscape">
<?php
	echo ' '._("2-up");
	echo '        <input type="radio" checked="checked" name="orientation" value="portrait"> '._("portrait").' '._("1-up").')';
?>
</dd>
    <dd><input type="radio" checked="checked" name="format" value="A4"> A4
        <input type="radio" name="format" value="A5"> A5
<?php
	echo '        <input type="radio" name="format" value="letter"> Letter '._("paper format");
	echo "</dd>\n";
	echo '    <p><dd><input type="radio" name="nocca" value="false"> '._("no");
	echo '        <input type="radio" checked="checked" name="nocca" value="true"> '._("yes, the CCA is attached to the form."), "</dd>\n";
	$policies = array(
	    'Organisation Assurance Policy' =>
	        'http://svn.cacert.org/CAcert/Policies/OrganisationAssurancePolicy/OrganisationAssurancePolicy.html',
	    'Organisation Assurance Subpolicy for Australia' =>
	        'http://svn.cacert.org/CAcert/Policies/OrganisationAssurancePolicy/OrganisationAssuranceSubPolicyAustralia.html',
	    'Organisation Assurance Subpolicy for Europe' =>
	        'http://svn.cacert.org/CAcert/Policies/OrganisationAssurancePolicy/OrganisationAssuranceSubPolicyEurope.html',
	    'Organisation Assurance Subpolicy for the United States' =>
	        'http://svn.cacert.org/CAcert/Policies/OrganisationAssurancePolicy/OrganizationAssuranceSubPolicyUnitedStates.html',
	);
	$cnt = 0;
	while( list($key, $ref) = each($policies) ) {
	    $cnt++;
	    if( $cnt < 2 ) {
		echo '<p><dd>'. _("Applicable Organisation Policy documents and information can be attached to the pdf output file. Mark those documents, which need to be attached") . ":<br>\n";
	    }
	    printf("<dd><input type=\"checkbox\" name=\"policy%d\" value=\"%s\"> <a href=\"%s\">%s</a></dd>\n", $cnt, $ref, $ref, $key);
        }
	if( $cnt > 0 ) {
	    echo "</dd>\n";
	}
	echo "</dl>\n";
	echo _("Submit the form").': <button type="submit" style="background-color: rgb(112, 154, 186); color: white;"> '._("generate PDF file");
	echo "</button>\n";
?>
</p>
</form>

</body>
</html>