Displaying of Key ID
This commit is contained in:
parent
81808a2c24
commit
3ac0f6dcc9
1 changed files with 5 additions and 2 deletions
|
@ -20,13 +20,14 @@
|
||||||
<td class="DataTD"><?=_("Status")?></td>
|
<td class="DataTD"><?=_("Status")?></td>
|
||||||
<td class="DataTD"><?=_("Email Address")?></td>
|
<td class="DataTD"><?=_("Email Address")?></td>
|
||||||
<td class="DataTD"><?=_("Expires")?></td>
|
<td class="DataTD"><?=_("Expires")?></td>
|
||||||
|
<td class="DataTD"><?=_("Key ID")?></td>
|
||||||
|
|
||||||
<?
|
<?
|
||||||
$query = "select UNIX_TIMESTAMP(`issued`) as `issued`,
|
$query = "select UNIX_TIMESTAMP(`issued`) as `issued`,
|
||||||
UNIX_TIMESTAMP(`expire`) - UNIX_TIMESTAMP() as `timeleft`,
|
UNIX_TIMESTAMP(`expire`) - UNIX_TIMESTAMP() as `timeleft`,
|
||||||
UNIX_TIMESTAMP(`expire`) as `expired`,
|
UNIX_TIMESTAMP(`expire`) as `expired`,
|
||||||
`expire` as `expires`, `id`, `level`,
|
`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";
|
ORDER BY `issued` desc";
|
||||||
$res = mysql_query($query);
|
$res = mysql_query($query);
|
||||||
if(mysql_num_rows($res) <= 0)
|
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"><a href="account.php?id=6&cert=<?=$row[id]?>"><?=$row['email']?></a></td>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<td class="DataTD"><?=$row[expires]?></td>
|
<td class="DataTD"><?=$row[expires]?></td>
|
||||||
|
<td class="DataTD"><?=$row[keyid]?></td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
Loading…
Reference in a new issue