|
|
|
@ -15,10 +15,11 @@
|
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
*/ ?>
|
|
|
|
|
<? $viewall=0; if(array_key_exists('viewall',$_REQUEST)) $viewall=intval($_REQUEST['viewall']); ?>
|
|
|
|
|
<form method="post" action="account.php">
|
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="5" class="title"><?=_("Domain Certificates")?> - <a href="account.php?id=12&viewall=<?=intval(!$_GET['viewall'])?>"><?=_("View all certificates")?></a></td>
|
|
|
|
|
<td colspan="5" class="title"><?=_("Domain Certificates")?> - <a href="account.php?id=12&viewall=<?=!$viewall?>"><?=_("View all certificates")?></a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="DataTD"><?=_("Renew/Revoke/Delete")?></td>
|
|
|
|
@ -35,7 +36,7 @@
|
|
|
|
|
UNIX_TIMESTAMP(`revoked`) as `revoked`, `CN`, `domaincerts`.`id` as `id`
|
|
|
|
|
from `domaincerts`,`domains`
|
|
|
|
|
where `memid`='".intval($_SESSION['profile']['id'])."' and `deleted`=0 and `domaincerts`.`domid`=`domains`.`id` ";
|
|
|
|
|
if($_GET['viewall'] != 1)
|
|
|
|
|
if($viewall != 1)
|
|
|
|
|
{
|
|
|
|
|
$query .= "AND `revoked`=0 AND `renewed`=0 ";
|
|
|
|
|
$query .= "HAVING `timeleft` > 0 ";
|
|
|
|
|