|
|
|
<? /*
|
|
|
|
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.
|
|
|
|
*/ ?>
|
|
|
|
<form method="post" action="index.php">
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" class="title"><?=_("Lost Pass Phrase")?></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD" width="125"><?=_("Email Address")?>: </td>
|
|
|
|
<td class="DataTD" width="125"><input type="text" name="email" value="<?=$_SESSION[lostpw][email]?>"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Date of Birth")?><br>
|
|
|
|
(<?=_("dd/mm/yyyy")?>)</td>
|
|
|
|
<td class="DataTD"><nobr><select name="day">
|
|
|
|
<?
|
|
|
|
for($i = 1; $i <= 31; $i++)
|
|
|
|
{
|
|
|
|
echo "<option";
|
|
|
|
if($_SESSION[lostpw][day] == $i)
|
|
|
|
echo " selected";
|
|
|
|
echo ">$i</option>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
<select name="month">
|
|
|
|
<?
|
|
|
|
for($i = 1; $i <= 12; $i++)
|
|
|
|
{
|
|
|
|
echo "<option value='$i'";
|
|
|
|
if($_SESSION[lostpw][month] == $i)
|
|
|
|
echo " selected";
|
|
|
|
echo ">".ucwords(strftime("%B", mktime(0,0,0,$i,1,date("Y"))))."</option>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
<input type="text" name="year" value="<?=$_SESSION[lostpw][year]?>" size="4"></nobr>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Next")?>"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<input type="hidden" name="oldid" value="<?=$id?>">
|
|
|
|
</form>
|