浏览代码

Add files via upload

Daniele Bonini | 5mode.com | WebDev | Translator 3 年之前
父节点
当前提交
b3cdb37cf3
共有 1 个文件被更改,包括 8 次插入3 次删除
  1. 8 3
      HC.php

+ 8 - 3
HC.php

@@ -817,17 +817,22 @@ function updateHistory(&$update, $maxItems) {
          document.getElementById("Console").scrollTo(0, maxY);
          document.getElementById("Console").scrollTo(0, maxY);
 	 }, true);
 	 }, true);
 
 
-
-    <?php if($hideHCSplash!=="1"): ?>
     function startApp() {
     function startApp() {
 	  $("#HCsplash").hide();
 	  $("#HCsplash").hide();
 	  $("#frmHC").show();  	
 	  $("#frmHC").show();  	
 	}			
 	}			
+    <?php if($hideHCSplash!=="1"): ?>
 	window.addEventListener("load", function() {
 	window.addEventListener("load", function() {
 		  
 		  
 	  setTimeout("startApp()", 5000);
 	  setTimeout("startApp()", 5000);
 	  
 	  
 	}, true);
 	}, true);
+	<?php else: ?>
+	window.addEventListener("load", function() {
+		  
+	  startApp();
+	  
+	}, true);	
     <?php endif; ?>
     <?php endif; ?>
 
 
   </script>    
   </script>    
@@ -839,7 +844,7 @@ function updateHistory(&$update, $maxItems) {
    <img src="HCres/hcsplash.gif" style="width:310px;">
    <img src="HCres/hcsplash.gif" style="width:310px;">
 </div>
 </div>
 
 
-<form id="frmHC" method="POST" action="HC.php" target="_self" enctype="multipart/form-data" style="display:<?php echo(($hideHCSplash==="1"?"inline":"none"));?>;">
+<form id="frmHC" method="POST" action="/hc" target="_self" enctype="multipart/form-data" style="display:<?php echo(($hideHCSplash==="1"?"inline":"none"));?>;">
 
 
 <div class="header">
 <div class="header">
    <a href="http://httpconsole.com" target="_blank" style="color:white; text-decoration: none;"><img src="HCres/hclogo.png" style="width:48px;">&nbsp;Http Console</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/HttpConsole" style="color:#ffffff"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:info@httpconsole.com" style="color:#ffffff"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-331-4029415" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:white;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
    <a href="http://httpconsole.com" target="_blank" style="color:white; text-decoration: none;"><img src="HCres/hclogo.png" style="width:48px;">&nbsp;Http Console</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/HttpConsole" style="color:#ffffff"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:info@httpconsole.com" style="color:#ffffff"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-331-4029415" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:white;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>