<html>
<head>
<meta charset="UTF-8">
<link rel='stylesheet prefetch' href='http://dimsemenov-static.s3.amazonaws.com/dist/magnific-popup.css'>
<link rel="stylesheet" type="text/css" href="css/white.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="black" href="css/black.css" />
<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" />
<link rel="stylesheet" type="text/css" media="screen" href="css/converse.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="builds/converse.min.js"></script>
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
<!--This script should appear below your LINK stylesheet tags -->

<script src="styleswitch.js" type="text/javascript">

/***********************************************
* Style Sheet Switcher v1.1- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>

		
		<link rel="stylesheet" type="text/css" href="assets/css/jquery.gridster.css">
		<link rel="stylesheet" type="text/css" href="assets/css/styles.css">
		<script type="text/javascript" src="assets/jquery.js"></script>
		<script type="text/javascript" src="assets/jquery.gridster.js" charster="utf-8"></script>

		<script type="text/javascript" src="assets/gridster_new.js"></script>
		
		<script type="text/javascript">
		function myfunction(){
		localStorage.clear();
		window.location.reload();
		}
		</script>

		
	<script>
$(document).ready(function() {	

var id = '#dialog';
	
//Get the screen height and width
var maskHeight = $(document).height();
var maskWidth = $(window).width();
	
//Set heigth and width to mask to fill up the whole screen
$('#mask').css({'width':maskWidth,'height':maskHeight});

//transition effect
$('#mask').fadeIn(500);	
$('#mask').fadeTo("slow",0.9);	
	
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
              
//Set the popup window to center
$(id).css('top',  winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
	
//transition effect
$(id).fadeIn(2000); 	
	
//if close button is clicked
$('.window .close').click(function (e) {
//Cancel the link behavior
e.preventDefault();

$('#mask').hide();
$('.window').hide();
});

//if mask is clicked
$('#mask').click(function () {
$(this).hide();
$('.window').hide();
});
	
});
</script>
<body>
<div id="style">
<div class="innertube">

<?php include 'config.php';?>
<?php include 'http://home.k-world.me.uk/version.txt';?>

<div class="head">
<?php echo "<p style=\" text-align: center;\">$yourname's Server Access</p>";?>
</div>

<p style="text-align: center;">
<?php echo "<a href=\"#test-popup2\" class=\"open-popup-link\"><img src=\"$myurl/Pic/KWorld.png\"/></a>"; ?> 
</p> 
		<section class="demo">
			
			<div class="gridster">
				<ul id="hello">
				
				  <?php
if ($jdownloadervisible > "0") {
    require "links/jdownloader.php";
 }
?>
<?php
if ($torrentvisible > "0") {
    require "links/torrent.php";
 }
?>
					
<?php
if ($sabvisible > "0") {
    require "links/sab.php";
 }
?>					
					

<p style="text-align: center;"> 
<?php
if ($sickvisible > "0") {
    require "links/sicktype.php";
 }
?>

<?php
if ($couchvisible > "0") {
    require "links/couch.php";
 }
?>					
					
<?php
if ($ftpvisible > "0") {
    require "links/ftp.php";
 }
?>					

<?php
if ($madsonicvisible > "0") {
    require "links/madsonic.php";
 }
?>

<?php
if ($plexvisible > "0") {
    require "links/plex.php";
 }
?>

<?php
if ($squeezevisible > "0") {
    require "links/squeeze.php";
 }
?>

<?php
if ($kodivisible > "0") {
    require "links/kodi.php";
 }
?>

<?php
if ($headvisible > "0") {
    require "links/headphones.php";
 }
?>														
				</ul>
			</div>
						
		</section>

		<div id="test-popup" class="white-popup mfp-hide">
<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>"; ?> 
  <script src='http://dimsemenov-static.s3.amazonaws.com/dist/jquery.magnific-popup.min.js'></script>

  <script src="js/index.js"></script>
</div>
 
			
	
	</body>
</html>