|
|
@ -13,17 +13,18 @@
|
|
|
|
PARTICULAR PURPOSE. See the License for more details.
|
|
|
|
PARTICULAR PURPOSE. See the License for more details.
|
|
|
|
*/ ?>
|
|
|
|
*/ ?>
|
|
|
|
<?
|
|
|
|
<?
|
|
|
|
$year = intval(substr($_SESSION['_config']['user']['dob'], 0, 4));
|
|
|
|
$user = $_SESSION['profile'];
|
|
|
|
$month = intval(substr($_SESSION['_config']['user']['dob'], 5, 2));
|
|
|
|
$year = intval(substr($user['dob'], 0, 4));
|
|
|
|
$day = intval(substr($_SESSION['_config']['user']['dob'], 8, 2));
|
|
|
|
$month = intval(substr($user['dob'], 5, 2));
|
|
|
|
|
|
|
|
$day = intval(substr($user['dob'], 8, 2));
|
|
|
|
|
|
|
|
|
|
|
|
$body = sprintf(_("Hi %s,"),$_SESSION['_config']['user']['fname'])."\n";
|
|
|
|
$body = sprintf(_("Hi %s,"),$user['fname'])."\n";
|
|
|
|
$body .= _("You are receiving this email because you or someone else")."\n";
|
|
|
|
$body .= _("You are receiving this email because you or someone else")."\n";
|
|
|
|
$body .= _("has viewed your lost password questions.")."\n";
|
|
|
|
$body .= _("has viewed your lost password questions.")."\n";
|
|
|
|
|
|
|
|
|
|
|
|
$body .= _("Best regards")."\n"._("CAcert.org Support!");
|
|
|
|
$body .= _("Best regards")."\n"._("CAcert.org Support!");
|
|
|
|
|
|
|
|
|
|
|
|
sendmail($_SESSION['_config']['user']['email'], "[CAcert.org] "._("Email Notification"), $body, "support@cacert.org", "", "", "CAcert Support");
|
|
|
|
sendmail($user['email'], "[CAcert.org] "._("Email Notification"), $body, "support@cacert.org", "", "", "CAcert Support");
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<form method="post" action="account.php">
|
|
|
|
<form method="post" action="account.php">
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper" width="400">
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper" width="400">
|
|
|
@ -33,22 +34,22 @@
|
|
|
|
<? if($_SESSION['profile']['points'] == 0) { ?>
|
|
|
|
<? if($_SESSION['profile']['points'] == 0) { ?>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD" width="125"><?=_("First Name")?>: </td>
|
|
|
|
<td class="DataTD" width="125"><?=_("First Name")?>: </td>
|
|
|
|
<td class="DataTD" width="125"><input type="text" name="fname" value="<?=$_SESSION['_config']['user']['fname']?>"></td>
|
|
|
|
<td class="DataTD" width="125"><input type="text" name="fname" value="<?=$user['fname']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD" valign="top"><?=_("Middle Name(s)")?><br>
|
|
|
|
<td class="DataTD" valign="top"><?=_("Middle Name(s)")?><br>
|
|
|
|
(<?=_("optional")?>)
|
|
|
|
(<?=_("optional")?>)
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="DataTD"><input type="text" name="mname" value="<?=$_SESSION['_config']['user']['mname']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="mname" value="<?=$user['mname']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Last Name")?>: </td>
|
|
|
|
<td class="DataTD"><?=_("Last Name")?>: </td>
|
|
|
|
<td class="DataTD"><input type="text" name="lname" value="<?=$_SESSION['_config']['user']['lname']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="lname" value="<?=$user['lname']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Suffix")?><br>
|
|
|
|
<td class="DataTD"><?=_("Suffix")?><br>
|
|
|
|
(<?=_("optional")?>)</td>
|
|
|
|
(<?=_("optional")?>)</td>
|
|
|
|
<td class="DataTD"><input type="text" name="suffix" value="<?=$_SESSION['_config']['user']['suffix']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="suffix" value="<?=$user['suffix']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Date of Birth")?><br>
|
|
|
|
<td class="DataTD"><?=_("Date of Birth")?><br>
|
|
|
@ -81,22 +82,22 @@
|
|
|
|
<? } else { ?>
|
|
|
|
<? } else { ?>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD" width="125"><?=_("First Name")?>: </td>
|
|
|
|
<td class="DataTD" width="125"><?=_("First Name")?>: </td>
|
|
|
|
<td class="DataTD" width="125"><?=$_SESSION['_config']['user']['fname']?></td>
|
|
|
|
<td class="DataTD" width="125"><?=$user['fname']?></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD" valign="top"><?=_("Middle Name(s)")?><br>
|
|
|
|
<td class="DataTD" valign="top"><?=_("Middle Name(s)")?><br>
|
|
|
|
(<?=_("optional")?>)
|
|
|
|
(<?=_("optional")?>)
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="DataTD"><?=$_SESSION['_config']['user']['mname']?></td>
|
|
|
|
<td class="DataTD"><?=$user['mname']?></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Last Name")?>: </td>
|
|
|
|
<td class="DataTD"><?=_("Last Name")?>: </td>
|
|
|
|
<td class="DataTD"><?=$_SESSION['_config']['user']['lname']?></td>
|
|
|
|
<td class="DataTD"><?=$user['lname']?></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Suffix")?><br>
|
|
|
|
<td class="DataTD"><?=_("Suffix")?><br>
|
|
|
|
(<?=_("optional")?>)</td>
|
|
|
|
(<?=_("optional")?>)</td>
|
|
|
|
<td class="DataTD"><?=$_SESSION['_config']['user']['suffix']?></td>
|
|
|
|
<td class="DataTD"><?=$user['suffix']?></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Date of Birth")?><br>
|
|
|
|
<td class="DataTD"><?=_("Date of Birth")?><br>
|
|
|
@ -108,24 +109,24 @@
|
|
|
|
<td class="DataTD" colspan="2"><?=_("Lost Pass Phrase Questions")?></td>
|
|
|
|
<td class="DataTD" colspan="2"><?=_("Lost Pass Phrase Questions")?></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD">1) <input type="text" name="Q1" size="15" value="<?=$_SESSION['_config']['user']['Q1']?>"></td>
|
|
|
|
<td class="DataTD">1) <input type="text" name="Q1" size="15" value="<?=$user['Q1']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A1" value="<?=$_SESSION['_config']['user']['A1']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A1" value="<?=$user['A1']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD">2) <input type="text" name="Q2" size="15" value="<?=$_SESSION['_config']['user']['Q2']?>"></td>
|
|
|
|
<td class="DataTD">2) <input type="text" name="Q2" size="15" value="<?=$user['Q2']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A2" value="<?=$_SESSION['_config']['user']['A2']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A2" value="<?=$user['A2']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD">3) <input type="text" name="Q3" size="15" value="<?=$_SESSION['_config']['user']['Q3']?>"></td>
|
|
|
|
<td class="DataTD">3) <input type="text" name="Q3" size="15" value="<?=$user['Q3']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A3" value="<?=$_SESSION['_config']['user']['A3']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A3" value="<?=$user['A3']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD">4) <input type="text" name="Q4" size="15" value="<?=$_SESSION['_config']['user']['Q4']?>"></td>
|
|
|
|
<td class="DataTD">4) <input type="text" name="Q4" size="15" value="<?=$user['Q4']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A4" value="<?=$_SESSION['_config']['user']['A4']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A4" value="<?=$user['A4']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD">5) <input type="text" name="Q5" size="15" value="<?=$_SESSION['_config']['user']['Q5']?>"></td>
|
|
|
|
<td class="DataTD">5) <input type="text" name="Q5" size="15" value="<?=$user['Q5']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A5" value="<?=$_SESSION['_config']['user']['A5']?>"></td>
|
|
|
|
<td class="DataTD"><input type="text" name="A5" value="<?=$user['A5']?>"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Update")?>"></td>
|
|
|
|
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Update")?>"></td>
|
|
|
|