From b0904b2bda37b292fa5d29d5d3b7ec64d100ad16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Thu, 4 Dec 2014 18:26:23 +0100 Subject: Source code taken from cacert-20141124.tar.bz2 --- pages/account/10.php | 65 +- pages/account/12.php | 29 +- pages/account/13.php | 31 +- pages/account/15.php | 2 +- pages/account/16.php | 102 ++- pages/account/18.php | 9 +- pages/account/19.php | 2 +- pages/account/20.php | 61 +- pages/account/21.php | 4 +- pages/account/22.php | 10 +- pages/account/23.php | 2 +- pages/account/3.php | 131 ++-- pages/account/43.php | 1873 +++++++++++++++++++++++++++----------------------- pages/account/44.php | 27 +- pages/account/5.php | 39 +- pages/account/52.php | 107 +-- pages/account/55.php | 234 ++++--- pages/account/56.php | 82 +-- pages/account/57.php | 26 +- pages/account/58.php | 4 +- pages/account/59.php | 385 +++++++++++ pages/account/6.php | 14 +- pages/gpg/2.php | 19 +- pages/index/52.php | 33 + pages/wot/1.php | 22 +- pages/wot/10.php | 30 +- pages/wot/15.php | 2 +- pages/wot/5.php | 47 +- pages/wot/6.php | 15 +- pages/wot/9.php | 25 +- 30 files changed, 2138 insertions(+), 1294 deletions(-) create mode 100644 pages/account/59.php create mode 100644 pages/index/52.php (limited to 'pages') diff --git a/pages/account/10.php b/pages/account/10.php index 8908400..17999a7 100644 --- a/pages/account/10.php +++ b/pages/account/10.php @@ -30,17 +30,66 @@

+


+ +

+


+ +

+ +
+ + + + +
+ = 50) { ?> -
-
+
    +
  • + + +
  • +
  • + + +
  • +

-


-

-

-
-

CCA")?>
-

+ +

+
    + $display_info) { +?> +
  • + /> + +
  • + +
+ +
+
+ +

" />
+ + + diff --git a/pages/account/12.php b/pages/account/12.php index 9058a07..f4428aa 100644 --- a/pages/account/12.php +++ b/pages/account/12.php @@ -19,7 +19,7 @@
- + @@ -34,17 +34,20 @@ $query = "select UNIX_TIMESTAMP(`domaincerts`.`created`) as `created`, UNIX_TIMESTAMP(`domaincerts`.`expire`) - UNIX_TIMESTAMP() as `timeleft`, UNIX_TIMESTAMP(`domaincerts`.`expire`) as `expired`, - `domaincerts`.`expire` as `expires`, `revoked` as `revoke`, - UNIX_TIMESTAMP(`revoked`) as `revoked`, `CN`, `domaincerts`.`serial`, `domaincerts`.`id` as `id`, + `domaincerts`.`expire`, + `domaincerts`.`revoked` as `revoke`, + UNIX_TIMESTAMP(`revoked`) as `revoked`, + if (`domaincerts`.`expire`=0,CURRENT_TIMESTAMP(),`domaincerts`.`modified`) as `modified`, + `CN`, `domaincerts`.`serial`, `domaincerts`.`id` as `id`, `domaincerts`.`description` from `domaincerts`,`domains` where `memid`='".intval($_SESSION['profile']['id'])."' and `domaincerts`.`domid`=`domains`.`id` "; if($viewall != 1) { $query .= "AND `revoked`=0 AND `renewed`=0 "; - $query .= "HAVING `timeleft` > 0 "; + $query .= "HAVING `timeleft` > 0 or `expire` = 0 "; } - $query .= "ORDER BY `domaincerts`.`modified` desc"; + $query .= "ORDER BY `modified` desc"; //echo $query."
\n"; $res = mysql_query($query); if(mysql_num_rows($res) <= 0) @@ -69,24 +72,24 @@ ?> - + - + - + - - - + + + @@ -104,6 +107,6 @@
- -
 
- +
- +
diff --git a/pages/account/13.php b/pages/account/13.php index 08f325d..ea28c0e 100644 --- a/pages/account/13.php +++ b/pages/account/13.php @@ -52,22 +52,22 @@ : - +
() - + : - +
() - +
@@ -100,22 +100,22 @@ : - +
() - + : - +
() - +
@@ -124,19 +124,12 @@ - - - - -
- () - + -
- () - + + @@ -167,5 +160,5 @@ - + diff --git a/pages/account/15.php b/pages/account/15.php index 6cd3115..405cb44 100644 --- a/pages/account/15.php +++ b/pages/account/15.php @@ -30,7 +30,7 @@ } $row = mysql_fetch_assoc($res); $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname`; + $cert = shell_exec("/usr/bin/openssl x509 -in $crtname"); ?>

diff --git a/pages/account/16.php b/pages/account/16.php
index 564463e..8783bc5 100644
--- a/pages/account/16.php
+++ b/pages/account/16.php
@@ -25,47 +25,101 @@
   
     
     
-
+
   
-    :
-    
+    
+    
   
-
+
   
-    :
-    
+