45 lines
1.5 KiB
PHP
45 lines
1.5 KiB
PHP
<?php
|
|
include 'config.php';
|
|
/*
|
|
* Script: Server Status
|
|
* Author: Martin Dixon
|
|
* From: Tutorial-Resource.com
|
|
* URL: www.tutorial-resource.com
|
|
* Version: 1.0
|
|
* License: Free
|
|
*/
|
|
/********
|
|
DO NOT EDIT THESE CONFIG LINES.
|
|
*/
|
|
$configs = array();
|
|
$configs['services1'] = array();
|
|
$configs['services2'] = array();
|
|
$configs['services3'] = array();
|
|
$configs['services4'] = array();
|
|
$configs['services5'] = array();
|
|
$configs['services6'] = array();
|
|
|
|
/********
|
|
DO NOT EDIT THESE CONFIG LINES.
|
|
********/
|
|
|
|
|
|
|
|
# You may edit these configs.
|
|
$configs['server_ip'] = $server1url; // The Servers URL or IP to check.
|
|
$configs['server_ip2'] = $server2url; // The Servers URL or IP to check.
|
|
$configs['server_ip3'] = $server3url; // The Servers URL or IP to check.
|
|
$configs['server_ip4'] = $server4url; // The Servers URL or IP to check.
|
|
$configs['server_ip5'] = $server4url; // The Servers URL or IP to check.
|
|
$configs['server_ip6'] = $server4url; // The Servers URL or IP to check.
|
|
|
|
|
|
|
|
# For services1 simply add new lines with the Name and port number.
|
|
$configs['services1']["<a href='$http2$kknowledge' target=\'_blank\'>KKnowledge</a>"] = 80;
|
|
$configs['services2']["<a href='$knews' target=\'_blank\'>KNews</a>"] = 80;
|
|
$configs['services3']["<a href='$kloud' target=\'_blank\'>KLoud</a>"] = 80;
|
|
$configs['services4']["<a href='$konvos' target=\'_blank\'>Konvos</a>"] = 80;
|
|
$configs['services5']["<a href='$kspot' target=\'_blank\'>KSpot</a>"] = 80;
|
|
$configs['services6']["<a href='$webclip' target=\'_blank\'>Klips</a>"] = 80;
|
|
?>
|