cacert-webdb/pages/wot/6.php
2004-10-16 00:28:17 +00:00

76 lines
3.7 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'];
?>
<? 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"><?=_("Notarisation 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">
<option value="Face to Face Meeting">Face to Face Meeting</option>
<option value="Trusted 3rd Parties">Trusted 3rd Parties</option>
<option value="Thawte Points Transfer">Thawte Points Transfer</option>
</select>
</td>
</tr>
<? } else { ?>
<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 notarisation 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 Notaries and am making this notarisation 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>