From b0dc6c5dc611f869bd3ac23ddf504dab561f8b21 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Mon, 20 Jan 2014 08:17:51 +0100 Subject: bug 1138: rework of the SE log output --- pages/account/13.php | 2 +- pages/account/43.php | 2 +- pages/account/59.php | 372 +++++++++++++++++++++++++++------------------------ 3 files changed, 201 insertions(+), 175 deletions(-) (limited to 'pages') diff --git a/pages/account/13.php b/pages/account/13.php index 7aa95f1..ea9811a 100644 --- a/pages/account/13.php +++ b/pages/account/13.php @@ -123,7 +123,7 @@ - + diff --git a/pages/account/43.php b/pages/account/43.php index 5214043..bee4b20 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -392,7 +392,7 @@ if(intval($_REQUEST['userid']) > 0) { // show account history ?> - +
diff --git a/pages/account/59.php b/pages/account/59.php index f9aadab..0eaafc4 100644 --- a/pages/account/59.php +++ b/pages/account/59.php @@ -1,30 +1,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:

0) { ?> - - - - +
+ + + + output_log_email_header(); + while($drow = mysql_fetch_assoc($dres)) + { + output_log_email($drow,$email); + } ?>

- - - - + + + 0) { - output_log_domain_header(); - while($drow = mysql_fetch_assoc($dres)) - { - output_log_domain($drow,$email); - } + output_log_domains_header(); + while($drow = mysql_fetch_assoc($dres)) + { + output_log_domains($drow,$email); + } }ELSE{?> - +

@@ -149,19 +152,19 @@ if(mysql_num_rows($dres) > 0) { $dres = get_training_result($userid); ?> - - - + + + 0) { - output_log_training_header(); - while($drow = mysql_fetch_assoc($dres)) - { - output_log_training($drow); - } -}ELSE{ - ?> + if(mysql_num_rows($dres) > 0) { + output_log_training_header(); + while($drow = mysql_fetch_assoc($dres)) + { + output_log_training($drow); + } + }ELSE{ + ?>

@@ -169,90 +172,113 @@ if(mysql_num_rows($dres) > 0) { $dres = get_user_agreement($userid,'',1); ?> - - - + + + 0) { - output_log_agreement_header(); - while($drow = mysql_fetch_assoc($dres)) - { - output_log_agreement($drow); - } -}ELSE{ - ?> + if(mysql_num_rows($dres) > 0) { + output_log_agreement_header(); + while($drow = mysql_fetch_assoc($dres)) + { + output_log_agreement($drow); + } + }ELSE{ + ?>

- - - + + + 0) { - output_client_cert_header($support); - while($drow = mysql_fetch_assoc($dres)) - { - output_client_cert($drow,$support); - } -}ELSE{ - ?> + if(mysql_num_rows($dres) > 0) { + output_client_cert_header($support); + while($drow = mysql_fetch_assoc($dres)) + { + output_client_cert($drow,$support); + } + }ELSE{ + ?>

- - - + + + 0) { - output_log_server_certs_header($support); - while($drow = mysql_fetch_assoc($dres)) - { - output_log_server_certs($drow,$support); - } -}ELSE{ - ?> + if(mysql_num_rows($dres) > 0) { + output_log_server_certs_header($support); + while($drow = mysql_fetch_assoc($dres)) + { + output_log_server_certs($drow,$support); + } + }ELSE{ + ?>

- - - + + + 0) { - output_log_server_certs_header($support); - while($drow = mysql_fetch_assoc($dres)) - { - output_log_server_certs($drow,$support); - } -}ELSE{ - ?> + if(mysql_num_rows($dres) > 0) { + output_gpg_certs_header($support); + while($drow = mysql_fetch_assoc($dres)) + { + output_gpg_certs($drow,$support); + } + }ELSE{ + ?> +
+
+ + + + + + + 0) { + output_log_se_header($support); + while($drow = mysql_fetch_assoc($dres)) + { + output_log_se($drow,$support); + } + }ELSE{ + ?>
-} \ No newline at end of file -- cgit v1.2.1