Merge branch '2.0' into 'master'
2.0 Merge new features into master See merge request !2
BIN
Pic/Upload/KWorld.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
Pic/Upload/Konvos.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
Pic/Upload/couch.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
Pic/Upload/ftp.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
Pic/Upload/headphones.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
Pic/Upload/madsonic.png
Normal file
After Width: | Height: | Size: 215 KiB |
BIN
Pic/Upload/sick.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
Pic/Upload/test.jpg
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
Pic/sickrage.png
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 127 KiB |
69
assets/css/demo.css
Normal file
@ -0,0 +1,69 @@
|
||||
.gridster * {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
|
||||
/*/
|
||||
/* demo
|
||||
/*/
|
||||
|
||||
|
||||
body {
|
||||
font-size: 16px;
|
||||
font-family: 'Helvetica Neue', Arial, sans-serif;
|
||||
color: #444;
|
||||
margin: 30px 40px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/*/
|
||||
/* gridster
|
||||
/*/
|
||||
|
||||
.gridster ul {
|
||||
background-color: #EFEFEF;
|
||||
}
|
||||
|
||||
.gridster li {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.gridster {
|
||||
margin: 0 auto;
|
||||
|
||||
opacity: .8;
|
||||
|
||||
-webkit-transition: opacity .6s;
|
||||
-moz-transition: opacity .6s;
|
||||
-o-transition: opacity .6s;
|
||||
-ms-transition: opacity .6s;
|
||||
transition: opacity .6s;
|
||||
}
|
||||
|
||||
.gridster .gs-w {
|
||||
background: #DDD;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gridster .player {
|
||||
background: #BBB;
|
||||
}
|
||||
|
||||
|
||||
.gridster .preview-holder {
|
||||
border: none!important;
|
||||
background: red!important;
|
||||
}
|
||||
|
69
assets/css/grid.css
Normal file
@ -0,0 +1,69 @@
|
||||
.gridster * {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
|
||||
/*/
|
||||
/* demo
|
||||
/*/
|
||||
|
||||
|
||||
body {
|
||||
font-size: 16px;
|
||||
font-family: 'Helvetica Neue', Arial, sans-serif;
|
||||
color: #444;
|
||||
margin: 30px 40px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/*/
|
||||
/* gridster
|
||||
/*/
|
||||
|
||||
.gridster ul {
|
||||
background-color: #EFEFEF;
|
||||
}
|
||||
|
||||
.gridster li {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.gridster {
|
||||
margin: 0 auto;
|
||||
|
||||
opacity: .8;
|
||||
|
||||
-webkit-transition: opacity .6s;
|
||||
-moz-transition: opacity .6s;
|
||||
-o-transition: opacity .6s;
|
||||
-ms-transition: opacity .6s;
|
||||
transition: opacity .6s;
|
||||
}
|
||||
|
||||
.gridster .gs-w {
|
||||
background: #DDD;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gridster .player {
|
||||
background: #BBB;
|
||||
}
|
||||
|
||||
|
||||
.gridster .preview-holder {
|
||||
border: none!important;
|
||||
background: red!important;
|
||||
}
|
||||
|
106
assets/css/jquery.gridster.css
Normal file
@ -0,0 +1,106 @@
|
||||
.gridster {
|
||||
width: 730px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
opacity: .8;
|
||||
-webkit-transition: opacity .6s;
|
||||
-moz-transition: opacity .6s;
|
||||
-o-transition: opacity .6s;
|
||||
-ms-transition: opacity .6s;
|
||||
transition: opacity .6s;
|
||||
text-align: center;
|
||||
}
|
||||
.gridster > * {
|
||||
margin: 0 auto;
|
||||
-webkit-transition: height .4s;
|
||||
-moz-transition: height .4s;
|
||||
-o-transition: height .4s;
|
||||
-ms-transition: height .4s;
|
||||
transition: height .4s;
|
||||
}
|
||||
|
||||
.gridster .gs_w{
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
background: #FFF;
|
||||
cursor: pointer;
|
||||
-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
|
||||
box-shadow: 0 0 5px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.ready .gs_w:not(.preview-holder) {
|
||||
-webkit-transition: opacity .3s, left .3s, top .3s;
|
||||
-moz-transition: opacity .3s, left .3s, top .3s;
|
||||
-o-transition: opacity .3s, left .3s, top .3s;
|
||||
transition: opacity .3s, left .3s, top .3s;
|
||||
}
|
||||
|
||||
.ready .gs_w:not(.preview-holder) {
|
||||
-webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
-moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
-o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
}
|
||||
|
||||
.gridster .preview-holder {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
background-color: #fff;
|
||||
border-color: #fff;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.gridster .player-revert {
|
||||
z-index: 10!important;
|
||||
-webkit-transition: left .3s, top .3s!important;
|
||||
-moz-transition: left .3s, top .3s!important;
|
||||
-o-transition: left .3s, top .3s!important;
|
||||
transition: left .3s, top .3s!important;
|
||||
}
|
||||
|
||||
.gridster .dragging {
|
||||
z-index: 10!important;
|
||||
-webkit-transition: all 0s !important;
|
||||
-moz-transition: all 0s !important;
|
||||
-o-transition: all 0s !important;
|
||||
transition: all 0s !important;
|
||||
}
|
||||
|
||||
.gridWrapper {
|
||||
width: 100%;
|
||||
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #EEEEEE;
|
||||
font-family: 'Helvetica Neue', Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-size: x-small;
|
||||
color: #666666;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
list-style: none;
|
||||
margin:0 auto;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 12px;
|
||||
text-align: center;
|
||||
font-size: 30px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 25px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
}
|
1
assets/css/jquery.gridster.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.gridster{position:relative}.gridster>*{margin:0 auto;-webkit-transition:height .4s;-moz-transition:height .4s;-o-transition:height .4s;-ms-transition:height .4s;transition:height .4s}.gridster .gs_w{z-index:2;position:absolute}.ready .gs_w:not(.preview-holder){-webkit-transition:opacity .3s,left .3s,top .3s;-moz-transition:opacity .3s,left .3s,top .3s;-o-transition:opacity .3s,left .3s,top .3s;transition:opacity .3s,left .3s,top .3s}.ready .gs_w:not(.preview-holder){-webkit-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-moz-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-o-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;transition:opacity .3s,left .3s,top .3s,width .3s,height .3s}.gridster .preview-holder{z-index:1;position:absolute;background-color:#fff;border-color:#fff;opacity:.3}.gridster .player-revert{z-index:10!important;-webkit-transition:left .3s,top .3s!important;-moz-transition:left .3s,top .3s!important;-o-transition:left .3s,top .3s!important;transition:left .3s,top .3s!important}.gridster .dragging{z-index:10!important;-webkit-transition:all 0s!important;-moz-transition:all 0s!important;-o-transition:all 0s!important;transition:all 0s!important}
|
32
assets/css/styles.css
Normal file
@ -0,0 +1,32 @@
|
||||
body {
|
||||
background-color: #EEEEEE;
|
||||
font-family: 'Helvetica Neue', Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-size: x-small;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
list-style: none;
|
||||
margin:0px auto 0px auto;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 12px;
|
||||
text-align: center;
|
||||
font-size: 30px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 25px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Gridster styles */
|
||||
|
106
assets/gridster_new.js
Normal file
@ -0,0 +1,106 @@
|
||||
|
||||
$(window).ready(function () {
|
||||
var localData = JSON.parse(localStorage.getItem('positions'));
|
||||
|
||||
if(localData!=null)
|
||||
{
|
||||
$.each(localData, function(i,value){
|
||||
|
||||
var id_name;
|
||||
|
||||
id_name="#";
|
||||
id_name = id_name + value.id;
|
||||
console.log(id_name);
|
||||
|
||||
$(id_name).attr({"data-col":value.col, "data-row":value.row, "data-sizex":value.size_x, "data-sizey":value.size_y});
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
else{
|
||||
console.log('No data returned by the server');
|
||||
}
|
||||
|
||||
|
||||
// widget_selector: "> ul"
|
||||
// Define which elements are the widgets. Can be a CSS Selector string or a jQuery collection of HTMLElements.
|
||||
|
||||
// widget_margins: [3, 3]
|
||||
// Horizontal and vertical margins respectively for widgets.
|
||||
|
||||
// widget_base_dimensions: [110, 110]
|
||||
// Base widget dimensions in pixels. The first index is the width, the second is the height.
|
||||
|
||||
var grid_canvas = $(".gridster > ul").gridster({
|
||||
widget_margins: [3, 3],
|
||||
widget_base_dimensions: [140, 140],
|
||||
max_cols: [5],
|
||||
max_rows: [4],
|
||||
|
||||
// serialize_params: function($w, wgd) { return { id: $($w).attr('id'),col: wgd.col, row: wgd.row,size_x: wgd.size_x,size_y: wgd.size_y }
|
||||
// A function to return serialized data for each each widget, used when calling the serialize method. Two arguments are passed:
|
||||
// $w: the jQuery wrapped HTMLElement which is used to get the id, and wgd: the grid coords object with keys col, row, size_x and size_y.
|
||||
|
||||
|
||||
serialize_params: function($w, wgd)
|
||||
{
|
||||
return {
|
||||
id: $($w).attr('id'),
|
||||
col: wgd.col,
|
||||
row: wgd.row,
|
||||
size_x: wgd.size_x,
|
||||
size_y: wgd.size_y,
|
||||
|
||||
};
|
||||
},
|
||||
|
||||
// draggable.stop: function(event, ui){} -- A callback for when dragging stops.
|
||||
// You can also implement other draggable options based on your requirements
|
||||
// draggable.start: function(event, ui){} -- A callback for when dragging starts.
|
||||
// draggable.drag: function(event, ui){} -- A callback for when the mouse is moved during the dragging.
|
||||
|
||||
draggable:
|
||||
{
|
||||
stop: function(event, ui) {
|
||||
|
||||
// .serialize( )
|
||||
// Creates an array of objects representing the current position of all widgets in the grid.
|
||||
// Returns an Array of Objects (ready to be encoded as a JSON string) with the data specified by the serialize_params option
|
||||
// JSON.stringify() converts a primitive value, object or array to a JSON-formatted string that can later be parsed with JSON.parse().
|
||||
|
||||
var positions = JSON.stringify(this.serialize());
|
||||
|
||||
// With HTML5, web pages can store data locally within the user's browser.
|
||||
// Earlier, this was done with cookies. However, Web Storage is more secure and faster.
|
||||
// The data is not included with every server request, but used ONLY when asked for.
|
||||
// It is also possible to store large amounts of data, without affecting the website's performance.
|
||||
// The data is stored in key/value pairs, and a web page can only access data stored by itself.
|
||||
|
||||
localStorage.setItem('positions', positions);
|
||||
|
||||
|
||||
$.post(
|
||||
"process.php",
|
||||
{"positions": positions},
|
||||
function(data)
|
||||
{
|
||||
|
||||
// this is where you can check if your data is sent to the server or not.
|
||||
// A status of 200 implies success
|
||||
|
||||
console.log(data);
|
||||
if(data==200)
|
||||
console.log("Data successfully sent to the server");
|
||||
else
|
||||
console.log
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
}).data('gridster');
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
3621
assets/jquery.gridster.js
Normal file
9404
assets/jquery.js
vendored
Normal file
15
config/TEST.php
Normal file
@ -0,0 +1,15 @@
|
||||
<select name="menu1">
|
||||
<?php
|
||||
$dir = "../Pic/Upload/";
|
||||
|
||||
// Open a known directory, and proceed to read its contents
|
||||
if (is_dir($dir)) {
|
||||
if ($dh = opendir($dir)) {
|
||||
while (($file = readdir($dh)) !== false) {
|
||||
print "<option value=\"{$file}\">{$file}</option>";
|
||||
}
|
||||
closedir($dh);
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
@ -1,6 +1,12 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<script type="text/javascript" src="../jscolor/jscolor.js"></script>
|
||||
<script type="text/javascript">
|
||||
function myfunction(){
|
||||
localStorage.clear();
|
||||
window.location.reload();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<?php include '../config.php';?>
|
||||
<body>
|
||||
@ -25,6 +31,8 @@
|
||||
<br />
|
||||
Show Version : <input name="showversion" id="id" type="checkbox" <?php if($showversion > "0") echo "checked=checked; "; ?> /><br />
|
||||
<br />
|
||||
Reset Widgets : <input id="def_button" type="button" value="Set to Default" onclick="myfunction()"><br />
|
||||
<br />
|
||||
|
||||
<input type="submit" name="submit" value="Update" />
|
||||
</form>
|
||||
|
105
config/set2.php
@ -4,22 +4,115 @@
|
||||
SAB Enabled: <input name="sabvisible" id="id" type="checkbox" <?php if($sabvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
SAB Port: <input type="text" value="<?php echo $sabport ?>" name="sabport" /><br />
|
||||
SAB Name: <input type="text" value="<?php echo $sabname ?>" name="sabname" /><br />
|
||||
SAB Pic: <input type="text" value="<?php echo $sabpicname ?>" name="sabpicname" /><br />
|
||||
<br />
|
||||
SAB Pic: <?php
|
||||
|
||||
$folder = '../Pic/Upload';
|
||||
|
||||
echo '<select name="sabpic">'."\n".
|
||||
dropdown(image_filenames($folder), @$_POST['image']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function image_filenames($dir)
|
||||
{
|
||||
$handle = @opendir($dir)
|
||||
or die("I cannot open the directory '<b>$dir</b>' for reading.");
|
||||
$images = array();
|
||||
while (false !== ($file = readdir($handle)))
|
||||
{
|
||||
if (eregi('\.(jpg|gif|png)$', $file))
|
||||
{
|
||||
$images[] = $file;
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $images;
|
||||
}
|
||||
|
||||
function dropdown($options_array, $selected = null)
|
||||
{
|
||||
global $sabpicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $sabpicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
Sick Enabled: <input name="sickvisible" id="id" type="checkbox" <?php if($sickvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Sick Type : <input type="radio" name="sicktype" value="1" <?php if($sicktype < "2") echo "checked=checked; "; ?>>SickBeard / <input type="radio" name="sicktype" value="2" <?php if($sicktype > "1") echo "checked=checked; "; ?>>SickRage<br />
|
||||
Sick Port: <input type="text" value="<?php echo $sickport ?>" name="sickport" /><br />
|
||||
Sick Name: <input type="text" value="<?php echo $sickname ?>" name="sickname" /><br />
|
||||
Sick Pic: <input type="text" value="<?php echo $sickpicname ?>" name="sickpicname" /><br />
|
||||
<br />
|
||||
Sick Pic:<?php
|
||||
|
||||
echo '<select name="sickpic">'."\n".
|
||||
dropdown_sick(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_sick($options_array, $selected = null)
|
||||
{
|
||||
global $sickpicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $sickpicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Couch Enabled: <input name="couchvisible" id="id" type="checkbox" <?php if($couchvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Couch Adults : <input type="radio" name="cpadultsvisible" value="1" <?php if($cpadultsvisible > "0") echo "checked=checked; "; ?>>Enabled / <input type="radio" name="cpadultsvisible" value="2" <?php if($cpadultsvisible < "1") echo "checked=checked; "; ?>>Disabled<br />
|
||||
Couch Adults Port: <input type="text" value="<?php echo $cpadults ?>" name="cpadults" /><br />
|
||||
Couch Adults Name: <input type="text" value="<?php echo $cpadultsname ?>" name="cpadultsname" /><br />
|
||||
Couch Adults Pic: <input type="text" value="<?php echo $cpadultspicname ?>" name="cpadultspicname" /><br />
|
||||
Couch Adults Pic: <?php
|
||||
|
||||
echo '<select name="cpapic">'."\n".
|
||||
dropdown_cpa(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_cpa($options_array, $selected = null)
|
||||
{
|
||||
global $cpadultspicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $cpadultspicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
Couch Kids : <input type="radio" name="cpkidsvisible" value="1" <?php if($cpkidsvisible > "0") echo "checked=checked; "; ?>>Enabled / <input type="radio" name="cpkidsvisible" value="2" <?php if($cpkidsvisible < "1") echo "checked=checked; "; ?>>Disabled<br />
|
||||
Couch Kids Port: <input type="text" value="<?php echo $cpkids ?>" name="cpkids" /><br />
|
||||
Couch Kids Name: <input type="text" value="<?php echo $cpkidsname ?>" name="cpkidsname" /><br />
|
||||
Couch Kids Pic: <input type="text" value="<?php echo $cpkidspicname ?>" name="cpkidspicname" /><br />
|
||||
Couch Kids Pic: <?php
|
||||
|
||||
echo '<select name="cpkpic">'."\n".
|
||||
dropdown_cpk(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_cpk($options_array, $selected = null)
|
||||
{
|
||||
global $cpkidspicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $cpkidspicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
<input type="submit" name="submit" value="Update" />
|
||||
</form>
|
177
config/set3.php
@ -1,4 +1,24 @@
|
||||
<?php include '../config.php';?>
|
||||
<?php
|
||||
|
||||
$folder = '../Pic/Upload';
|
||||
|
||||
function image_filenames($dir)
|
||||
{
|
||||
$handle = @opendir($dir)
|
||||
or die("I cannot open the directory '<b>$dir</b>' for reading.");
|
||||
$images = array();
|
||||
while (false !== ($file = readdir($handle)))
|
||||
{
|
||||
if (eregi('\.(jpg|gif|png)$', $file))
|
||||
{
|
||||
$images[] = $file;
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $images;
|
||||
}
|
||||
?>
|
||||
|
||||
<form action="write3.php" method="post">
|
||||
<div style="width:100%;"> <!-- Main Div -->
|
||||
@ -6,18 +26,73 @@
|
||||
FTP Enabled: <input name="ftpvisible" id="id" type="checkbox" <?php if($ftpvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
FTP Port: <input type="text" value="<?php echo $ftpport ?>" name="ftpport" /><br />
|
||||
FTP Name: <input type="text" value="<?php echo $ftpname ?>" name="ftpname" /><br />
|
||||
FTP Pic: <input type="text" value="<?php echo $ftppicname ?>" name="ftppicname" /><br />
|
||||
<br />
|
||||
FTP Pic: <?php
|
||||
|
||||
echo '<select name="ftppic">'."\n".
|
||||
dropdown_ftp(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_ftp($options_array, $selected = null)
|
||||
{
|
||||
global $ftppicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $ftppicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
Torrent Enabled: <input name="torrentvisible" id="id" type="checkbox" <?php if($torrentvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Torrent Type : <input type="radio" name="torrenttype" value="1" <?php if($torrenttype < "2") echo "checked=checked; "; ?>>uTorrent / <input type="radio" name="torrenttype" value="2" <?php if($torrenttype > "1") echo "checked=checked; "; ?>>Transmission<br />
|
||||
Torrent Port: <input type="text" value="<?php echo $torrentport ?>" name="torrentport" /><br />
|
||||
Torrent Name: <input type="text" value="<?php echo $torrentname ?>" name="torrentname" /><br />
|
||||
Torrent Pic: <input type="text" value="<?php echo $torrentpicname ?>" name="torrentpicname" /><br />
|
||||
<br />
|
||||
Torrent Pic: <?php
|
||||
|
||||
echo '<select name="torrentpic">'."\n".
|
||||
dropdown_torrent(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_torrent($options_array, $selected = null)
|
||||
{
|
||||
global $torrentpicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $torrentpicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
Madsonic Enabled: <input name="madsonicvisible" id="id" type="checkbox" <?php if($madsonicvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Madsonic Port: <input type="text" value="<?php echo $madsonicport ?>" name="madsonicport" /><br />
|
||||
Madsonic Name: <input type="text" value="<?php echo $madsonicname ?>" name="madsonicname" /><br />
|
||||
Madsonic Pic: <input type="text" value="<?php echo $madsonicpicname ?>" name="madsonicpicname" /><br />
|
||||
Madsonic Pic: <?php
|
||||
|
||||
echo '<select name="madpic">'."\n".
|
||||
dropdown_mad(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_mad($options_array, $selected = null)
|
||||
{
|
||||
global $madsonicpicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $madsonicpicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
</div>
|
||||
<div style="float:right; width:50%; ">
|
||||
@ -25,16 +100,94 @@
|
||||
Plex Enabled: <input name="plexvisible" id="id" type="checkbox" <?php if($plexvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Plex Port: <input type="text" value="<?php echo $plexport ?>" name="plexport" /><br />
|
||||
Plex Name: <input type="text" value="<?php echo $plexname ?>" name="plexname" /><br />
|
||||
Plex Pic: <input type="text" value="<?php echo $plexpicname ?>" name="plexpicname" /><br />
|
||||
<br />
|
||||
Squeezebox Enabled: <input name="squeezevisible" id="id" type="checkbox" <?php if($squeezevisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Plex Pic: <?php
|
||||
|
||||
echo '<select name="plexpic">'."\n".
|
||||
dropdown_plex(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_plex($options_array, $selected = null)
|
||||
{
|
||||
global $plexpicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $plexpicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
Squeezebox Enabled: <input name="squeezevisible" id="id" type="checkbox" <?php if($squeezevisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Squeezebox Port: <input type="text" value="<?php echo $squeezeport ?>" name="squeezeport" /><br />
|
||||
Squeezebox Name: <input type="text" value="<?php echo $squeezename ?>" name="squeezename" /><br />
|
||||
Squeezebox Pic: <input type="text" value="<?php echo $squeezepicname ?>" name="squeezepicname" /><br />
|
||||
<br />
|
||||
Jdownloader Enabled: <input name="jdownloadervisible" id="id" type="checkbox" <?php if($jdownloadervisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Squeezebox Pic: <?php
|
||||
|
||||
echo '<select name="squeezepic">'."\n".
|
||||
dropdown_squeeze(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_squeeze($options_array, $selected = null)
|
||||
{
|
||||
global $squeezepicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $squeezepicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
Jdownloader Enabled: <input name="jdownloadervisible" id="id" type="checkbox" <?php if($jdownloadervisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
Jdownloader Name: <input type="text" value="<?php echo $jdownloadername ?>" name="jdownloadername" /><br />
|
||||
Jdownloader Pic: <input type="text" value="<?php echo $jdownloaderpicname ?>" name="jdownloaderpicname" /><br />
|
||||
Jdownloader Pic: <?php
|
||||
|
||||
echo '<select name="jdpic">'."\n".
|
||||
dropdown_jd(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_jd($options_array, $selected = null)
|
||||
{
|
||||
global $jdownloaderpicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $jdownloaderpicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
HeadPhones Enabled: <input name="headphonesvisible" id="id" type="checkbox" <?php if($headvisible > "0") echo "checked=checked; "; ?> /><br />
|
||||
HeadPhones Port: <input type="text" value="<?php echo $headport ?>" name="headport" /><br />
|
||||
HeadPhones Name: <input type="text" value="<?php echo $headname ?>" name="headphonesname" /><br />
|
||||
HeadPhones Pic: <?php
|
||||
|
||||
echo '<select name="headpic">'."\n".
|
||||
dropdown_head(image_filenames($folder), @$_POST['image2']).
|
||||
'</select>'."\n".'</br></br>';
|
||||
|
||||
function dropdown_head($options_array, $selected = null)
|
||||
{
|
||||
global $headphonespicname;
|
||||
$return = null;
|
||||
foreach($options_array as $option)
|
||||
{
|
||||
$return .= '<option value="'.$option.'"'.
|
||||
(($option == $headphonespicname) ? ' selected="selected"' : null ).
|
||||
'>'.$option.'</option>'."\n";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
?>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$target_dir = "../Pic/";
|
||||
$target_dir = "../Pic/Upload/";
|
||||
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
|
||||
$uploadOk = 1;
|
||||
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
|
||||
|
@ -2,20 +2,20 @@
|
||||
$sabvis1 = $_POST['sabvisible'];
|
||||
$sabport1 = $_POST['sabport'];
|
||||
$sabname1 = $_POST['sabname'];
|
||||
$sabpicname1 = $_POST['sabpicname'];
|
||||
$sabpicname1 = $_POST['sabpic'];
|
||||
$sickvis1 = $_POST['sickvisible'];
|
||||
$sicktype1 = $_POST['sicktype'];
|
||||
$sickname1 = $_POST['sickname'];
|
||||
$sickpicname1 = $_POST['sickpicname'];
|
||||
$sickpicname1 = $_POST['sickpic'];
|
||||
$sickport1 = $_POST['sickport'];
|
||||
$couchvisible1 = $_POST['couchvisible'];
|
||||
$cpadultsvisible1 = $_POST['cpadultsvisible'];
|
||||
$cpadultsname1 = $_POST['cpadultsname'];
|
||||
$cpadultspicname1 = $_POST['cpadultspicname'];
|
||||
$cpadultspicname1 = $_POST['cpapic'];
|
||||
$cpadults1 = $_POST['cpadults'];
|
||||
$cpkidsvisible1 = $_POST['cpkidsvisible'];
|
||||
$cpkidsname1 = $_POST['cpkidsname'];
|
||||
$cpkidspicname1 = $_POST['cpkidspicname'];
|
||||
$cpkidspicname1 = $_POST['cpkpic'];
|
||||
$cpkids1 = $_POST['cpkids'];
|
||||
//
|
||||
$fl='../config.php';
|
||||
|
@ -23,6 +23,10 @@ $squeezeport1 = $_POST['squeezeport'];
|
||||
$jdownloadervisible1 = $_POST['jdownloadervisible'];
|
||||
$jdownloadername1 = $_POST['$jdownloadername'];
|
||||
$jdownloaderpicname1 = $_POST['jdownloaderpicname'];
|
||||
$headvisible1 = $_POST['headphonesvisible'];
|
||||
$headname1 = $_POST['$headphonesname'];
|
||||
$headpicname1 = $_POST['headpic'];
|
||||
$headport1 = $_POST['headport'];
|
||||
|
||||
|
||||
|
||||
@ -107,6 +111,18 @@ if (empty($jdownloadervisible1)) {
|
||||
$content = preg_replace( '/\$jdownloadername = \"(.*?)\";/', '$jdownloadername = "'.$jdownloadername1.'";', $content);
|
||||
$content = preg_replace( '/\$jdownloaderpicname = \"(.*?)\";/', '$jdownloaderpicname = "'.$jdownloaderpicname1.'";', $content);
|
||||
// End of Squeeze Settigns
|
||||
|
||||
// HeadPhones Settings
|
||||
// HeadPhones Visible Update
|
||||
if (empty($headvisible1)) {
|
||||
$content = preg_replace( '/\$headvisible = \"(.*?)\";/', '$headvisible = "0";', $content);
|
||||
} else {
|
||||
$content = preg_replace( '/\$headvisible = \"(.*?)\";/', '$headvisible = "1";', $content);
|
||||
}
|
||||
$content = preg_replace( '/\$headport = \"(.*?)\";/', '$headport = "'.$headport1.'";', $content);
|
||||
$content = preg_replace( '/\$headname = \"(.*?)\";/', '$headname = "'.$headname1.'";', $content);
|
||||
$content = preg_replace( '/\$headpicname = \"(.*?)\";/', '$headpicname = "'.$headpicname1.'";', $content);
|
||||
// End of HeadPhones Settigns
|
||||
|
||||
/*write operation ->*/ $tmp =fopen($fl, "w"); fwrite($tmp, $content); fclose($tmp);
|
||||
|
||||
|
@ -44,6 +44,10 @@ if ($cpkidsvisible > "0") {
|
||||
$configs['services']["$cpkidsname"] = $cpkids;
|
||||
}
|
||||
|
||||
if ($headvisible > "0") {
|
||||
$configs['services']["$headname"] = $headport;
|
||||
}
|
||||
|
||||
if ($ftpvisible > "0") {
|
||||
$configs['services']["$ftpname"] = $ftpport;
|
||||
}
|
||||
|
@ -8,11 +8,6 @@
|
||||
}
|
||||
|
||||
#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 $custombackground; ?>;
|
||||
color: white; #000000;
|
||||
@ -28,10 +23,6 @@ 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)*/
|
||||
|
@ -11,13 +11,14 @@
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<?php include '../config.php';?>
|
||||
<table width='275' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr onclick="toggleNextRow(this)" BGCOLOR='#0066FF'>
|
||||
<th style='text-align: left;'><font color='white'>KKnowledge Articles</font></th>
|
||||
<th style='text-align: left;'><font color='white'>KKnowledge</font></th>
|
||||
</tr>
|
||||
<tr class="hiddenRow">
|
||||
<td bgcolor='#FFFFFF'>
|
||||
<!-- start feedwind code --><script type="text/javascript">document.write('\x3Cscript type="text/javascript" src="' + ('https:' == document.location.protocol ? 'https://' : 'http://') + 'feed.mikle.com/js/rssmikle.js">\x3C/script>');</script><script type="text/javascript">(function() {var params = {rssmikle_url: "http://kknowledge.tk/rss.php?mode=recent",rssmikle_frame_width: "275",rssmikle_frame_height: "400",frame_height_by_article: "5",rssmikle_target: "_blank",rssmikle_font: "Arial, Helvetica, sans-serif",rssmikle_font_size: "12",rssmikle_border: "off",responsive: "off",rssmikle_css_url: "",text_align: "left",text_align2: "left",corner: "off",scrollbar: "on",autoscroll: "on",scrolldirection: "up",scrollstep: "3",mcspeed: "20",sort: "Off",rssmikle_title: "off",rssmikle_title_sentence: "",rssmikle_title_link: "",rssmikle_title_bgcolor: "#0066FF",rssmikle_title_color: "#FFFFFF",rssmikle_title_bgimage: "",rssmikle_item_bgcolor: "#FFFFFF",rssmikle_item_bgimage: "",rssmikle_item_title_length: "55",rssmikle_item_title_color: "#0066FF",rssmikle_item_border_bottom: "on",rssmikle_item_description: "on",item_link: "off",rssmikle_item_description_length: "150",rssmikle_item_description_color: "#666666",rssmikle_item_date: "gl1",rssmikle_timezone: "Etc/GMT",datetime_format: "%b %e, %Y %l:%M:%S %p",item_description_style: "text+tn",item_thumbnail: "full",item_thumbnail_selection: "auto",article_num: "15",rssmikle_item_podcast: "off",keyword_inc: "",keyword_exc: ""};feedwind_show_widget_iframe(params);})();</script><div style="font-size:10px; text-align:center; width:275px;"></div><!-- end feedwind code -->
|
||||
<!-- start feedwind code --><script type="text/javascript">document.write('\x3Cscript type="text/javascript" src="' + ('https:' == document.location.protocol ? 'https://' : 'http://') + 'feed.mikle.com/js/rssmikle.js">\x3C/script>');</script><script type="text/javascript">(function() {var params = {rssmikle_url: "http://<?php echo $kkuser;?>:<?php echo $kkpass;?>@kknowledge.tk/feed/latest/rss.php",rssmikle_frame_width: "275",rssmikle_frame_height: "400",frame_height_by_article: "5",rssmikle_target: "_blank",rssmikle_font: "Arial, Helvetica, sans-serif",rssmikle_font_size: "12",rssmikle_border: "off",responsive: "off",rssmikle_css_url: "",text_align: "left",text_align2: "left",corner: "off",scrollbar: "on",autoscroll: "on",scrolldirection: "up",scrollstep: "3",mcspeed: "20",sort: "Off",rssmikle_title: "off",rssmikle_title_sentence: "",rssmikle_title_link: "",rssmikle_title_bgcolor: "#0066FF",rssmikle_title_color: "#FFFFFF",rssmikle_title_bgimage: "",rssmikle_item_bgcolor: "#FFFFFF",rssmikle_item_bgimage: "",rssmikle_item_title_length: "55",rssmikle_item_title_color: "#0066FF",rssmikle_item_border_bottom: "on",rssmikle_item_description: "on",item_link: "off",rssmikle_item_description_length: "150",rssmikle_item_description_color: "#666666",rssmikle_item_date: "gl1",rssmikle_timezone: "Etc/GMT",datetime_format: "%b %e, %Y %l:%M:%S %p",item_description_style: "text+tn",item_thumbnail: "full",item_thumbnail_selection: "auto",article_num: "15",rssmikle_item_podcast: "off",keyword_inc: "",keyword_exc: ""};feedwind_show_widget_iframe(params);})();</script><div style="font-size:10px; text-align:center; width:275px;"></div><!-- end feedwind code -->
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</head>
|
||||
<table width='275' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr onclick="toggleNextRow(this)" BGCOLOR='#0066FF'>
|
||||
<th style='text-align: left;'><font color='white'>Klips Feed</font></th>
|
||||
<th style='text-align: left;'><font color='white'>Latest Klips</font></th>
|
||||
</tr>
|
||||
<tr class="hiddenRow">
|
||||
<td bgcolor='#FFFFFF'>
|
||||
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($cpadultspicname)) {
|
||||
echo "<a href=\"#test-popup\" class=\"open-popup-link\"><img src=\"$myurl/Pic/couch.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li5\" data-row=\"2\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"#test-popup\" class=\"open-popup-link\"><img src=\"$myurl/Pic/couch.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"#test-popup\" class=\"open-popup-link\"><img src=\"$myurl/Pic/$cpadultspicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li5\" data-row=\"2\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"#test-popup\" class=\"open-popup-link\"><img src=\"$myurl/Pic/$cpadultspicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($cpadultspicname)) {
|
||||
echo "<a href=\"$myurl:$cpadults\" target=\"_blank\"><img src=\"$myurl/Pic/couch.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li5\" data-row=\"2\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$cpadults\" target=\"_blank\"><img src=\"$myurl/Pic/couch.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$cpadults\" target=\"_blank\"><img src=\"$myurl/Pic/$cpadultspicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li5\" data-row=\"2\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$cpadults\" target=\"_blank\"><img src=\"$myurl/Pic/$cpadultspicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($ftppicname)) {
|
||||
echo "<a href=\"$ftp\" target=\"_blank\"><img src=\"$myurl/Pic/ftp.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li6\" data-row=\"2\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$ftp\" target=\"_blank\"><img src=\"$myurl/Pic/ftp.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$ftp\" target=\"_blank\"><img src=\"$myurl/Pic/$ftppicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li6\" data-row=\"2\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$ftp\" target=\"_blank\"><img src=\"$myurl/Pic/$ftppicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
10
links/headphones.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($headpicname)) {
|
||||
echo "<li id=\"head\" data-row=\"4\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$headport\" target=\"_blank\"><img src=\"$myurl/Pic/headphones.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<li id=\"head\" data-row=\"4\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$headport\" target=\"_blank\"><img src=\"$myurl/Pic/$headpicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
|
@ -1,9 +1,23 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($jdownloaderpicname)) {
|
||||
echo "<a href=\"http://my.jdownloader.org/\" target=\"_blank\"><img src=\"$myurl/Pic/jdownloader.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li1\" data-row=\"1\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"http://my.jdownloader.org/\" target=\"_blank\"><img src=\"$myurl/Pic/jdownloader.png\" style=\"width: 130px; height: 130px; vertical-align:middle; text-align:center\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"http://my.jdownloader.org/\" target=\"_blank\"><img src=\"$myurl/Pic/$jdownloaderpicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li1\" data-row=\"1\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"http://my.jdownloader.org/\" target=\"_blank\"><img src=\"$myurl/Pic/$jdownloaderpicname\" align=\"middle\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($kodipicname)) {
|
||||
echo "<a href=\"/movielib/\" target=\"_blank\"><img src=\"$myurl/Pic/kodi.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"kodi\" data-row=\"4\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"/movielib/\" target=\"_blank\"><img src=\"$myurl/Pic/kodi.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"/movielib/\" target=\"_blank\"><img src=\"$myurl/Pic/$kodipicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"kodi\" data-row=\"4\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"/movielib/\" target=\"_blank\"><img src=\"$myurl/Pic/$kodipicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($madsonicpicname)) {
|
||||
echo "<a href=\"$myurl:$madsonicport\" target=\"_blank\"><img src=\"$myurl/Pic/madsonic.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"madsonic\" data-row=\"3\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$madsonicport\" target=\"_blank\"><img src=\"$myurl/Pic/madsonic.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$madsonicport\" target=\"_blank\"><img src=\"$myurl/Pic/$madsonicpicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"madsonic\" data-row=\"3\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$madsonicport\" target=\"_blank\"><img src=\"$myurl/Pic/$madsonicpicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($plexpicname)) {
|
||||
echo "<a href=\"$myurl:$plexport/web\" target=\"_blank\"><img src=\"$myurl/Pic/plex.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"plex\" data-row=\"3\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$plexport/web\" target=\"_blank\"><img src=\"$myurl/Pic/plex.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$plexport/web\" target=\"_blank\"><img src=\"$myurl/Pic/$plexpicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"plex\" data-row=\"3\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$plexport/web\" target=\"_blank\"><img src=\"$myurl/Pic/$plexpicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($sabpicname)) {
|
||||
echo "<a href=\"$myurl:$sabport\" target=\"_blank\"><img src=\"$myurl/Pic/sab.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li3\" data-row=\"1\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$sabport\" target=\"_blank\"><img src=\"$myurl/Pic/sab.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$sabport\" target=\"_blank\"><img src=\"$myurl/Pic/$sabpicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li3\" data-row=\"1\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$sabport\" target=\"_blank\"><img src=\"$myurl/Pic/Upload/$sabpicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($sickpicname)) {
|
||||
echo "<a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/sickbeard.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li4\" data-row=\"2\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/sickbeard.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/$sickpicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li4\" data-row=\"2\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/$sickpicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($sickpicname)) {
|
||||
echo "<a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/sickrage.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li4\" data-row=\"2\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/sickrage.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/$sickpicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li4\" data-row=\"2\" data-col=\"2\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$sickport\" target=\"_blank\"><img src=\"$myurl/Pic/$sickpicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($squeezepicname)) {
|
||||
echo "<a href=\"$myurl:$squeezeport\" target=\"_blank\"><img src=\"$myurl/Pic/squeeze.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"squeeze\" data-row=\"3\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$squeezeport\" target=\"_blank\"><img src=\"$myurl/Pic/squeeze.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$squeezeport\" target=\"_blank\"><img src=\"$myurl/Pic/$squeezepicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"squeeze\" data-row=\"3\" data-col=\"4\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$squeezeport\" target=\"_blank\"><img src=\"$myurl/Pic/$squeezepicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
if ($torrenttype = "T") {
|
||||
echo "<a href=\"$myurl:$torrentport\" target=\"_blank\"><img src=\"$myurl/Pic/Transmission.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li2\" data-row=\"1\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$torrentport\" target=\"_blank\"><img src=\"$myurl/Pic/Transmission.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
<?php include 'config.php';?>
|
||||
<?php
|
||||
if (empty($torrentpicname)) {
|
||||
echo "<a href=\"$myurl:$torrentport/gui\" target=\"_blank\"><img src=\"$myurl/Pic/uTorrent.png\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li2\" data-row=\"1\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$torrentport/gui\" target=\"_blank\"><img src=\"$myurl/Pic/uTorrent.png\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"$myurl:$torrentport/gui\" target=\"_blank\"><img src=\"$myurl/Pic/$torrentpicname\" style=\"width: 130px; height: 130px;\"/></a>";
|
||||
echo "<li id=\"li2\" data-row=\"1\" data-col=\"3\" data-sizex=\"1\" data-sizey=\"1\"><a href=\"$myurl:$torrentport/gui\" target=\"_blank\"><img src=\"$myurl/Pic/$torrentpicname\" style=\"width: 130px; height: 130px;\"/></a></li>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
90
main.php
@ -29,9 +29,22 @@ indicateSelected(formref.switchcontrol)
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="assets/css/jquery.gridster.css">
|
||||
<script type="text/javascript" src="assets/jquery.js"></script>
|
||||
<script type="text/javascript" src="assets/jquery.gridster.js" charster="utf-8"></script>
|
||||
|
||||
</head>
|
||||
<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';
|
||||
@ -76,18 +89,11 @@ $('.window').hide();
|
||||
});
|
||||
</script>
|
||||
<body>
|
||||
<div id="style">
|
||||
<div class="innertube">
|
||||
<div id="style" >
|
||||
|
||||
<?php include 'config.php';?>
|
||||
<?php include 'http://home.k-world.me.uk/version.txt';?>
|
||||
|
||||
<?php
|
||||
if ($localversion != $remoteversion) {
|
||||
require "updatenotify.php";
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="head">
|
||||
<?php echo "<p style=\" text-align: center;\">$yourname's Server Access</p>";?>
|
||||
</div>
|
||||
@ -95,9 +101,12 @@ if ($localversion != $remoteversion) {
|
||||
<p style="text-align: center;">
|
||||
<?php echo "<a href=\"#test-popup2\" class=\"open-popup-link\"><img src=\"$myurl/Pic/KWorld.png\"/></a>"; ?>
|
||||
</p>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<?php
|
||||
<div class="gridWrapper">
|
||||
|
||||
<div class="gridster">
|
||||
<ul id="hello">
|
||||
|
||||
<?php
|
||||
if ($jdownloadervisible > "0") {
|
||||
require "links/jdownloader.php";
|
||||
}
|
||||
@ -107,12 +116,13 @@ if ($torrentvisible > "0") {
|
||||
require "links/torrent.php";
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
if ($sabvisible > "0") {
|
||||
require "links/sab.php";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
|
||||
<p style="text-align: center;">
|
||||
<?php
|
||||
@ -120,47 +130,66 @@ if ($sickvisible > "0") {
|
||||
require "links/sicktype.php";
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($couchvisible > "0") {
|
||||
require "links/couch.php";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($kodivisible > "0") {
|
||||
require "links/kodi.php";
|
||||
} else {
|
||||
if ($ftpvisible > "0") {
|
||||
require "links/ftp.php";
|
||||
}
|
||||
?>
|
||||
}
|
||||
?>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<?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>
|
||||
</div>
|
||||
<div class="version">
|
||||
<?php
|
||||
if ($showversion > "0") {
|
||||
echo "<p style=\" text-align: center;\">Version - $localversion</p>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div id="test-popup" class="white-popup mfp-hide">
|
||||
|
||||
|
||||
<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>
|
||||
<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>"; ?>
|
||||
@ -174,19 +203,16 @@ if ($showversion > "0") {
|
||||
<?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>
|
||||
<script src='http://dimsemenov-static.s3.amazonaws.com/dist/jquery.magnific-popup.min.js'></script>
|
||||
|
||||
<script src="js/index.js"></script>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<?php
|
||||
<?php
|
||||
if ($konvoschat > "0") {
|
||||
require "konvoschat.php";
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
192
main.phpold
Normal file
@ -0,0 +1,192 @@
|
||||
<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>
|
||||
|
||||
|
||||
</head>
|
||||
<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';?>
|
||||
|
||||
<?php
|
||||
if ($localversion != $remoteversion) {
|
||||
require "updatenotify.php";
|
||||
}
|
||||
?>
|
||||
|
||||
<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>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<?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 ($kodivisible > "0") {
|
||||
require "links/kodi.php";
|
||||
} else {
|
||||
require "links/ftp.php";
|
||||
}
|
||||
?>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<?php
|
||||
if ($madsonicvisible > "0") {
|
||||
require "links/madsonic.php";
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if ($plexvisible > "0") {
|
||||
require "links/plex.php";
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if ($squeezevisible > "0") {
|
||||
require "links/squeeze.php";
|
||||
}
|
||||
?>
|
||||
<div class="version">
|
||||
<?php
|
||||
if ($showversion > "0") {
|
||||
echo "<p style=\" text-align: center;\">Version - $localversion</p>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<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>"; ?>
|
||||
</div>
|
||||
|
||||
<script src='http://codepen.io/assets/libs/fullpage/jquery.js'></script>
|
||||
<script src='http://dimsemenov-static.s3.amazonaws.com/dist/jquery.magnific-popup.min.js'></script>
|
||||
|
||||
<script src="js/index.js"></script>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<?php
|
||||
if ($konvoschat > "0") {
|
||||
require "konvoschat.php";
|
||||
}
|
||||
?>
|
||||
|
||||
</html>
|
@ -105,7 +105,7 @@ if ($customfeed3visible > "0") {
|
||||
<table id='themetable' width='275' border="0" cellpadding="1" cellspacing="0">
|
||||
<thead>
|
||||
<tr onclick='togglebodytheme()'>
|
||||
<td bgcolor="#0066FF" style="text-align: left;"><font color="white">Theme</font></td>
|
||||
<td bgcolor="#0066FF" style="text-align: left;"><font color="white"><b>Theme</b></font></td>
|
||||
<td bgcolor="#0066FF"> </td>
|
||||
<td bgcolor="#0066FF"> </td>
|
||||
<td bgcolor="#0066FF"> </td>
|
||||
|
5
robots.txt
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
# This file can be used to affect how search engines and other web site crawlers see your site.
|
||||
# For more information, please see http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1.1
|
||||
# WebMatrix 2.0
|
||||
|