|
@@ -649,6 +649,7 @@ function updateHistory(&$update, $maxItems) {
|
|
|
$command = filter_input(INPUT_POST, "CommandLine");
|
|
|
$pwd = filter_input(INPUT_POST, "pwd");
|
|
|
$hideSplash = filter_input(INPUT_POST, "hideSplash");
|
|
|
+ $hideHCSplash = filter_input(INPUT_POST, "hideHCSplash");
|
|
|
|
|
|
if ($password !== HC_STR) {
|
|
|
$hash = hash("sha256", $password . HC_APP_SALT, false);
|
|
@@ -816,12 +817,29 @@ function updateHistory(&$update, $maxItems) {
|
|
|
document.getElementById("Console").scrollTo(0, maxY);
|
|
|
}, true);
|
|
|
|
|
|
+
|
|
|
+ <?php if($hideHCSplash!=="1"): ?>
|
|
|
+ function startApp() {
|
|
|
+ $("#HCsplash").hide();
|
|
|
+ $("#frmHC").show();
|
|
|
+ }
|
|
|
+ window.addEventListener("load", function() {
|
|
|
+
|
|
|
+ setTimeout("startApp()", 5000);
|
|
|
+
|
|
|
+ }, true);
|
|
|
+ <?php endif; ?>
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
</head>
|
|
|
<body>
|
|
|
|
|
|
-<form id="frmHC" method="POST" action="HC.php" target="_self" enctype="multipart/form-data">
|
|
|
+<div id="HCsplash" style="padding-top: 200px; text-align:center;" style="display:<?php echo(($hideHCSplash==="1"?"none":"inline"));?>;">
|
|
|
+ <img src="HCres/hcsplash.gif" style="width:310px;">
|
|
|
+</div>
|
|
|
+
|
|
|
+<form id="frmHC" method="POST" action="/hc" target="_self" enctype="multipart/form-data" style="display:<?php echo(($hideHCSplash==="1"?"inline":"none"));?>;">
|
|
|
|
|
|
<div class="header">
|
|
|
<a href="http://httpconsole.com" target="_blank" style="color:white; text-decoration: none;"><img src="HCres/hclogo.png" style="width:48px;"> Http Console</a> <a href="https://github.com/par7133/HttpConsole" style="color:#ffffff"><span style="color:#119fe2">on</span> github</a> <a href="mailto:info@httpconsole.com" style="color:#ffffff"><span style="color:#119fe2">for</span> feedback</a> <a href="tel:+39-331-4029415" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:white;height:27px;text-decoration:none;"> get support </a>
|
|
@@ -904,6 +922,7 @@ function updateHistory(&$update, $maxItems) {
|
|
|
|
|
|
<input type="hidden" name="pwd" value="<?php echo($curPath); ?>" style="color:black">
|
|
|
<input type="hidden" name="hideSplash" value="<?php echo($hideSplash); ?>">
|
|
|
+<input type="hidden" name="hideHCSplash" value="1">
|
|
|
|
|
|
</form>
|
|
|
|