commit aa99db3335d13b25b43aa1fbaa96d542e7da1fe1 Author: Karl Hudgell Date: Thu Jul 2 19:33:06 2015 +0100 First Push diff --git a/Pic/Feedly.png b/Pic/Feedly.png new file mode 100644 index 0000000..3112fc3 Binary files /dev/null and b/Pic/Feedly.png differ diff --git a/Pic/KKnowledge.png b/Pic/KKnowledge.png new file mode 100644 index 0000000..5010ab7 Binary files /dev/null and b/Pic/KKnowledge.png differ diff --git a/Pic/LMS.png b/Pic/LMS.png new file mode 100644 index 0000000..f0fc205 Binary files /dev/null and b/Pic/LMS.png differ diff --git a/Pic/Raspberry-Pi-logo.jpg b/Pic/Raspberry-Pi-logo.jpg new file mode 100644 index 0000000..b08dee0 Binary files /dev/null and b/Pic/Raspberry-Pi-logo.jpg differ diff --git a/Pic/Raspberry-Pi-logo_clipped_rev_4.png b/Pic/Raspberry-Pi-logo_clipped_rev_4.png new file mode 100644 index 0000000..0c9a0ea Binary files /dev/null and b/Pic/Raspberry-Pi-logo_clipped_rev_4.png differ diff --git a/Pic/RaspberryPi_Logo.png b/Pic/RaspberryPi_Logo.png new file mode 100644 index 0000000..07776bd Binary files /dev/null and b/Pic/RaspberryPi_Logo.png differ diff --git a/Pic/Thumbs.db b/Pic/Thumbs.db new file mode 100644 index 0000000..d07c3e1 Binary files /dev/null and b/Pic/Thumbs.db differ diff --git a/Pic/WebClip.png b/Pic/WebClip.png new file mode 100644 index 0000000..05040ec Binary files /dev/null and b/Pic/WebClip.png differ diff --git a/Pic/XBMC_Logo.png b/Pic/XBMC_Logo.png new file mode 100644 index 0000000..aee0cd8 Binary files /dev/null and b/Pic/XBMC_Logo.png differ diff --git a/Pic/ajax2.png b/Pic/ajax2.png new file mode 100644 index 0000000..d2120e4 Binary files /dev/null and b/Pic/ajax2.png differ diff --git a/Pic/android-community.png b/Pic/android-community.png new file mode 100644 index 0000000..0e6173f Binary files /dev/null and b/Pic/android-community.png differ diff --git a/Pic/androidpolice.png b/Pic/androidpolice.png new file mode 100644 index 0000000..ee4c976 Binary files /dev/null and b/Pic/androidpolice.png differ diff --git a/Pic/babycam.png b/Pic/babycam.png new file mode 100644 index 0000000..0e03616 Binary files /dev/null and b/Pic/babycam.png differ diff --git a/Pic/calibre.png b/Pic/calibre.png new file mode 100644 index 0000000..b531118 Binary files /dev/null and b/Pic/calibre.png differ diff --git a/Pic/calibre.png3 b/Pic/calibre.png3 new file mode 100644 index 0000000..b531118 Binary files /dev/null and b/Pic/calibre.png3 differ diff --git a/Pic/cnet.png b/Pic/cnet.png new file mode 100644 index 0000000..ec86287 Binary files /dev/null and b/Pic/cnet.png differ diff --git a/Pic/couch.png b/Pic/couch.png new file mode 100644 index 0000000..dfd3e60 Binary files /dev/null and b/Pic/couch.png differ diff --git a/Pic/cutmypic.png b/Pic/cutmypic.png new file mode 100644 index 0000000..43e190c Binary files /dev/null and b/Pic/cutmypic.png differ diff --git a/Pic/dropbox.png b/Pic/dropbox.png new file mode 100644 index 0000000..e55f56d Binary files /dev/null and b/Pic/dropbox.png differ diff --git a/Pic/ftp.png b/Pic/ftp.png new file mode 100644 index 0000000..eaf6215 Binary files /dev/null and b/Pic/ftp.png differ diff --git a/Pic/headphones.png b/Pic/headphones.png new file mode 100644 index 0000000..3110160 Binary files /dev/null and b/Pic/headphones.png differ diff --git a/Pic/jdownloader.jpg b/Pic/jdownloader.jpg new file mode 100644 index 0000000..05594c0 Binary files /dev/null and b/Pic/jdownloader.jpg differ diff --git a/Pic/jdownloader.png b/Pic/jdownloader.png new file mode 100644 index 0000000..e23c9c2 Binary files /dev/null and b/Pic/jdownloader.png differ diff --git a/Pic/keepvid.png b/Pic/keepvid.png new file mode 100644 index 0000000..c931e6b Binary files /dev/null and b/Pic/keepvid.png differ diff --git a/Pic/lifehacker.png b/Pic/lifehacker.png new file mode 100644 index 0000000..65c0864 Binary files /dev/null and b/Pic/lifehacker.png differ diff --git a/Pic/madsonic.png b/Pic/madsonic.png new file mode 100644 index 0000000..f9dc55e Binary files /dev/null and b/Pic/madsonic.png differ diff --git a/Pic/maraschino_logo.png b/Pic/maraschino_logo.png new file mode 100644 index 0000000..0898517 Binary files /dev/null and b/Pic/maraschino_logo.png differ diff --git a/Pic/newznab.png b/Pic/newznab.png new file mode 100644 index 0000000..5e11059 Binary files /dev/null and b/Pic/newznab.png differ diff --git a/Pic/owncloud-logo-350x223.jpg b/Pic/owncloud-logo-350x223.jpg new file mode 100644 index 0000000..04fc37f Binary files /dev/null and b/Pic/owncloud-logo-350x223.jpg differ diff --git a/Pic/plex.png b/Pic/plex.png new file mode 100644 index 0000000..3e01818 Binary files /dev/null and b/Pic/plex.png differ diff --git a/Pic/sab.png b/Pic/sab.png new file mode 100644 index 0000000..700abed Binary files /dev/null and b/Pic/sab.png differ diff --git a/Pic/sick.png b/Pic/sick.png new file mode 100644 index 0000000..0c8dea9 Binary files /dev/null and b/Pic/sick.png differ diff --git a/Pic/sickrage.png b/Pic/sickrage.png new file mode 100644 index 0000000..80b76dd Binary files /dev/null and b/Pic/sickrage.png differ diff --git a/Pic/spotweb.png b/Pic/spotweb.png new file mode 100644 index 0000000..4c4d3d8 Binary files /dev/null and b/Pic/spotweb.png differ diff --git a/Pic/spotweb_clipped_rev_1.png b/Pic/spotweb_clipped_rev_1.png new file mode 100644 index 0000000..4e513d9 Binary files /dev/null and b/Pic/spotweb_clipped_rev_1.png differ diff --git a/Pic/spotweb_clipped_rev_2.png b/Pic/spotweb_clipped_rev_2.png new file mode 100644 index 0000000..209b859 Binary files /dev/null and b/Pic/spotweb_clipped_rev_2.png differ diff --git a/Pic/squeeze.png b/Pic/squeeze.png new file mode 100644 index 0000000..985bd89 Binary files /dev/null and b/Pic/squeeze.png differ diff --git a/Pic/uTorrent.png b/Pic/uTorrent.png new file mode 100644 index 0000000..01ceb72 Binary files /dev/null and b/Pic/uTorrent.png differ diff --git a/Pic/webmail.jpg b/Pic/webmail.jpg new file mode 100644 index 0000000..fc82c19 Binary files /dev/null and b/Pic/webmail.jpg differ diff --git a/Servers.php b/Servers.php new file mode 100644 index 0000000..bed55ee --- /dev/null +++ b/Servers.php @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + +
+
+ +
+
+ diff --git a/bootstrap_services.php b/bootstrap_services.php new file mode 100644 index 0000000..a5abf6e --- /dev/null +++ b/bootstrap_services.php @@ -0,0 +1,83 @@ +ServiceStatus"; + +# Process all services montiored. +foreach( $configs['servicesKloud'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip2'], $servicePort, $errno, $errstr, 5); + +# What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= "{$serviceName}{$statusText}"; +} + +# Process all services montiored. +foreach( $configs['servicesSpot'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip3'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= "{$serviceName}{$statusText}"; +} + +# Process all services montiored. +foreach( $configs['services'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= "{$serviceName}{$statusText}"; +} + + +# Finish service status table. +$serverStatus .= ""; + +# File Complete. + +?> \ No newline at end of file diff --git a/config.php b/config.php new file mode 100644 index 0000000..4e77b92 --- /dev/null +++ b/config.php @@ -0,0 +1,36 @@ + \ No newline at end of file diff --git a/configs_services.php b/configs_services.php new file mode 100644 index 0000000..c4f0460 --- /dev/null +++ b/configs_services.php @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/css/black.css b/css/black.css new file mode 100644 index 0000000..99814ff --- /dev/null +++ b/css/black.css @@ -0,0 +1,54 @@ + \ No newline at end of file diff --git a/css/blue.css b/css/blue.css new file mode 100644 index 0000000..cbf1bc3 --- /dev/null +++ b/css/blue.css @@ -0,0 +1,54 @@ + \ No newline at end of file diff --git a/css/white.css b/css/white.css new file mode 100644 index 0000000..5ac1d64 --- /dev/null +++ b/css/white.css @@ -0,0 +1,51 @@ + \ No newline at end of file diff --git a/feeds.php b/feeds.php new file mode 100644 index 0000000..cc498a8 --- /dev/null +++ b/feeds.php @@ -0,0 +1,11 @@ + + + +

