Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 910 → Rev 911

/web/acc/manager/htdocs/user_accounting.php
1,6 → 1,5
<?php
//gestion de la langue
$origine='user_accounting';
if (is_file("../lib/langues.php"))
include("../lib/langues.php");
require('/etc/freeradius-web/config.php');
16,7 → 15,7
echo <<<EOM
<html>
<head>
<title>$l_title</title>
<title>User accounting</title>
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
<link rel="stylesheet" href="/css/style.css">
</head>
55,13 → 54,13
echo <<<EOM
<html>
<head>
<title>i$l_title</title>
<title>iUser accounting</title>
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><th>$l_frame_top</th></tr>
<tr><th>$l_users_managment</th></tr>
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1"
height="2"></td></tr>
</TABLE>
193,10 → 192,10
<tr bgcolor="lightyellow" align="center">
<td colspan=$colspan><b>Total</b></td>
EOM;
if ($acct_attrs[ua][3] != '') echo "<td><b>$acct_sessiontime_sum</td>\n";
if ($acct_attrs[ua][3] != '') echo "<td><b>$acct_sessiontime_sum</b></td>\n";
if ($acct_attrs[ua][4] != '') echo "<td>&nbsp;</td>\n";
if ($acct_attrs[ua][5] != '') echo "<td><b>$acct_upload_sum</td>\n";
if ($acct_attrs[ua][6] != '') echo "<td><b>$acct_download_sum</td>\n";
if ($acct_attrs[ua][5] != '') echo "<td><b>$acct_upload_sum</b></td>\n";
if ($acct_attrs[ua][6] != '') echo "<td><b>$acct_download_sum</b></td>\n";
// if ($acct_attrs[ua][7] != '') echo "<td>&nbsp;</td>\n";
if ($acct_attrs[ua][8] != '') echo "<td>&nbsp;</td>\n";
// if ($acct_attrs[ua][9] != '') echo "<td>&nbsp;</td>\n";
211,7 → 210,7
<tr><td colspan=6></td>
</tr>
<tr valign="bottom">
<td><small><b><?php echo "$l_user";?></td><td><small><b>from</td><td><small><b>to</td><td><small><b>nbr./page</td><td><b>order</td>
<td><?php echo "$l_user";?></td><td>from</td><td>to</td><td>nbr./page</td><td>order</td>
<tr valign="middle"><td>
<?php
echo <<<EOM