new
| 
		 Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 23 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Pic/KNews.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 21 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Pic/KWorld.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 20 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Pic/Kloud.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 20 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Pic/Konvos.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 21 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Pic/WebClip.png
									
									
									
									
									
								
							
							
						
						| 
		 Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 22 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Pic/spotweb.png
									
									
									
									
									
								
							
							
						
						| 
		 Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 20 KiB  | 
@ -1,3 +1,5 @@
 | 
			
		||||
git.exe pull
 | 
			
		||||
 | 
			
		||||
CACLS *.* /e /p everyone:f
 | 
			
		||||
CACLS *.* /e /p everyone:f
 | 
			
		||||
 | 
			
		||||
echo "$couchvisible2 = "";" >> config.php
 | 
			
		||||
@ -48,11 +48,4 @@ setInterval(GetClock,1000);
 | 
			
		||||
</select>
 | 
			
		||||
</form>
 | 
			
		||||
</td>
 | 
			
		||||
</table>
 | 
			
		||||
</p>
 | 
			
		||||
</body> 
 | 
			
		||||
</html>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
</table>
 | 
			
		||||
@ -148,6 +148,9 @@ $myurl = "http://$base";
 | 
			
		||||
$webclip = "http://webclip.ml";
 | 
			
		||||
$kknowledge = "http://kknowledge.tk";
 | 
			
		||||
$kspot = "http://spot.k-world.me.uk";
 | 
			
		||||
$knews = "http://knews.cf";
 | 
			
		||||
$kloud = "https://k-loud.cf";
 | 
			
		||||
$konvos = "http://konvos.cf";
 | 
			
		||||
?>
 | 
			
		||||
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										49
									
								
								config/PicUpload.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,49 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
 | 
			
		||||
	<head>
 | 
			
		||||
		<meta charset="utf-8"/>
 | 
			
		||||
		<title>KLanding Pic Uploader</title>
 | 
			
		||||
 | 
			
		||||
		<!-- Google web fonts -->
 | 
			
		||||
		<link href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700" rel='stylesheet' />
 | 
			
		||||
 | 
			
		||||
		<!-- The main CSS file -->
 | 
			
		||||
		<link href="/assets/css/style.css" rel="stylesheet" />
 | 
			
		||||
	</head>
 | 
			
		||||
 | 
			
		||||
	<body>
 | 
			
		||||
 | 
			
		||||
		<form id="upload" method="post" action="upload.php" enctype="multipart/form-data">
 | 
			
		||||
			<div id="drop">
 | 
			
		||||
				Drop Here
 | 
			
		||||
 | 
			
		||||
				<a>Browse</a>
 | 
			
		||||
				<input type="file" name="upl" multiple />
 | 
			
		||||
			</div>
 | 
			
		||||
 | 
			
		||||
			<ul>
 | 
			
		||||
				<!-- The file uploads will be shown here -->
 | 
			
		||||
			</ul>
 | 
			
		||||
 | 
			
		||||
		</form>
 | 
			
		||||
 | 
			
		||||
		<footer>
 | 
			
		||||
 | 
			
		||||
        </footer>
 | 
			
		||||
        
 | 
			
		||||
		<!-- JavaScript Includes -->
 | 
			
		||||
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
 | 
			
		||||
		<script src="/assets/js/jquery.knob.js"></script>
 | 
			
		||||
 | 
			
		||||
		<!-- jQuery File Upload Dependencies -->
 | 
			
		||||
		<script src="/assets/js/jquery.ui.widget.js"></script>
 | 
			
		||||
		<script src="/assets/js/jquery.iframe-transport.js"></script>
 | 
			
		||||
		<script src="/assets/js/jquery.fileupload.js"></script>
 | 
			
		||||
		
 | 
			
		||||
		<!-- Our main JS file -->
 | 
			
		||||
		<script src="/assets/js/script.js"></script>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	</body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										22
									
								
								config/upload.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,22 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
// A list of permitted file extensions
 | 
			
		||||
$allowed = array('png', 'jpg', 'gif','zip');
 | 
			
		||||
 | 
			
		||||
