Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 872 → Rev 871

/scripts/alcasar-conup.sh
File deleted
Property changes:
Deleted: svn:eol-style
-native
\ No newline at end of property
Deleted: svn:executable
-*
\ No newline at end of property
/scripts/alcasar-iptables.sh
1,4 → 1,4
#!/bin/bash
#!/bin/sh
# $Id$
# Script de mise en place des regles du parefeu d'Alcasar (mode normal)
# This script write the netfilter rules for ALCASAR
/scripts/alcasar-file-clean.sh
1,4 → 1,4
#!/bin/bash
#/bin/bash
 
# alcasar-file-clean.sh
# by Rexy
/scripts/alcasar-urpmi.sh
1,4 → 1,4
#!/bin/bash
#!/bin/sh
# $Id$
 
# alcasar-urpmi.sh
/web/status.php
209,12 → 209,12
$connection_history.= "<ul>";
while(($row = @da_sql_fetch_array($res,$config))){
$connected = "";
$start_conn = date_create($row['acctstarttime']);
$start_conn = date_create($row[acctstarttime]);
$connection_history.="<li>".date_format($start_conn, 'd M Y - H:i:s')." - (";
if ($row['acctstoptime'] == "") {
if ($row[acctstoptime] == "") {
$connected = $l_connected;
}else{
$connected = secondsToDuration($row['acctsessiontime']);
$connected = secondsToDuration($row[acctsessiontime]);
}
$connection_history.= "$connected)</li>";
// $connection_history.="<li>".date_format($start_conn, 'd M Y - H:i:s')." - (".secondsToDuration($row[acctsessiontime]).") $connected</li>";
231,7 → 231,7
if ($res_2){
while(($row_2 = @da_sql_fetch_array($res_2,$config))){
$a_connected = 1;
if ($row_2['acctstoptime'] == "") $a_connected = $a_connected + 1;
if ($row_2[acctstoptime] == "") $a_connected = $a_connected + 1;
}
if ($a_connected > 1){
$a_connection = $l_a_connection." ".$a_connected." ".$l_a_connection_time;