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">
20 background
-color
: #6699CC;
25 <table width
="800" border
="0" cellpadding
="0" cellspacing
="0">
28 <td width
="21" height
="9"></td
>
36 <td height
="20"> 
;</td
>
37 <td valign
="top"><img src
="connect.gif" width
="16" height
="16"></td
>
38 <td valign
="top"><strong
>Connection status
: </strong
></td
>
42 $stats = amule_get_stats();
43 if ( $stats["id"] == 0 ) {
45 } elseif ( $stats["id"] == 0xffffffff ) {
46 echo "Connecting ...";
48 echo "Connected with ", (($stats["id"] < 16777216) ?
"low" : "high"), " ID to ",
49 $stats["serv_name"], " ", $stats["serv_addr"];
56 <td height
="20"> 
;</td
>
57 <td valign
="top"><!--DWLayoutEmptyCell
--> 
;</td
>
58 <td valign
="top"><strong
>Kad status
: </strong
></td
>
62 $stats = amule_get_stats();
63 if ( $stats["kad_connected"] == 1 ) {
65 if ( $stats["kad_firewalled"] == 1 ) {