-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·104 lines (101 loc) · 2.58 KB
/
index.php
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
<html>
<head>
<title>Kanzleiserver</title>
<style>
body {
background-color: #F3F3F3;
background-image: url('Desktop/curve.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
button {
cursor: pointer;
width: 120px;
}
button img {
padding: none;
margin: none;
width: 85;
height: 85;
/*box-shadow: 2px 2px 5px darkgray;*/
}
div.menu {
background: #e0e0e0;
border-radius: 15px;
padding: 10px;
width: 450px;
left: 30%;
top: 25%;"
}
</style>
</head>
<body>
<table style="border: none; width: 100%; height: 100%; padding: none; margin: none;">
<tr style="width: 100%;">
<td align=center style="width: 100%; vertical-align: middle;">
<div class=menu id=menu>
<font size=17 color="#202020" style="text-decoration:none; text-shadow: 2px 2px 5px darkgray;">Kanzleiserver</font>
<hr/>
Willkommen, <?php
$values = [];
foreach (explode('/', $_SERVER['SSL_CLIENT_S_DN']) as $definition) {
$e = explode('=', $definition);
if ($e[0] != '')
$values[ $e[0] ] = $e[1];
}
#print_r($values);
if (array_key_exists('CN', $values))
$friendlyName = $values['CN'];
else $friendlyName = 'Unbekannter';
echo $friendlyName;
?> !<br/><br/>
<table border=0 cellpadding=0 cellspacing=12>
<tr>
<td>
<button onclick="window.location.href='/LawyerWiki/index.php/Kategorie:Portal';">
<img src="Desktop/Puzzle.png"/><br/>
Wiki
</button>
</td>
<td>
<button onclick="window.location.href='/LawyerCloud/';">
<img src="Desktop/ownCloud.png"/><br/>
Cloud-Dienste
</button>
</td>
<td>
<button onclick="window.location.href='/WebSC/';">
<img src="Desktop/keycard.png"/><br/>
Verschlüsselung
</button>
</td>
<td>
</td>
</tr>
<tr>
<td>
<button onclick="window.location.href='/OpenLawyers/';">
<img src="Desktop/OpenLawyers.png"/><br/>
OpenLawyers
</button>
</td>
<td>
<button onclick="window.location.href='/PHPAdvokat/';">
<img src="Desktop/PHPAdvokat.png"/><br/>
PHPAdvokat
</button>
</td>
</tr>
</table>
<br/>
<hr/>
<small>
Du: <?php echo $_SERVER['REMOTE_ADDR']; ?>, der Kanzleiserver: <?php echo $_SERVER['SERVER_ADDR']; ?>
</small>
</div>
<!--div class=shadow id=shadow></div-->
</td>
</tr>
</table>
</body>
</html>