|
|
|
@ -20,13 +20,14 @@
|
|
|
|
|
<td class="DataTD"><?=_("Status")?></td>
|
|
|
|
|
<td class="DataTD"><?=_("Email Address")?></td>
|
|
|
|
|
<td class="DataTD"><?=_("Expires")?></td>
|
|
|
|
|
<td class="DataTD"><?=_("Key ID")?></td>
|
|
|
|
|
|
|
|
|
|
<?
|
|
|
|
|
$query = "select UNIX_TIMESTAMP(`issued`) as `issued`,
|
|
|
|
|
UNIX_TIMESTAMP(`expire`) - UNIX_TIMESTAMP() as `timeleft`,
|
|
|
|
|
UNIX_TIMESTAMP(`expire`) as `expired`,
|
|
|
|
|
`expire` as `expires`, `id`, `level`,
|
|
|
|
|
`email` from `gpg` where `memid`='".$_SESSION[profile][id]."'
|
|
|
|
|
`email`,`keyid` from `gpg` where `memid`='".$_SESSION[profile][id]."'
|
|
|
|
|
ORDER BY `issued` desc";
|
|
|
|
|
$res = mysql_query($query);
|
|
|
|
|
if(mysql_num_rows($res) <= 0)
|
|
|
|
@ -57,6 +58,8 @@
|
|
|
|
|
<td class="DataTD"><a href="account.php?id=6&cert=<?=$row[id]?>"><?=$row['email']?></a></td>
|
|
|
|
|
<? } ?>
|
|
|
|
|
<td class="DataTD"><?=$row[expires]?></td>
|
|
|
|
|
<td class="DataTD"><?=$row[keyid]?></td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
<? } ?>
|
|
|
|
|
<? } ?>
|
|
|
|
|