lgromero-new-oglive
Line | |
---|
1 | <?php // Access to public menu. |
---|
2 | if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])){ |
---|
3 | $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; |
---|
4 | } else { |
---|
5 | $ip = $_SERVER['REMOTE_ADDR']; |
---|
6 | } |
---|
7 | ?> |
---|
8 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
9 | <html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es"> |
---|
10 | |
---|
11 | <head> |
---|
12 | <meta http-equiv="content-type" content="text/html;charset=utf-8" /> |
---|
13 | <title>Private menu for OpenGnsys clients</title> |
---|
14 | <style type="text/css"> |
---|
15 | |
---|
16 | body { background: #fff; font-size: 0.7em; } |
---|
17 | a:link, a:visited { text-decoration: none; color:#900; font-weight: bold; } |
---|
18 | a:hover, a:active { color:#d90; } |
---|
19 | |
---|
20 | h1 { |
---|
21 | font-size: 1.5em; |
---|
22 | width: 100%; |
---|
23 | vertical-align: bottom; |
---|
24 | color: #555; |
---|
25 | background: transparent url('images/opengnsys.png') no-repeat top left; |
---|
26 | padding: 2em 0 1.5em 12em; |
---|
27 | margin-bottom: 1em; |
---|
28 | } |
---|
29 | |
---|
30 | div.admin { |
---|
31 | margin-left: 5em; |
---|
32 | float: left; |
---|
33 | } |
---|
34 | |
---|
35 | </style> |
---|
36 | </head> |
---|
37 | |
---|
38 | <body> |
---|
39 | <h1>Option Menu</h1> |
---|
40 | |
---|
41 | <div class="admin"> |
---|
42 | <p>Link to return to the public zone</p> |
---|
43 | <a href="../varios/menucliente.php?iph=<?php echo $ip ?>">Return</a> |
---|
44 | </div> |
---|
45 | </body> |
---|
46 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.