KLanding/main.php

239 lines
6.0 KiB
PHP
Raw Normal View History

2015-07-02 19:33:06 +01:00
<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" />
2015-07-10 22:04:32 +01:00
<link rel="alternate stylesheet" type="text/css" media="screen" title="red" href="css/red.css" />
2016-01-11 23:58:19 +00:00
<link rel="alternate stylesheet" type="text/css" media="screen" title="custom" href="css/custom.php" />
2016-03-10 13:31:44 +00:00
<link rel="stylesheet" type="text/css" media="screen" href="css/static.php" />
2015-11-25 21:35:06 +00:00
<link rel="stylesheet" type="text/css" media="screen" href="css/converse.min.css">
2016-01-12 11:16:57 +00:00
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
2015-11-25 21:35:06 +00:00
<script src="builds/converse.min.js"></script>
2015-07-03 10:39:35 +01:00
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
2015-07-02 19:33:06 +01:00
<!--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>
2015-07-03 10:39:35 +01:00
2016-01-29 11:20:36 +00:00
2016-02-06 18:23:54 +00:00
<link rel="stylesheet" type="text/css" href="assets/css/jquery.gridster.php">
2016-01-29 11:20:36 +00:00
<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>
2016-01-12 11:16:57 +00:00
$(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>
2015-07-02 19:33:06 +01:00
<body>
2016-02-05 13:46:30 +00:00
<div id="style" >
2015-07-02 19:33:06 +01:00
<?php include 'config.php';?>
2016-01-12 18:21:31 +00:00
<?php include 'http://home.k-world.me.uk/version.txt';?>
2016-01-12 14:39:48 +00:00
2016-02-07 12:32:06 +00:00
2016-01-13 14:58:33 +00:00
<div class="head">
2015-07-03 10:09:57 +01:00
<?php echo "<p style=\" text-align: center;\">$yourname's Server Access</p>";?>
2015-07-02 19:33:06 +01:00
</div>
2016-02-07 11:54:38 +00:00
<?php
if ($KWorldEnabled > "0") {
require "KWorld.php";
}
?>
2015-07-02 19:33:06 +01:00
</p>
2016-02-05 13:46:30 +00:00
<div class="gridWrapper">
<div class="gridster">
<ul id="hello">
2016-01-29 11:20:36 +00:00
<?php
2015-07-08 10:58:32 +01:00
if ($jdownloadervisible > "0") {
require "links/jdownloader.php";
}
?>
<?php
if ($torrentvisible > "0") {
require "links/torrent.php";
}
?>
2016-01-29 11:20:36 +00:00
2015-07-08 10:58:32 +01:00
<?php
if ($sabvisible > "0") {
require "links/sab.php";
}
2016-01-29 11:20:36 +00:00
?>
2015-07-02 19:33:06 +01:00
<p style="text-align: center;">
2015-07-08 10:58:32 +01:00
<?php
if ($sickvisible > "0") {
require "links/sicktype.php";
}
?>
2016-01-29 11:20:36 +00:00
2015-07-08 10:58:32 +01:00
<?php
if ($couchvisible > "0") {
require "links/couch.php";
}
2016-01-29 11:20:36 +00:00
?>
2015-07-08 10:58:32 +01:00
<?php
2016-01-29 11:20:36 +00:00
if ($ftpvisible > "0") {
2015-12-12 11:45:21 +00:00
require "links/ftp.php";
2016-01-29 11:20:36 +00:00
}
?>
2015-07-08 10:58:32 +01:00
<?php
if ($madsonicvisible > "0") {
require "links/madsonic.php";
}
?>
2016-01-29 11:20:36 +00:00
2015-07-08 10:58:32 +01:00
<?php
if ($plexvisible > "0") {
require "links/plex.php";
}
?>
2016-01-29 11:20:36 +00:00
2015-07-08 10:58:32 +01:00
<?php
if ($squeezevisible > "0") {
require "links/squeeze.php";
}
?>
2016-01-29 11:20:36 +00:00
2016-01-12 19:21:39 +00:00
<?php
2016-01-29 11:20:36 +00:00
if ($kodivisible > "0") {
require "links/kodi.php";
2016-01-12 19:21:39 +00:00
}
?>
2016-01-29 11:20:36 +00:00
<?php
if ($headvisible > "0") {
require "links/headphones.php";
}
?>
</ul>
2016-02-05 13:46:30 +00:00
</div>
</div>
<div class="version">
<?php
if ($showversion > "0") {
echo "<p style=\" text-align: center;\">Version - $localversion</p>";
}
?>
2016-03-10 13:31:44 +00:00
</div>
2016-03-23 11:57:34 +00:00
<div class="UpdateNotify">
<?php
if ($localversion != $remoteversion) {
require "updatenotify2.php";
}
?>
</div>
2016-02-05 13:46:30 +00:00
2016-03-23 16:03:43 +00:00
2016-03-10 13:31:44 +00:00
<div id="stats">
<?php
if ($MStatusEnabled > "0") {
include "MediaStatus.php";;
}
?>
</div>
2016-01-29 11:20:36 +00:00
<div id="test-popup" class="white-popup mfp-hide">
2015-07-02 19:33:06 +01:00
<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>
2016-01-29 11:20:36 +00:00
</div>
2015-11-13 20:44:40 +00:00
<div id="test-popup2" class="white-popup mfp-hide">
<div style="text-align: center;">
2016-03-04 12:47:29 +00:00
<?php echo "<a href=\"$http$kknowledge\" target=\"_blank\"><img src=\"$myurl/Pic/KKnowledge.png\" style=\"width: 200px; height: 40px;\"/></a>"; ?>
2015-11-13 20:44:40 +00:00
<?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>"; ?>
2015-07-02 19:33:06 +01:00
<script src='http://dimsemenov-static.s3.amazonaws.com/dist/jquery.magnific-popup.min.js'></script>
<script src="js/index.js"></script>
</div>
2016-02-05 13:46:30 +00:00
<?php
if ($konvoschat > "0") {
require "konvoschat.php";
}
?>
2016-01-29 11:20:36 +00:00
</body>
2015-07-02 19:33:06 +01:00
</html>