143 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			143 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
// Server Settings
 | 
						|
$yourname = "";  // Set this to your name
 | 
						|
$base = ""; //Set this to your url (without http://)
 | 
						|
 | 
						|
$user = ""; // Username for logging on
 | 
						|
$pass = ""; // Password for logging on
 | 
						|
 | 
						|
// Link Settings
 | 
						|
// SAB Settings
 | 
						|
$sabvisible = ""; // Set to turn on or off links (0 = Off 1 = On)
 | 
						|
$sabname = "";
 | 
						|
$sabpicurl = "";
 | 
						|
$sabport = "";  // Set the ports for your services
 | 
						|
 | 
						|
// Sickbeard Settings
 | 
						|
$sickvisible = "";
 | 
						|
$sicktype = "1"; // 1 = Sickbeard / 2 = SickRage
 | 
						|
$sickname = "";
 | 
						|
$sickpicurl = "";
 | 
						|
$sickport = "";
 | 
						|
 | 
						|
// CPAdults Settings
 | 
						|
$couchvisible = "";
 | 
						|
$cpadultsvisible = "";
 | 
						|
$cpadultsname = "";
 | 
						|
$cpadultpicurl = "";
 | 
						|
$cpadults = "";
 | 
						|
 | 
						|
// CPKids Settings
 | 
						|
$cpkidsvisible = ""; // Set to 0 if only running single couch instance
 | 
						|
$cpkidsname = "";
 | 
						|
$cpkidspicurl = "";
 | 
						|
$cpkids = "";
 | 
						|
 | 
						|
// Torrent Settings
 | 
						|
$torrentvisible = "";
 | 
						|
$torrenttype = "1"; // 1 = uTorrent / 2 = Transmission
 | 
						|
$torrentname = "";
 | 
						|
$torrentpicurl = "";
 | 
						|
$torrentport = ""; // uTorrent = 86 / Transmission = 9091
 | 
						|
 | 
						|
// FTP Settings
 | 
						|
$ftpvisible = "";
 | 
						|
$ftpname = "";
 | 
						|
$ftppicurl = "";
 | 
						|
$ftpport = "";
 | 
						|
 | 
						|
// Madsonic Settings
 | 
						|
$madsonicvisible = "";
 | 
						|
$madsonicname = "";
 | 
						|
$madsonicpicurl = "";
 | 
						|
$madsonicport = "";
 | 
						|
 | 
						|
// Plex Settings
 | 
						|
$plexvisible = "";
 | 
						|
$plexname = "";
 | 
						|
$plexpicurl = "";
 | 
						|
$plexport = "";
 | 
						|
 | 
						|
// Squeezebox Settings
 | 
						|
$squeezevisible = "";
 | 
						|
$squeezename = ""; 
 | 
						|
$squeezepicurl = "";
 | 
						|
$squeezeport = "";
 | 
						|
 | 
						|
// JDonwloader Settings
 | 
						|
$jdownloadervisible = "";
 | 
						|
$jdownloadername = "";
 | 
						|
$jdownloaderpicurl = "";
 | 
						|
 | 
						|
// Drive Space Settings
 | 
						|
$drivespacevisible = "1"; // Set to turn on or off drive space (0 = no 1 = yes)
 | 
						|
$drive1visible = "1"; // Set drive visible or not ()0 = no 1 = yes)
 | 
						|
$drive1 = "C:"; // Set the hard drives to display 
 | 
						|
$drive2visible = "1";
 | 
						|
$drive2 = "D:";
 | 
						|
$drive3visible = "1";
 | 
						|
$drive3 = "E:";
 | 
						|
$drive4visible = "1";
 | 
						|
$drive4 = "F:";
 | 
						|
$drive5visible = "1";
 | 
						|
$drive5 = "G:";
 | 
						|
$drive6visible = "1";
 | 
						|
$drive6 = "H:";
 | 
						|
$drive7visible = "1";
 | 
						|
$drive7 = "J:";
 | 
						|
 | 
						|
// Server Status Settings
 | 
						|
$server1visible = ""; // Set to turn on or off server check (0 = no 1 = yes)
 | 
						|
$server1name = ""; // Set to Server Name to track
 | 
						|
$server1url = ""; // Set to Server URL to track (without http://)
 | 
						|
$server2visible = "";
 | 
						|
$server2name = "";
 | 
						|
$server2url = "";
 | 
						|
$server3visible = ""
 | 
						|
$server3name = "";
 | 
						|
$server3url = "";
 | 
						|
$server4visible = "";
 | 
						|
$server4name = "";
 | 
						|
$server4url = "";
 | 
						|
 | 
						|
// Set widgets visible or not (0 = no 1 = yes)
 | 
						|
$clockvisible = "1"; 
 | 
						|
$kknowledgefeedvisible = "1";
 | 
						|
$webclipfeedvisible = "1";
 | 
						|
$newline = "";
 | 
						|
 | 
						|
 | 
						|
// do not edit past here
 | 
						|
 | 
						|
$local = "1";
 | 
						|
$ftp = "ftp://$base";
 | 
						|
$http = "http:/";
 | 
						|
$myurl = "http://$base";
 | 
						|
$webclip = "http://webclip.ml";
 | 
						|
$kknowledge = "http://kknowledge.tk";
 | 
						|
$kspot = "http://spot.k-world.me.uk";
 | 
						|
?>
 | 
						|
 | 
						|
<?php
 | 
						|
if ($torrenttype > "1") {
 | 
						|
    $torrentname = "Transmission";
 | 
						|
 } else {
 | 
						|
 $torrentname = "uTorrent";
 | 
						|
 }
 | 
						|
?>
 | 
						|
 | 
						|
<?php
 | 
						|
if ($sicktype > "1") {
 | 
						|
    $sickname = "SickRage";
 | 
						|
 } else {
 | 
						|
 $sickname = "SickBeard";
 | 
						|
 }
 | 
						|
?>
 | 
						|
 | 
						|
<?php
 | 
						|
if ($cpkidsvisible > "0") {
 | 
						|
    $couchname = "CPAdults";
 | 
						|
 } else {
 | 
						|
 $couchname = "CouchPotato";
 | 
						|
 }
 | 
						|
?>
 |