where `emailcerts`.`memid`='".$_SESSION['profile']['id']."'
";
if($_GET['viewall'] != 1)
if($viewall != 1)
$query .= " AND `revoked`=0 AND `renewed`=0 ";
$query .= " GROUP BY `emailcerts`.`id` ";
if($_GET['viewall'] != 1)
if($viewall != 1)
$query .= " HAVING `timeleft` > 0 ";
$query .= " ORDER BY `emailcerts`.`modified` desc";
// echo $query."<br>\n";
@ -93,7 +94,7 @@
<?}?>
<tr>
<tdclass="DataTD"colspan="8">
<ahref="account.php?id=5&viewall=<?=intval(!$_GET['viewall'])?>"><b><?=$_GET['viewall']?_("Hide old certificates"):_("View all certificates")?></b></a>
<ahref="account.php?id=5&viewall=<?=!viewall?>"><b><?=$viewall?_("Hide old certificates"):_("View all certificates")?></b></a>