cacert-webdb/pages/wot/6.php
2004-10-24 01:46:49 +00:00

80 lines
3.8 KiB
PHP

<? /*
Copyright (C) 2004 by Duane Groth <duane_at_CAcert_dot_org>
This file is part of CAcert.
CAcert has been released under the CAcert Source License
which can be found included with these source files or can
be downloaded from the internet from the following address:
http://www.cacert.org/src-lic.php
CAcert is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the License for more details.
*/ ?>
<?
$row = $_SESSION['_config']['notarise'];
$methods = array("Face to Face Meeting", "Trusted 3rd Parties", "Thawte Points Transfer", "Administrative Increase");
?>
<? if($_SESSION['_config']['error'] != "") { ?><div color="orange">ERROR: <?=$_SESSION['_config']['error']?></div><? unset($_SESSION['_config']['error']); } ?>
<form method="post" action="wot.php">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper" width="400">
<tr>
<td colspan="2" class="title"><?=_("Assurance Confirmation")?></td>
</tr>
<tr>
<td class="DataTD" colspan="2" align="left"><?=_(sprintf("Please check the following details match against what you witnessed when you met %s in person. You MUST NOT proceed unless you are sure the details are correct. Gross negligence may cause you to be liable.", $row['fname']))?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Name")?>:</td>
<td class="DataTD"><?=$row['fname']?> <?=$row['mname']?> <?=$row['lname']?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Date of Birth")?>:</td>
<td class="DataTD"><?=$row['dob']?> (<?=_("YYYY-MM-DD")?>)</td>
</tr>
<? if($_SESSION['profile']['admin'] == 1) { ?>
<tr>
<td class="DataTD"><?=_("Method")?>:</td>
<td class="DataTD"><select name="method">
<? foreach($methods as $val) { ?>
<option value="<?=$val?>"<? if($val == $_POST['method']) echo " selected"; ?>><?=$val?></option>
<? } ?>
</select>
</td>
</tr>
<tr>
<td class="DataTD" colspan="2">Only tick the next box if the Assurance was face to face</td>
</tr>
<? } ?>
<tr>
<td class="DataTD"><input type="checkbox" name="certify" value="1"<? if($_POST['certify'] == 1) echo " checked"; ?>></td>
<td class="DataTD"><?=_(sprintf("I certify that %s %s %s has appeared in person", $row['fname'], $row['mname'], $row['lname']))?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Location")?>:</td>
<td class="DataTD"><input type="text" name="location" value="<?=$_POST['location']?>"></td>
</tr>
<tr>
<td class="DataTD"><?=_("Date")?>:</td>
<td class="DataTD"><input type="text" name="date" value="<?=$_POST['date']?>"></td>
</tr>
<tr>
<td class="DataTD"><input type="checkbox" name="assertion" value="1"<? if($_POST['assertion'] == 1) echo " checked"; ?>></td>
<td class="DataTD"><?=_("I believe that the assertion of identity I am making is correct, complete and verifiable. I have seen original documentation attesting to this identity. I accept that CAcert may challenge this assurance and call upon me to prove the basis for it, and that I may be held responsible if I cannot provide such proof.")?></td>
</tr>
<tr>
<td class="DataTD"><input type="checkbox" name="rules" value="1"<? if($_POST['rules'] == 1) echo " checked"; ?>></td>
<td class="DataTD"><?=_("I have read and understood the Rules For Assurers and am making this assurance subject to and in compliance with these rules.")?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Points")?>:<br><nobr>(Max <?=maxpoints()?>)</nobr></td>
<td class="DataTD"><input type="text" name="points" value="<?=intval($_POST['points'])?>"></td>
</tr>
<tr>
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("I am sure of myself")?>"></td>
</tr>
</table>
<input type="hidden" name="oldid" value="<?=$id?>">
</form>