| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | $res = $this->_tools->monitorISPCCronLog(); |
| | | |
| | | //* Ensure that output is encoded so that it does not break the serialize |
| | | $res['data'] = htmlentities($res['data']); |
| | | if(is_array($res) && isset($res['data'])) $res['data'] = htmlentities($res['data']); |
| | | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |
| | |
| | | /* |
| | | * Insert the data into the database |
| | | */ |
| | | $sql = 'INSERT INTO monitor_data (server_id, type, created, data, state) ' . |
| | | $sql = 'REPLACE INTO monitor_data (server_id, type, created, data, state) ' . |
| | | 'VALUES (' . |
| | | $res['server_id'] . ', ' . |
| | | "'" . $app->dbmaster->quote($res['type']) . "', " . |