if(isset($_FILES['upl']) && $_FILES['upl']['error'] == 0){
 | 
			
		||||
 | 
			
		||||
	$extension = pathinfo($_FILES['upl']['name'], PATHINFO_EXTENSION);
 | 
			
		||||
 | 
			
		||||
	if(!in_array(strtolower($extension), $allowed)){
 | 
			
		||||
		echo '{"status":"error"}';
 | 
			
		||||
		exit;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if(move_uploaded_file($_FILES['upl']['tmp_name'], 'Pic/'.$_FILES['upl']['name'])){
 | 
			
		||||
		echo '{"status":"success"}';
 | 
			
		||||
		exit;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
echo '{"status":"error"}';
 | 
			
		||||
exit;
 | 
			
		||||
							
								
								
									
										77
									
								
								css/custom.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,77 @@
 | 
			
		||||
<?php
 | 
			
		||||
    header("Content-type: text/css; charset: UTF-8");
 | 
			
		||||
?>
 | 
			
		||||
<?php include '../config.php';?>
 | 
			
		||||
 | 
			
		||||
#header {
 | 
			
		||||
 color: white;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#style{
 | 
			
		||||
position: absolute; 
 | 
			
		||||
top: 0; 
 | 
			
		||||
left: 0; 
 | 
			
		||||
width: 100%; /*Width of left frame div*/
 | 
			
		||||
height: 100%;
 | 
			
		||||
overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/
 | 
			
		||||
background-color: <?php echo $CustBack; ?>;
 | 
			
		||||
color: white; #000000;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#maincontent{
 | 
			
		||||
position: fixed; 
 | 
			
		||||
top: 40px; /*Set top value to HeightOfTopFrameDiv*/
 | 
			
		||||
left: 0px; /*Set left value to WidthOfLeftFrameDiv*/
 | 
			
		||||
right: 300px; /*Set right value to WidthOfRightFrameDiv*/
 | 
			
		||||
bottom: 0;
 | 
			
		||||
overflow: auto; 
 | 
			
		||||
background: 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.innertube{
 | 
			
		||||
margin: 15px; /*Margins for inner DIV inside each DIV (to provide padding)*/
 | 
			
		||||
color: black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
* html body{ /*IE6 hack*/
 | 
			
		||||
padding: 120px 150px 0 200px; /*Set value to (HeightOfTopFrameDiv WidthOfRightFrameDiv 0 WidthOfLeftFrameDiv)*/
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
* html #maincontent{ /*IE6 hack*/
 | 
			
		||||
height: 100%; 
 | 
			
		||||
width: 100%; 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
* html #framecontentTop{ /*IE6 hack*/
 | 
			
		||||
width: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.white-popup {
 | 
			
		||||
  position: relative;
 | 
			
		||||
  background: #FFF;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  width:auto;
 | 
			
		||||
  max-width: 500px;
 | 
			
		||||
  margin: 20px auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.disktext{
 | 
			
		||||
margin: 15px; /*Margins for inner DIV inside each DIV (to provide padding)*/
 | 
			
		||||
color: black;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.disk {
 | 
			
		||||
  border: 1px solid black;
 | 
			
		||||
  width: 150px;
 | 
			
		||||
  padding: 0px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.used {
 | 
			
		||||
 display block;
 | 
			
		||||
 background: blue;
 | 
			
		||||
 text-align: right;
 | 
			
		||||
 padding: 0 0 0 0;
 | 
			
		||||
 color: white;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
							
								
								
									
										20
									
								
								main.php
									
									
									
									
									
								
							
							
						
						@ -37,11 +37,7 @@ indicateSelected(formref.switchcontrol)
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<p style="text-align: center;">
 | 
			
		||||
<?php echo "<a href=\"$kknowledge\" target=\"_blank\"><img src=\"$myurl/Pic/KKnowledge.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
</p> 
 | 
			
		||||
<p style="text-align: center;">
 | 
			
		||||
<?php echo "<a href=\"$webclip\" target=\"_blank\"><img src=\"$myurl/Pic/WebClip.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
<?php echo "<a href=\"$kspot\" target=\"_blank\"><img src=\"$myurl/Pic/spotweb.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
<?php echo "<a href=\"#test-popup2\" class=\"open-popup-link\"><img src=\"$myurl/Pic/KWorld.png\"/></a>"; ?> 
 | 
			
		||||
</p> 
 | 
			
		||||
  
 | 
			
		||||
<p style="text-align: center;"> 
 | 
			
		||||
@ -102,6 +98,20 @@ if ($squeezevisible > "0") {
 | 
			
		||||
<p style="text-align: center;">
 | 
			
		||||
<?php echo "<a href=\"$myurl:$cpadults\" target=\"_blank\">Adults</a>"; ?> - <?php echo "<a href=\"$myurl:$cpkids\" target=\"_blank\">Kids</a>"; ?> 
 | 
			
		||||
</p> 
 | 
			
		||||
</div>
 | 
			
		||||
<div id="test-popup2" class="white-popup mfp-hide">
 | 
			
		||||
<div style="text-align: center;">
 | 
			
		||||
<?php echo "<a href=\"$kknowledge\" target=\"_blank\"><img src=\"$myurl/Pic/KKnowledge.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
<?php echo "</p>"; ?> 
 | 
			
		||||
<?php echo "<a href=\"$knews\" target=\"_blank\"><img src=\"$myurl/Pic/KNews.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
<?php echo "</p>"; ?> 
 | 
			
		||||
<?php echo "<a href=\"$kloud\" target=\"_blank\"><img src=\"$myurl/Pic/Kloud.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
<?php echo "</p>"; ?> 
 | 
			
		||||
<?php echo "<a href=\"$konvos\" target=\"_blank\"><img src=\"$myurl/Pic/Konvos.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
<?php echo "</p>"; ?> 
 | 
			
		||||
<?php echo "<a href=\"$kspot\" target=\"_blank\"><img src=\"$myurl/Pic/spotweb.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
<?php echo "</p>"; ?> 
 | 
			
		||||
<?php echo "<a href=\"$webclip\" target=\"_blank\"><img src=\"$myurl/Pic/WebClip.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?> 
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
		  <script src='http://codepen.io/assets/libs/fullpage/jquery.js'></script>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										11
									
								
								right.php
									
									
									
									
									
								
							
							
						
						@ -8,6 +8,8 @@
 | 
			
		||||
<link rel="alternate stylesheet" type="text/css" media="screen" title="white" href="css/white.css" />
 | 
			
		||||
<link rel="alternate stylesheet" type="text/css" media="screen" title="blue" href="css/blue.css" />
 | 
			
		||||
<link rel="alternate stylesheet" type="text/css" media="screen" title="red" href="css/red.css" />
 | 
			
		||||
<link rel="alternate stylesheet" type="text/css" media="screen" title="custom" href="css/custom.php" />
 | 
			
		||||
 | 
			
		||||
<script type="text/javascript">
 | 
			
		||||
window.onload=function(){
 | 
			
		||||
var formref=document.getElementById("switchform")
 | 
			
		||||
@ -110,12 +112,15 @@ if ($customfeed3visible > "0") {
 | 
			
		||||
			<td bgcolor="#ffffff"><a href="javascript:chooseStyle('red', 60)" onclick="parent.left.location.reload(); parent.main.location.reload()">Red</a></td>
 | 
			
		||||
		</tr>
 | 
			
		||||
		<tr>
 | 
			
		||||
			<td  colspan="3" bgcolor="#ffffff"><script type="text/javascript" src="jscolor/jscolor.js"></script>Custom: <input class="color" onchange="document.getElementsByTagName('BODY')[0].style.backgroundColor = '#'+this.color"></td>
 | 
			
		||||
			<td bgcolor="#ffffff"><a href="javascript:chooseStyle('red', 60)" onclick="document.getElementsByTagName('BODY')[0].style.backgroundColor = '#'+this.color">Set</a></td>
 | 
			
		||||
		</tr>
 | 
			
		||||
			<td  colspan="3" bgcolor="#ffffff"><script type="text/javascript" src="jscolor/jscolor.js"></script>Change background: <input class="color" NAME="CustColor"</td>
 | 
			
		||||
			<td bgcolor="#ffffff"><a href="right.php" onclick="parent.left.location.reload(); parent.main.location.reload()">Red</a></td>		</tr>
 | 
			
		||||
 | 
			
		||||
	</tbody>
 | 
			
		||||
</table>
 | 
			
		||||
<?php
 | 
			
		||||
$colour = $_POST['CustColor'];
 | 
			
		||||
echo $colour;
 | 
			
		||||
?>
 | 
			
		||||
</div>
 | 
			
		||||
</div>
 | 
			
		||||
</body> 
 | 
			
		||||
 | 
			
		||||