error_reporting(E_ALL ^ E_NOTICE);
include("admin/include/conn.inc");
session_start();
//Initializing to EMPTY String
$opt = array('Y' => 'Ja', 'N' => 'Nein');
$strMSName = "";
$strMSMFee = "";
$strMSYFee = "";
$strNoOfMonitorsAllowed = "";
$strMonitorsLevel = "";
$strMultiMonitor = "";
$strEMailAlerts = "";
$strMonthlyReports = "";
$strOnlineStats = "";
$strControlPanel = "";
$strHTTPCheck = "";
$strSMTPCheck = "";
$strPOP3Check = "";
$strFTPCheck ="";
$strPublicStats = "";
$strErrorDetails = "";
$strPingMonitoring = "";
$strCustomTimeZone = "";
$strMultiAlerts = "";
$strCustomPorts = "";
$strSSLServer = "";
$strAddnlServiceMonitors = "";
$strStatus = "";
$strAction = "";
$sql_MSList = "select * from tbl_membership where status = 'Y'";
$ds_MSList = mysql_query($sql_MSList);
$i=1;
while($rs_MSList = mysql_fetch_array($ds_MSList))
{
$i++;
$strMSName .= "
$rs_MSList[mem_name] ";
$strMSMFee .= "EUR $rs_MSList[amt_monthly] ";
$strMSYFee .= "EUR $rs_MSList[amt_yearly] ";
$strNoOfMonitorsAllowed .= "$rs_MSList[total_sites] ";
$sql_MIL = "select * from tbl_checkperiods where authority <= $rs_MSList[monitor_interval_level]";
$ds_MIL = mysql_query($sql_MIL);
$strMin = "";
while($rs_MIL = mysql_fetch_array($ds_MIL))
{
$strMin .= $rs_MIL['period'] . ", ";
}
$strMonitorsLevel .= "" . substr($strMin, 0, strlen($strMin)-2) . " Min. ";
$strMultiMonitor .= "" . $opt[$rs_MSList['multi_monitor']] . " ";
$strEMailAlerts .= "" . $opt[$rs_MSList['email_alerts']] . " ";
$strMonthlyReports .= "" . $opt[$rs_MSList['monthly_reports']] . " ";
$strOnlineStats .= "" . $opt[$rs_MSList['online_stats']] . " ";
$strControlPanel .= "" . $opt[$rs_MSList['control_panel']] . " ";
$strHTTPCheck .= "" . $opt[$rs_MSList['http_check']] . " ";
$strSMTPCheck .= "" . $opt[$rs_MSList['smtp_check']] . " ";
$strPOP3Check .= "" . $opt[$rs_MSList['pop3_check']] . " ";
$strFTPCheck .= "" . $opt[$rs_MSList['ftp_check']] . " ";
$strPublicStats .= "" . $opt[$rs_MSList['public_stats']] . " ";
$strErrorDetails .= "" . $opt[$rs_MSList['error_details']] . " ";
$strPingMonitoring .= "" . $opt[$rs_MSList['ping_monitoring']] . " ";
$strCustomTimeZone .= "" . $opt[$rs_MSList['custom_time_zone']] . " ";
$strMultiAlerts .= "" . $opt[$rs_MSList['multi_alerts']] . " ";
$strCustomPorts .= "" . $opt[$rs_MSList['custom_ports']] . " ";
$strSSLServer .= "" . $opt[$rs_MSList['ssl_server']] . " ";
$strSMSAlerts .= "" . $opt[$rs_MSList['sms_alert']] . " ";
$strAddnlServiceMonitors .= "" . $opt[$rs_MSList['addnl_service_monitor']] . " ";
if($rs_MSList['status'] == "Y")
$strStatus .= "Active ";
else
$strStatus .= "Inaktiv ";
$strAction .= "Edit / Löschen ";
} //while($rs_MSList = mysql_fetch_array($ds_MSList))
?>
NETalyzer.eu - professionelle Serverüberwachung und Monitoring mit SMS Alarm
include("header.php"); ?>
include("rightbar.php"); ?>
include("footer.php"); ?>