'.CA_cert_text($serial).''; break; case 'dl-confirm': printHeader('ca'); $rec = CAdb_get_entry($serial); ?>
|
Serial Number |
'.htvar($rec['serial']).'
Debug Info:
| CERTIFICATE MANAGEMENT CONTROL PANEL | ||||||||
|---|---|---|---|---|---|---|---|---|
| '.$head.'';
if ($sortfield == $field) {
print ' '.
' | ';
}
print 'Actions | '; print ''; $x = "^[$show_valid$show_revoked$show_expired]"; if (in_array($PHPki_user, $PHPki_admins)) { $x = "$x.*$search"; } else { $x = "$x.*$search.*$PHPki_user|$x.*$PHPki_user.*$search"; } $db = csort(CAdb_to_array($x), $sortfield, ($ascdec=='A'?SORT_ASC:SORT_DESC)); $stcolor = array('Valid'=>'green','Revoked'=>'red','Expired'=>'orange'); foreach ($db as $rec) { print '|||||||
| ' .$rec[status].' | '.$rec['issued'].' | '.$rec['expires'].' | '.$rec['common_name'].' | ' . htvar($rec['email']) . ' | '.htvar($rec['organization']).' | '.htvar($rec['unit']).' | '.htvar($rec['locality']).' | '.
' ';
if ($rec['status'] == 'Valid') {
print '
'.
'
'.
' ';
}
print '
'.
'
|