Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3172 → Rev 3173

/web/acc/manager/htdocs/accounting.php
104,7 → 104,7
</td><td align=left>
<select name=operator_of_$this->name>
EOM;
foreach($operators as $operator){
foreach ($operators as $operator){
if($this->operator == $operator)
$selected=" selected ";
else
160,7 → 160,7
<b>$l_attributes</b><br>
<select name="accounting_show_attrs[]" size=5 multiple>
EOM;
foreach($items as $key => $val)
foreach ($items as $key => $val)
echo <<<EOM
<option $selected[$key] value="$key">$val</option>
EOM;
172,7 → 172,7
<select name="order_by">
EOM;
 
foreach($items as $key => $val)
foreach ($items as $key => $val)
if ($val == 'username')
echo <<<EOM
<option selected value="$key">$val</option>
199,7 → 199,7
<option>--Attribute--</option>
EOM;
 
foreach($items as $key => $val)
foreach ($items as $key => $val)
print("<option value=\"$key\">$val</option>");
 
echo <<<EOM
296,7 → 296,7
<tr bgcolor="#d0ddb0">
EOM;
 
foreach($accounting_show_attrs as $val){
foreach ($accounting_show_attrs as $val){
$desc = $sql_attrs[$val]['desc'];
if($val == 'acctoutputoctets')
$desc = "Upload";
311,7 → 311,7
while( $row = da_sql_fetch_array($search,$config) ){
//$num++;
echo "<tr align=center>\n";
foreach($accounting_show_attrs as $val){
foreach ($accounting_show_attrs as $val){
$info = $row[$val];
if($val == "acctoutputoctets" || $val == "acctinputoctets")
$info = bytes2str($info);