+ +

+ + + + + diff --git a/index.php b/index.php new file mode 100644 index 0000000..5b7e588 --- /dev/null +++ b/index.php @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + +$yourname's Server Access";?> + + + + + + + + + + +Home Server Logon. + +
+
+
+ +
+ + + diff --git a/js/index.js b/js/index.js new file mode 100644 index 0000000..3ec7517 --- /dev/null +++ b/js/index.js @@ -0,0 +1,15 @@ +// Example 1: From an element in DOM +$('.open-popup-link').magnificPopup({ + type:'inline', + midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source. +}); + +// Example: 2 Dynamically created +$('button').magnificPopup({ + items: { + src: '
Dynamically created popup
', + type: 'inline' + }, + closeBtnInside: true +}); + diff --git a/left.php b/left.php new file mode 100644 index 0000000..6123c3a --- /dev/null +++ b/left.php @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/main.php b/main.php new file mode 100644 index 0000000..530b5e5 --- /dev/null +++ b/main.php @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + +
+
+ + + + +

+"; ?> +

+

+"; ?> +"; ?> +

+ +

+ +"; ?> +"; ?> + +

+"; ?> +"; ?> +"; ?> + +

+"; ?> +"; ?> +"; ?> + + +

+

+Adults"; ?> - Kids"; ?> +

