diff --git a/Update.bat b/Update.bat index b48fe21..1f6f20d 100644 --- a/Update.bat +++ b/Update.bat @@ -394,8 +394,8 @@ findstr "localversion" config.php >nul 2>&1 goto END :END :ONE - cscript replace.vbs "config.php" "2.2" "2.3" - echo Version Updated to 2.3 + cscript replace.vbs "config.php" "2.3" "2.4" + echo Version Updated to 2.4 goto END :END diff --git a/bootstrap_services.php b/bootstrap_services.php index 66c29e7..ef98f4e 100644 --- a/bootstrap_services.php +++ b/bootstrap_services.php @@ -30,46 +30,6 @@ require "configs_services.php"; # Start a variable to contain Service Status. $serverStatus = ""; -# Process all services montiored. -foreach( $configs['servicesKloud'] as $serviceName => $servicePort ) -{ - # Determine Port Status. - $status = @fsockopen($configs['server_ip2'], $servicePort, $errno, $errstr, 5); - -# What is the result. - if( !$status ) - { - $statusText = "Down"; - } - else - { - $statusText = "Up"; - } - - # Set the status Row. - $serverStatus .= ""; -} - -# Process all services montiored. -foreach( $configs['servicesSpot'] as $serviceName => $servicePort ) -{ - # Determine Port Status. - $status = @fsockopen($configs['server_ip3'], $servicePort, $errno, $errstr, 5); - - # What is the result. - if( !$status ) - { - $statusText = "Down"; - } - else - { - $statusText = "Up"; - } - - # Set the status Row. - $serverStatus .= ""; -} - # Process all services montiored. foreach( $configs['services'] as $serviceName => $servicePort ) { @@ -87,7 +47,7 @@ foreach( $configs['services'] as $serviceName => $servicePort ) } # Set the status Row. - $serverStatus .= ""; + $serverStatus .= ""; } diff --git a/config/set2.php b/config/set2.php index db4d97b..95226b6 100644 --- a/config/set2.php +++ b/config/set2.php @@ -81,7 +81,7 @@ global $sickpicname; echo ''."\n".'

'; + ''."\n".'
'; function dropdown_cpa($options_array, $selected = null) { @@ -97,6 +97,9 @@ global $cpadultspicname; } ?> +Click here To Force Process"; ?> +
+
Couch Kids : "0") echo "checked=checked; "; ?>>Enabled / >Disabled
Couch Kids Port:
Couch Kids Name:
@@ -105,7 +108,7 @@ global $cpadultspicname; echo ''."\n".'

'; + ''."\n".'
'; function dropdown_cpk($options_array, $selected = null) { @@ -121,6 +124,9 @@ global $cpkidspicname; } ?> +Click here To Force Process"; ?> +
+
\ No newline at end of file diff --git a/right.php b/right.php index a1cd7d3..76e0919 100644 --- a/right.php +++ b/right.php @@ -80,16 +80,6 @@ if ($webclipfeedvisible > "0") { } ?> "0") { - if ($mediawidget2 > "0") { - require "/feeds/SickBeard_i_todaySoon.php"; -} else { - require "/feeds/SickBeard_i_today.php"; -} -} -?> -

- "0") { require "/feeds/custom1.php"; } else { @@ -111,6 +101,16 @@ if ($customfeed3visible > "0") { } ?> + "0") { + if ($mediawidget2 > "0") { + require "/feeds/SickBeard_i_todaySoon.php"; +} else { + require "/feeds/SickBeard_i_today.php"; +} +} +?> +

ServiceStatus
{$serviceName}{$statusText}
{$serviceName}{$statusText}
{$serviceName}{$statusText}
{$serviceName}{$statusText}
diff --git a/ss_bootstrap_kworld.php b/ss_bootstrap_kworld.php new file mode 100644 index 0000000..62ea25c --- /dev/null +++ b/ss_bootstrap_kworld.php @@ -0,0 +1,119 @@ + + + + + + "0") { + $serverStatus = "
"; + } + +# Process all services1 montiored. +foreach( $configs['services1'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= ""; +} + +# Process all services1 montiored. +foreach( $configs['services2'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip2'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= ""; +} + +# Process all services1 montiored. +foreach( $configs['services3'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip3'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= ""; +} + +# Process all services1 montiored. +foreach( $configs['services4'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip4'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= ""; +} + +# Finish service status table. +$serverStatus .= "
ServerStatus
{$serviceName}{$statusText}
{$serviceName}{$statusText}
{$serviceName}{$statusText}
{$serviceName}{$statusText}
"; +# File Complete. + +?> \ No newline at end of file diff --git a/ss_configs_kworld.php b/ss_configs_kworld.php new file mode 100644 index 0000000..265f6e8 --- /dev/null +++ b/ss_configs_kworld.php @@ -0,0 +1,39 @@ +$server1name"] = 80; + $configs['services2']["$server2name"] = 80; + $configs['services3']["$server3name"] = 80; + $configs['services4']["$server4name"] = 80; +?> \ No newline at end of file diff --git a/version.txt b/version.txt index 4488af9..6de1228 100644 --- a/version.txt +++ b/version.txt @@ -1,4 +1,4 @@ \ No newline at end of file