diff --git a/Update.bat b/Update.bat
index 6674e5e..eae09fe 100644
--- a/Update.bat
+++ b/Update.bat
@@ -172,4 +172,20 @@ findstr "localversion" config.php >nul 2>&1
goto END
:END
+ rem show version
+findstr "showversion" config.php >nul 2>&1
+ if errorlevel 1 goto ONE
+ if errorlevel 0 goto ZERO
+ goto END
+ :ZERO
+ echo showversion Already Updated
+ goto END
+ :ONE
+ echo ^>config.php
+ echo $showversion = "0"; >> config.php
+ echo ^?^> >> config.php
+ echo showversion Updated
+ goto END
+ :END
+
PAUSE
\ No newline at end of file
diff --git a/config/set1.php b/config/set1.php
index 822a523..0290e77 100644
--- a/config/set1.php
+++ b/config/set1.php
@@ -23,6 +23,8 @@
Enable Kodi (MovieLib): "0") echo "checked=checked; "; ?> />
+ Show Version : "0") echo "checked=checked; "; ?> />
+
diff --git a/config/write1.php b/config/write1.php
index 349811c..015bd6d 100644
--- a/config/write1.php
+++ b/config/write1.php
@@ -11,7 +11,7 @@ $konvoschat1 = $_POST['konvoschat'];
$konvosvisible1 = $_POST['konvosvisible'];
$kodivisible1 = $_POST['kodivisible'];
$backgroundcolor1 = $_POST['backgroundcolor'];
-
+$showversion1 = $_POST['showversion'];
//
$fl='../config.php';
@@ -25,6 +25,12 @@ $content = preg_replace( '/\$base = \"(.*?)\";/', '$base = "'.$yb.'";', $conte
$content = preg_replace( '/\$user = \"(.*?)\";/', '$user = "'.$user1.'";', $content);
$content = preg_replace( '/\$pass = \"(.*?)\";/', '$pass = "'.$pass1.'";', $content);
$content = preg_replace( '/\$custombackground = \"(.*?)\";/', '$custombackground = "#'.$backgroundcolor1.'";', $content);
+ // version Settings
+ if (empty($showversion1)) {
+ $content = preg_replace( '/\$showversion = \"(.*?)\";/', '$showversion = "0";', $content);
+ } else {
+ $content = preg_replace( '/\$showversion = \"(.*?)\";/', '$showversion = "1";', $content);
+ }
// clockvisible Settings
if (empty($clockvisible1)) {
$content = preg_replace( '/\$clockvisible = \"(.*?)\";/', '$clockvisible = "0";', $content);
diff --git a/main.php b/main.php
index c80da28..52f9d8f 100644
--- a/main.php
+++ b/main.php
@@ -149,7 +149,11 @@ if ($squeezevisible > "0") {
require "links/squeeze.php";
}
?>
-
+ "0") {
+ echo "
Version - $localversion
"; + } +?>@@ -183,4 +187,5 @@ if ($konvoschat > "0") { require "konvoschat.php"; } ?> +