summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Froehlich <ted@convey.de>2011-09-24 20:45:43 +0200
committerBernhard Froehlich <ted@convey.de>2011-09-24 20:45:43 +0200
commit4a60acc36346f4686ef6b3941c88b1f004c714c4 (patch)
tree955649206ab0ade268555e163d287769c7d29fb0
parent9152499f235df2f844beda2effff2d23e492fc06 (diff)
downloadcacert-devel-4a60acc36346f4686ef6b3941c88b1f004c714c4.tar.gz
cacert-devel-4a60acc36346f4686ef6b3941c88b1f004c714c4.tar.xz
cacert-devel-4a60acc36346f4686ef6b3941c88b1f004c714c4.zip
Stripped training spaces
-rw-r--r--pages/account/43.php36
1 files changed, 18 insertions, 18 deletions
diff --git a/pages/account/43.php b/pages/account/43.php
index 0dfee1c..14cd9b0 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -21,10 +21,10 @@
$assurance = mysql_escape_string(intval($_REQUEST['assurance']));
$row = 0;
$res = mysql_query("select `to` from `notary` where `id`='$assurance'");
- if ($res) {
+ if ($res) {
$row = mysql_fetch_assoc($res);
}
- mysql_query("delete from `notary` where `id`='$assurance'");
+ mysql_query("delete from `notary` where `id`='$assurance'");
if ($row) {
fix_assurer_flag($row['to']);
}
@@ -334,9 +334,9 @@
$dres = mysql_query($query);
$rcexpired = 0;
$rcrevoked = 0;
- $rcexpiremax = "0000-00-00 00:00:00";
+ $rcexpiremax = "0000-00-00 00:00:00";
while ($drow = mysql_fetch_assoc($dres)) {
- $ndomid = intval($drow['domids']);
+ $ndomid = intval($drow['domids']);
$query2 = "select COUNT(`id`) as `dexpired` from `domaincerts` where `domid`='".$ndomid."' and `revoked` = '0000-00-00 00:00:00' and `expire` < now() ";
$dres2 = mysql_query($query2);
@@ -352,11 +352,11 @@
$query2 = "select `expire` as `mexpire` from `domaincerts` where `domid`='".$ndomid."' order by `expire` desc ";
$dres2 = mysql_query($query2);
$drow2 = mysql_fetch_assoc($dres2);
- $rcexpiremax = max($rcexpiremax,$drow2['mexpire']);
+ $rcexpiremax = max($rcexpiremax,$drow2['mexpire']);
$rcactive = intval($rctotal)-intval($rcexpired)-intval($rcrevoked);
}
- }
+ }
?>
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
@@ -381,7 +381,7 @@
<td class="DataTD"><?=intval($rcactive)?></td>
<td class="DataTD"><?=intval($rcexpired)?></td>
<td class="DataTD"><?=intval($rcrevoked)?></td>
- <td class="DataTD"><?=($rcexpiremax!="0000-00-00 00:00:00")?substr($rcexpiremax,0,10):(($rcactive>0)?"Pending":"&nbsp;") ?></td>
+ <td class="DataTD"><?=($rcexpiremax!="0000-00-00 00:00:00")?substr($rcexpiremax,0,10):(($rcactive>0)?"Pending":"&nbsp;") ?></td>
</tr>
<? } else { ?>
<td colspan="5" class="DataTD"><?=_("None")?></td>
@@ -395,7 +395,7 @@
if($rctotal > 0) {
$rcexpired = 0;
$rcrevoked = 0;
- $rcexpiremax = "0000-00-00 00:00:00";
+ $rcexpiremax = "0000-00-00 00:00:00";
$query2 = "select COUNT(`id`) as `eexpired` from `emailcerts` where `memid`='".intval($row['id'])."' and `revoked` = '0000-00-00 00:00:00' and `expire` < now() ";
$dres2 = mysql_query($query2);
@@ -411,8 +411,8 @@
$dres2 = mysql_query($query2);
$drow2 = mysql_fetch_assoc($dres2);
$rcexpiremax = $drow2['eexpire'];
-
- $rcactive = intval($rctotal)-intval($rcexpired)-intval($rcrevoked);
+
+ $rcactive = intval($rctotal)-intval($rcexpired)-intval($rcrevoked);
?>
<tr>
@@ -431,11 +431,11 @@
<? }
$query = "select COUNT(`id`) as `countgpgcerts` from `gpg` where `memid`='".intval($row['id'])."' ";
$dres = mysql_query($query);
- $drow = mysql_fetch_assoc($dres);
+ $drow = mysql_fetch_assoc($dres);
$rctotal = $drow['countgpgcerts'];
if($rctotal > 0) {
$rcexpired = 0;
- $rcexpiremax = "0000-00-00 00:00:00";
+ $rcexpiremax = "0000-00-00 00:00:00";
$query2 = "select COUNT(`id`) as `gexpired` from `gpg` where `memid`='".intval($row['id'])."' and `expire` < now() ";
$dres2 = mysql_query($query2);
@@ -448,14 +448,14 @@
$drow2 = mysql_fetch_assoc($dres2);
$rcrevoked = intval($drow2['erevoked']);
*/
-
+
$query2 = "select `expire` as `gexpire` from `gpg` where `memid`='".intval($row['id'])."' order by `expire` desc ";
$dres2 = mysql_query($query2);
$drow2 = mysql_fetch_assoc($dres2);
$rcexpiremax = $drow2['gexpire'];
-
- $rcactive = intval($rctotal)-intval($rcexpired);
-?>
+
+ $rcactive = intval($rctotal)-intval($rcexpired);
+?>
<tr>
<td class="DataTD"><?=_("Total GPG keys")?>:</td>
<td class="DataTD"><?=intval($rctotal)?></td>
@@ -464,7 +464,7 @@
<td class="DataTD">&nbsp;</td>
<td class="DataTD"><?=($rcexpiremax!="0000-00-00 00:00:00")?substr($rcexpiremax,0,10):(($rcactive>0)?"Pending":"&nbsp;") ?></td>
</tr>
-<? } else { ?>
+<? } else { ?>
<tr>
<td class="DataTD"><?=_("Total GPG keys")?>:</td>
<td colspan="5" class="DataTD"><?=_("None")?></td>
@@ -475,7 +475,7 @@
<?
// --- bug-794 end ---
?>
-<?
+<?
// End - Debug infos
?>