/gestion/admin/network.php |
---|
257,17 → 257,17 |
<?php foreach( $serviceStatus as $serviceName => $statusOK ) { ?> |
<tr> |
<?php if ($statusOK) { ?> |
<td><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td> |
<td><?php echo $serviceName ;?></td> |
<td width="30" align="center">---</td> |
<td width="30" align="center"><a href="<?php echo $_SERVER['PHP_SELF']."?action=stop&service=$serviceName\"> $l_service_stop";?></a></td> |
<td width="30" align="center"><a href="<?php echo $_SERVER['PHP_SELF']."?action=restart&service=$serviceName\"> $l_service_restart";?></a></td> |
<td align="center"><img src="/images/state_ok.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ok; ?>"></td> |
<td align="left"><?php echo $serviceName ;?> </td> |
<td width="80" align="center">---</td> |
<td width="80" align="center"><a href="<?php echo $_SERVER['PHP_SELF']."?action=stop&service=$serviceName\"> $l_service_stop";?></a></td> |
<td width="80" align="center"><a href="<?php echo $_SERVER['PHP_SELF']."?action=restart&service=$serviceName\"> $l_service_restart";?></a></td> |
<?php } else { ?> |
<td><img src="/images/state_error.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ko ?>"></td> |
<td align="center"><img src="/images/state_error.gif" width="15" height="15" alt="<?php echo $l_service_status_img_ko ?>"></td> |
<td><?php echo $serviceName ;?></td> |
<td width="30" align="center"><a href="<?php echo $_SERVER['PHP_SELF']."?action=start&service=$serviceName\"> $l_service_start";?></a></td> |
<td width="30" align="center">---</td> |
<td width="30" align="center">---</td> |
<td width="80" align="center"><a href="<?php echo $_SERVER['PHP_SELF']."?action=start&service=$serviceName\"> $l_service_start";?></a></td> |
<td width="80" align="center">---</td> |
<td width="80" align="center">---</td> |
<?php } ?> |
</tr> |
<?php } ?> |
/gestion/css/style.css |
---|
1,11 → 1,13 |
H1 { |
font-size: 20pt; |
font-family:"DejaVu Sans"; |
font-size: 15pt; |
text-align: left; |
color: #666666; |
} |
H2 { |
font-family:"DejaVu Sans"; |
font-size: 15pt; |
text-align: center; |
color: #666666; |
12,11 → 14,13 |
} |
:link, :visited, :link:hover, :visited:hover { |
font-family:"DejaVu Sans"; |
font-size: small; |
color: #666666; |
} |
body, p, ul, li { |
font-family:"DejaVu Sans"; |
font-size: small; |
color: #666666; |
background-color: #EFEFEF; |
24,6 → 28,7 |
} |
th { |
font-family:"DejaVu Sans"; |
font-size: small; |
text-align: center; |
color: #EFEFEF; |
31,6 → 36,7 |
} |
table { |
font-family:"DejaVu Sans"; |
font-size: small; |
color: #666666; |
background-color: #EFEFEF; |
/gestion/menu.php |
---|
34,6 → 34,7 |
$l_stat_daily ="usage journalier"; |
$l_stat_web ="traffic WEB"; |
$l_firewall ="parefeu"; |
$l_menu="Menu"; |
} |
else { |
$l_home = "HOME"; |
57,13 → 58,14 |
$l_stat_daily ="daily use"; |
$l_stat_web ="WEB traffic"; |
$l_firewall ="firewall"; |
$l_menu="Main"; |
} |
echo " |
<TABLE width=150 border=0 cellspacing=0 cellpadding=0> |
<tr><th>Menu</th></tr> |
<TABLE width=168 border=0 cellspacing=0 cellpadding=0> |
<tr><th>$l_menu</th></tr> |
<tr bgcolor=\"#FFCC66\"><td><img src=\"/images/pix.gif\" width=1 height=2></td></tr> |
</TABLE> |
<TABLE width=150 border=1 cellspacing=0 cellpadding=0> |
<TABLE width=168 border=1 cellspacing=0 cellpadding=0> |
<tr bgcolor=\"#666666\"><td> |
<TABLE width=\"100%\" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign=\"middle\" align=\"left\"> |
142,7 → 144,7 |
fputs($fp, "$nb\n"); |
fclose($fp); |
?> |
<br>depuis le 99/99/9999<br></center></td></tr> |
<br>depuis le 17/05/2010<br></center></td></tr> |
</TABLE> |
</td></tr> |
</TABLE> |
/gestion/manager/htdocs/help/chilliSpot_max_input_octets_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_max_output_octets_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_bandwidth_max_down_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_bandwidth_max_up_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_max_total_octets_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chillispot_bandwidth_max_up_help.html |
---|
0,0 → 1,36 |
<html> |
<head> |
<title>Max Upload Bandwidth Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Page d'aide : bande passante (émission)</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Cet attribut définit la bande passante maximum en émission |
d'un usager ou groupe d'usagers (non renseigné = infini). |
This attribute defines the maximum upload bandwidth |
for a user or group (nothing = unlimited). |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/gestion/manager/htdocs/help/chillispot_max_input_octets_help.html |
---|
0,0 → 1,36 |
<html> |
<head> |
<title>Max Input Octet Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Page d'aide : octets maximum émis autorisé</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Cet attribut définit le nombre d'octets maximum que l'usager est |
autorisé à émettre. Après cette limite l'usager est déconnecté. |
This attribute defines the maximum number of octets the user is allowed to |
transmit. After this limit has been reached the user will be disconnected. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/gestion/manager/htdocs/help/chillispot_max_output_octets_help.html |
---|
0,0 → 1,36 |
<html> |
<head> |
<title>Max Output Octet Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Page d'aide : octets maximum reçu autorisé.</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Cet attribut définit le nombre d'octets maximum que l'usager est |
autorisé à recevoir. Après cette limite l'usager est déconnecté. |
This attribute defines the maximum number of octets the user is allowed to |
receive. After this limit has been reached the user will be disconnected. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/gestion/manager/htdocs/help/chillispot_bandwidth_max_down_help.html |
---|
0,0 → 1,36 |
<html> |
<head> |
<title>Max Download Bandwidth Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Page d'aide : bande passante (téléchargement)</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Cet attribut définit la bande passante maximum en téléchargement |
d'un usager ou groupe d'usagers (non renseigné = infini). |
This attribute defines the maximum download bandwidth |
for a user or group (nothing = unlimited). |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/gestion/manager/htdocs/help/chillispot_max_total_octets_help.html |
---|
0,0 → 1,38 |
<html> |
<head> |
<title>Max Total Octet Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Page d'aide : octets maximum total autorisé.</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Cet attribut définit le nombre d'octets maximum que l'usager est |
autorisé à transférer (somme des octets émis et reçus). |
Après cette limite l'usager est déconnecté. |
This attribute defines the maximum number of octets the user is |
allowed to transfer (sum of octets transmitted and received). |
After this limit has been reached the user will be disconnected. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/gestion/manager/htdocs/user_edit.php |
---|
215,9 → 215,7 |
echo "$desc\n"; |
else |
echo "$desc ($i)\n"; |
print <<<EOM |
</td> |
EOM; |
echo "</td>"; |
if ($show_ops){ |
switch ($key) |
{ |
289,27 → 287,6 |
EOM; |
} |
} |
?> |
<!-- |
<tr> |
<td align=right colspan=<?php print $colspan ?> bgcolor="#d0ddb0"> |
Ajouter un attribut |
</td> |
<td> |
<select name="add_attr" OnChange="this.form.add.value=1;this.form.submit()"> |
<?php |
foreach ($show_attrs as $key => $desc){ |
$name = $attrmap["$key"]; |
print <<<EOM |
<option value="$name">$desc |
EOM; |
} |
?> |
</select> |
</td> |
</tr> |
--> |
<?php |
if ($user_type != 'group'){ |
echo <<<EOM |
<tr> |