1 <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title
>aMule control panel
</title
>
5 <meta http
-equiv
="Content-Type" content
="text/html; charset=iso-8859-1">
7 if ( $_SESSION["auto_refresh"] > 0 ) {
8 echo "<meta http-equiv=\"refresh\" content=\"", $_SESSION["auto_refresh"], '">';
11 amule_load_vars("stats_graph");
14 <script language
="JavaScript" type
="text/JavaScript">
16 function MM_swapImgRestore() { //v3.0
17 var i
,x
,a
=document
.MM_sr
; for(i
=0;a
&&i
<a
.length
&&(x
=a
[i
])&&x
.oSrc
;i++
) x
.src
=x
.oSrc
;
20 function MM_preloadImages() { //v3.0
21 var d
=document
; if(d
.images
){ if(!d
.MM_p
) d
.MM_p
=new Array();
22 var i
,j
=d
.MM_p
.length
,a
=MM_preloadImages
.arguments
; for(i
=0; i
<a
.length
; i++
)
23 if (a
[i
].indexOf("#")!=0){ d
.MM_p
[j
]=new Image
; d
.MM_p
[j++
].src
=a
[i
];}}
26 function MM_findObj(n
, d
) { //v4.01
27 var p
,i
,x
; if(!d
) d
=document
; if((p
=n
.indexOf("?"))>0&&parent
.frames
.length
) {
28 d
=parent
.frames
[n
.substring(p+
1)].document
; n
=n
.substring(0,p
);}
29 if(!(x
=d
[n
])&&d
.all
) x
=d
.all
[n
]; for (i
=0;!x
&&i
<d
.forms
.length
;i++
) x
=d
.forms
[i
][n
];
30 for(i
=0;!x
&&d
.layers
&&i
<d
.layers
.length
;i++
) x
=MM_findObj(n
,d
.layers
[i
].document
);
31 if(!x
&& d
.getElementById
) x
=d
.getElementById(n
); return x
;
34 function MM_swapImage() { //v3.0
35 var i
,j
=0,x
,a
=MM_swapImage
.arguments
; document
.MM_sr
=new Array; for(i
=0;i
<(a
.length
-2);i+
=3)
36 if ((x
=MM_findObj(a
[i
]))!=null){document
.MM_sr
[j++
]=x
; if(!x
.oSrc
) x
.oSrc
=x
.src
; x
.src
=a
[i+
2];}
40 <link href
="style.css" rel
="stylesheet" type
="text/css"><style type
="text/css">
43 font
-family
: Helvetica
;
49 font
-family
: Helvetica
;
57 text
-decoration
: none
;
61 text
-decoration
: none
;
65 text
-decoration
: none
;
69 text
-decoration
: underline
;
72 font
-family
: Helvetica
;
77 font
-family
: Helvetica
;
82 font
-family
: Helvetica
;
87 font
-family
:"trebuchet ms",sans
-serif
;
92 border
:1px solid
#003161;
93 background
-color
: white
;
94 font
-family
:"trebuchet ms",sans
-serif
;
99 background
-color
: white
;
104 border
:1px solid
#003161;
105 background
-color
: #90B6DB;
106 font
-family
:"trebuchet ms",sans
-serif
;
112 </head
><script language
="JavaScript" type
="text/JavaScript">
113 var openImg
= new Image();
114 openImg
.src
= "tree-open.gif";
115 var closedImg
= new Image();
116 closedImg
.src
= "tree-closed.gif";
118 function showBranch(branch
){
119 var objBranch
= document
.getElementById(branch
).style
;
120 if(objBranch
.display
=="block")
121 objBranch
.display
="none";
123 objBranch
.display
="block";
126 function swapFolder(img
){
127 objImg
= document
.getElementById(img
);
128 if(objImg
.src
.indexOf('tree-closed.gif')>-1)
129 objImg
.src
= openImg
.src
;
131 objImg
.src
= closedImg
.src
;
135 <body background
="images/fond.gif" leftmargin
="0" topmargin
="0" marginwidth
="0" marginheight
="0" onLoad
="MM_preloadImages('images/transf_1.png','images/shared_1.png','images/search_1.png','images/edkserv_1.png','images/sheserv_1.png','images/stats_1.png');">
136 <table width
="100%" height
="100%" border
="0" cellpadding
="0" cellspacing
="0">
138 <td width
="143" height
="64"><img src
="images/logo.png" width
="143" height
="64"></td
>
139 <td width
="100%" height
="64" align
="right" background
="images/fond_haut.png"> <table border
="0" cellspacing
="0" cellpadding
="0">
141 <td
><a href
="amuleweb-main-dload.php" onMouseOut
="MM_swapImgRestore()" onMouseOver
="MM_swapImage('transfert','','images/transf_1.png',1)"><img src
="images/transf_0.png" alt
="transfert" name
="transfert" width
="52" height
="50" border
="0"></a
></td
>
142 <td
><a href
="amuleweb-main-shared.php" onMouseOut
="MM_swapImgRestore()" onMouseOver
="MM_swapImage('shared','','images/shared_1.png',1)"><img src
="images/shared_0.png" alt
="shared" name
="shared" width
="52" height
="50" border
="0"></a
></td
>
143 <td
><a href
="amuleweb-main-search.php" onMouseOut
="MM_swapImgRestore()" onMouseOver
="MM_swapImage('search','','images/search_1.png',1)"><img src
="images/search_0.png" alt
="search" name
="search" width
="52" height
="50" border
="0"></a
></td
>
144 <td
><a href
="amuleweb-main-servers.php" onMouseOut
="MM_swapImgRestore()" onMouseOver
="MM_swapImage('edkserver','','images/edkserv_1.png',1)"><img src
="images/edkserv_0.png" alt
="edkserver" name
="edkserver" width
="52" height
="50" border
="0"></a
></td
>
145 <td
><a href
="amuleweb-main-kad.php" onMouseOut
="MM_swapImgRestore()" onMouseOver
="MM_swapImage('sheserv','','images/sheserv_1.png',1)"><img src
="images/sheserv_0.png" alt
="sheserv" name
="sheserv" width
="52" height
="50" border
="0"></a
></td
>
146 <td
><a href
="amuleweb-main-stats.php" onMouseOut
="MM_swapImgRestore()" onMouseOver
="MM_swapImage('statistiques','','images/stats_1.png',1)"><img src
="images/stats_0.png" alt
="statistiques" name
="statistiques" width
="52" height
="50" border
="0"></a
></td
>
147 <td
><img src
="images/col.png"></td
>
149 <td width
="190" align
="right" class="texteinv"><a href
="login.php">exit</a
><br
>
150 <a href
="amuleweb-main-log.php">log
&bull
;</a
> <a href
="amuleweb-main-prefs.php">configuration
</a
></td
>
155 <tr align
="center" valign
="top">
157 <table width
="100%" border
="0" cellspacing
="0" cellpadding
="0">
162 <td width
="24"><img src
="images/tab_top_left.png" width
="24" height
="24"></td
>
163 <td background
="images/tab_top.png"> 
;</td
>
164 <td width
="24"><img src
="images/tab_top_right.png" width
="24" height
="24"></td
>
167 <td width
="24" background
="images/tab_left.png"> 
;</td
>
169 <td bgcolor
="#FFFFFF"><table width
="100%" border
="0" align
="center" cellpadding
="0" cellspacing
="0">
172 <iframe name
="stats" src
="stats_tree.php" width
="100%" height
="630" frameborder
="0">liste
</iframe
></td
>
173 <td width
="500" align
="right"><img src
="amule_stats_download.png" width
="500" height
="200" border
="0"></td
>
176 <td width
="500" height
="15">
177 <div align
="center">Download
-Speed
</div
></td
>
180 <td width
="500" align
="right"><img src
="amule_stats_upload.png" width
="500" height
="200" border
="0" alt
="" title
="" /></td
>
183 <td width
="500" height
="15">
184 <div align
="center">Upload
-Speed
</div
></td
>
187 <td width
="500" align
="right"><img src
="amule_stats_conncount.png" width
="500" height
="200" border
="0" alt
="" title
="" /></td
>
190 <td width
="500" height
="15">
191 <div align
="center">Connections
</div
></td
>
194 <td width
="24" background
="images/tab_right.png"> 
;</td
>
197 <td width
="24"><img src
="images/tab_bottom_left.png" width
="24" height
="24"></td
>
198 <td background
="images/tab_bottom.png"> 
;</td
>
199 <td width
="24"><img src
="images/tab_bottom_right.png" width
="24" height
="24"></td
>
204 <td height
="25" colspan
="2"> <table width
="100%" height
="40" border
="0" cellpadding
="0" cellspacing
="0">
205 <tr align
="center" valign
="middle">
206 <td width
="50%"> <iframe name
="stats" src
="footer.php" height
="35" width
="100%" scrolling
="no" frameborder
="0">edklink
</iframe
>
208 <td width
="50%"> <iframe name
="stats" src
="stats.php" height
="35" width
="100%" scrolling
="no" frameborder
="0">connection
</iframe
>