Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1505 → Rev 1506

/web/index.php
44,7 → 44,6
fclose($ouvre);
$organisme = trim($conf["ORGANISM"]);
$domainname = trim($conf["DOMAIN"]);
$service_SMS_status = trim($conf["SMS_REGISTRATION"]);
$hostname = "alcasar.".$domainname;
$network_pb = False;
$cert_add = "http://$hostname/certs";
91,8 → 90,8
$connection_history.= "<ul>";
while(($row = @da_sql_fetch_array($res,$config))){
$connected = "";
if ($row['acctstoptime'] == "") $connected = " ($l_connected)";
$connection_history.="<li title='$row['username'] $row['acctstarttime'] $row['acctstoptime'] (".secondsToDuration($row['acctsessiontime']).")'>$row['acctstarttime'] (".secondsToDuration($row['acctsessiontime']).") $connected</li>";
if ($row[acctstoptime] == "") $connected = " ($l_connected)";
$connection_history.="<li title='$row[username] $row[acctstarttime] $row[acctstoptime] (".secondsToDuration($row[acctsessiontime]).")'>$row[acctstarttime] (".secondsToDuration($row[acctsessiontime]).") $connected</li>";
}
$connection_history.="</ul>";
}
299,8 → 298,8
</div>
<?php
# CHECK IF the SMS service is enable
//$service_SMS_status="off";
if (($service_SMS_status == "on") || ($service_SMS_status == "On")){
$service_SMS_status="false";
if ($service_SMS_status == "true") {
$sms_div='
<div class="box_menu" id="box_acc" onmouseover="valoriserDiv5(text_acc);">
<span>'.$l_sms_access.'</span>