+
+ + + + + +
+
+ + \ No newline at end of file diff --git a/right.php b/right.php new file mode 100644 index 0000000..b24a372 --- /dev/null +++ b/right.php @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + +
+
+ + +

+ + + + + + +
Theme
+
+ +
+
+
+
+ + + + diff --git a/services.php b/services.php new file mode 100644 index 0000000..d7afde2 --- /dev/null +++ b/services.php @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + +
+
+Server Status"; + +# Print our Server Status. + +echo $serverStatus; + +?> +
+
+ \ No newline at end of file diff --git a/ss_bootstrap_servers.php b/ss_bootstrap_servers.php new file mode 100644 index 0000000..cd0039d --- /dev/null +++ b/ss_bootstrap_servers.php @@ -0,0 +1,102 @@ +ServerStatus"; + +# Process all services montiored. +foreach( $configs['services'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= "{$serviceName}{$statusText}"; +} + +# Process all services montiored. +foreach( $configs['servicesKloud'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip2'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= "{$serviceName}{$statusText}"; +} + +# Process all services montiored. +foreach( $configs['servicesSpot'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip3'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= "{$serviceName}{$statusText}"; +} + +# Process all services montiored. +foreach( $configs['servicesKris'] as $serviceName => $servicePort ) +{ + # Determine Port Status. + $status = @fsockopen($configs['server_ip4'], $servicePort, $errno, $errstr, 5); + + # What is the result. + if( !$status ) + { + $statusText = "Down"; + } + else + { + $statusText = "Up"; + } + + # Set the status Row. + $serverStatus .= "{$serviceName}{$statusText}"; +} + +# Finish service status table. +$serverStatus .= ""; + +# File Complete. + +?> \ No newline at end of file diff --git a/ss_configs_servers.php b/ss_configs_servers.php new file mode 100644 index 0000000..0e55b4c --- /dev/null +++ b/ss_configs_servers.php @@ -0,0 +1,41 @@ +Duly Server'] = 80; +#$configs['servicesSpot']['Darren Server'] = 80; +$configs['services']['Karl Server'] = 80; +$configs['servicesKris']['Kris Server'] = 80; + + + +?> \ No newline at end of file diff --git a/styleswitch.js b/styleswitch.js new file mode 100644 index 0000000..0bc44e6 --- /dev/null +++ b/styleswitch.js @@ -0,0 +1,90 @@ +//Style Sheet Switcher version 1.1 Oct 10th, 2006 +//Author: Dynamic Drive: http://www.dynamicdrive.com +//Usage terms: http://www.dynamicdrive.com/notice.htm + +var manual_or_random="manual" //"manual" or "random" +var randomsetting="3 days" //"eachtime", "sessiononly", or "x days (replace x with desired integer)". Only applicable if mode is random. + +//////No need to edit beyond here////////////// + +function getCookie(Name) { +var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair +if (document.cookie.match(re)) //if cookie found +return document.cookie.match(re)[0].split("=")[1] //return its value +return null +} + +function setCookie(name, value, days) { +var expireDate = new Date() +//set "expstring" to either future or past date, to set or delete cookie, respectively +var expstring=(typeof days!="undefined")? expireDate.setDate(expireDate.getDate()+parseInt(days)) : expireDate.setDate(expireDate.getDate()-5) +document.cookie = name+"="+value+"; expires="+expireDate.toGMTString()+"; path=/"; +} + +function deleteCookie(name){ +setCookie(name, "moot") +} + + +function setStylesheet(title, randomize){ //Main stylesheet switcher function. Second parameter if defined causes a random alternate stylesheet (including none) to be enabled +var i, cacheobj, altsheets=[""] +for(i=0; (cacheobj=document.getElementsByTagName("link")[i]); i++) { +if(cacheobj.getAttribute("rel").toLowerCase()=="alternate stylesheet" && cacheobj.getAttribute("title")) { //if this is an alternate stylesheet with title +cacheobj.disabled = true +altsheets.push(cacheobj) //store reference to alt stylesheets inside array +if(cacheobj.getAttribute("title") == title) //enable alternate stylesheet with title that matches parameter +cacheobj.disabled = false //enable chosen style sheet +} +} +if (typeof randomize!="undefined"){ //if second paramter is defined, randomly enable an alt style sheet (includes non) +var randomnumber=Math.floor(Math.random()*altsheets.length) +altsheets[randomnumber].disabled=false +} +return (typeof randomize!="undefined" && altsheets[randomnumber]!="")? altsheets[randomnumber].getAttribute("title") : "" //if in "random" mode, return "title" of randomly enabled alt stylesheet +} + +function chooseStyle(styletitle, days){ //Interface function to switch style sheets plus save "title" attr of selected stylesheet to cookie +if (document.getElementById){ +setStylesheet(styletitle) +setCookie("mysheet", styletitle, days) +} +} + +function indicateSelected(element){ //Optional function that shows which style sheet is currently selected within group of radio buttons or select menu +if (selectedtitle!=null && (element.type==undefined || element.type=="select-one")){ //if element is a radio button or select menu +var element=(element.type=="select-one") ? element.options : element +for (var i=0; i