1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<?/*
LibreSSL - CAcert web application
Copyright (C) 2004-2008 CAcert Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
$colspandefault=2;
$userid = intval($_REQUEST['userid']);
$res =get_user_data($userid);
$row = mysql_fetch_assoc($res);
$fname = $row['fname'];
$mname = $row['mname'];
$lname = $row['lname'];
$suffix = $row['suffix'];
$dob = $row['dob'];
$name = $fname." ".$mname." ".$lname." ".$suffix;
$email = $row['email'];
?>
<table>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=sprintf(_('Account history of %s'),'username')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('User actions')?></td>
</tr>
<tr>
<td class="DataTD"><?=_('User name')?></td>
<td class="DataTD"><?=$name?></td>
</tr>
<tr>
<td class="DataTD"><?=_('Date of Birth')?></td>
<td class="DataTD"><?=$dob?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Is Assurer")?>:</td>
<td class="DataTD"><?= ($row['assurer']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Blocked Assurer")?>:</td>
<td class="DataTD"><?= ($row['assurer_blocked']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Account Locking")?>:</td>
<td class="DataTD"><?= ($row['locked']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Code Signing")?>:</td>
<td class="DataTD"><?= ($row['codesign']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Org Assurer")?>:</td>
<td class="DataTD"><?= ($row['orgadmin']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("TTP Admin")?>:</td>
<td class="DataTD"><?= $row['ttpadmin']._(' - 0 = none, 1 = TTP Admin, 2 = TTP TOPUP admin')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Location Admin")?>:</td>
<td class="DataTD"><?= ($row['locadmin']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Admin")?>:</td>
<td class="DataTD"><?= ($row['admin']==0)? _('No'):_('Yes')?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Ad Admin")?>:</td>
<td class="DataTD"><?= $row['adadmin']._(' - 0 = none, 1 = submit, 2 = approve')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('Address')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('CATS')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('CCA')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('Support Engineer actions')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('Certificate actions')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('Client certificates')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('Server certificates')?></td>
</tr>
<tr>
<td colspan="<? $colspandefault ?>" class="title"><?=_('GPG certificates')?></td>
</tr>
</table>
|