1 <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
5 <title
>amule control page
</title
>
6 <meta http
-equiv
="Content-Type" content
="text/html; charset=iso-8859-1">
7 <meta http
-equiv
="pragmas" content
="no-cache">
9 if ( $_SESSION["auto_refresh"] > 0 ) {
10 echo "<meta http-equiv=\"refresh\" content=\"", $_SESSION["auto_refresh"], '">';
13 <style type
="text/css">
16 font
-family
: Helvetica
;
22 font
-family
: Helvetica
;
30 text
-decoration
: none
;
34 text
-decoration
: none
;
38 text
-decoration
: none
;
42 text
-decoration
: underline
;
45 font
-family
: Helvetica
;
50 font
-family
: Helvetica
;
55 font
-family
: Helvetica
;
60 font
-family
:"trebuchet ms",sans
-serif
;
65 border
:1px solid
#003161;
66 background
-color
: white
;
67 font
-family
:"trebuchet ms",sans
-serif
;
72 background
-color
: white
;
77 border
:1px solid
#003161;
78 background
-color
: #90B6DB;
79 font
-family
:"trebuchet ms",sans
-serif
;
86 <table width
="100%" height
="30" border
="0" align
="center" cellpadding
="0" cellspacing
="0">
88 <td width
="65%"><strong
>Ed2k
: </strong
>
90 $stats = amule_get_stats();
91 if ( $stats["id"] == 0 ) {
93 } elseif ( $stats["id"] == 0xffffffff ) {
94 echo "Connecting ...";
96 echo "Connected with ", (($stats["id"] < 16777216) ?
"low" : "high"), " ID to ",
97 $stats["serv_name"], " ", $stats["serv_addr"];
101 <td
><strong
>Kad
:</strong
>
103 $stats = amule_get_stats();
104 if ( $stats["kad_connected"] == 1 ) {
106 if ( $stats["kad_firewalled"] == 1 ) {