Upstream tarball 20080522
[amule.git] / src / webserver / litoral / log.php
blob707464efa21d544c78cc0cdcd91ad1d3a10090bb
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html><head>
4 <title>amule log page</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf8">
6 <meta http-equiv="pragmas" content="no-cache">
7 <?php
8 if ( $_SESSION["auto_refresh"] > 0 ) {
9 echo "<meta http-equiv=\"refresh\" content=\"", $_SESSION["auto_refresh"], '">';
13 <style type="text/css">
14 <!--
15 body {
16 margin-left: 0px;
17 margin-top: 0px;
18 margin-right: 0px;
19 margin-bottom: 0px;
20 background-color: #FFFFFF;
21 font-size: small;
22 font-family: Fixed;
23 color: #000000;
25 -->
26 </style>
27 </head>
28 <body>
29 <code><pre>
30 <?php
31 if ("srv" == $HTTP_GET_VARS['show'] || 1 == $HTTP_GET_VARS['rstsrv']) {
32 echo amule_get_serverinfo($HTTP_GET_VARS['rstsrv']);
33 }else {
34 echo amule_get_log($HTTP_GET_VARS['rstlog']);
37 </pre></code>
38 </body>
39 </html>