<?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
////

///////////// Main Link Settings /////////////
//// SAB Settings
$sabvisible = ""; // Set to turn on or off links (0 = Off 1 = On)
$sabname = "";  // Set an alternate name to the default displayed
$sabpicname = ""; // Set an alternate image, you can upload with picupload.html, then just enter the name of the file you uploaded e.g. "sab.png"
$sabport = "";  // Set the ports for your services
////
//// SickBeard Settings
$sickvisible = "";
$sicktype = "1"; // 1 = Sickbeard / 2 = SickRage
$sickname = "";
$sickpicname = "";
$sickport = "";
////
//// CouchPotato Settings
// CPAdults Settings
$couchvisible = "";
$cpadultsvisible = "";
$cpadultsname = "";
$cpadultspicname = "";
$cpadults = "";
// CPKids Settings
$cpkidsvisible = ""; // Set to 0 if only running single couch instance
$cpkidsname = "";
$cpkidspicname = "";
$cpkids = "";
////
//// Torrent Settings
$torrentvisible = "";
$torrenttype = "1"; // 1 = uTorrent / 2 = Transmission
$torrentname = "";
$torrentpicname = "";
$torrentport = ""; // uTorrent = 86 / Transmission = 9091
////
//// FTP Settings
$ftpvisible = "";
$ftpname = "";
$ftppicname = "";
$ftpport = "21";
////
//// MadSonic Settings
$madsonicvisible = "";
$madsonicname = "";
$madsonicpicname = "";
$madsonicport = "";
////
//// Plex Settings
$plexvisible = "";
$plexname = "";
$plexpicname = "";
$plexport = "32400";
////
//// Squeezebox Settings
$squeezevisible = "";
$squeezename = ""; 
$squeezepicname = "";
$squeezeport = "9000";
////
//// Jdownloader Settings
$jdownloadervisible = "1";
$jdownloadername = "";
$jdownloaderpicname = "";
////

////////// Widget Settings ///////////
//// 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
$serverstatusvisible = "1";
//
$server1visible = "";
$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 = "";
////

//// Custom Feeds
$customfeed1visible = "";
$customfeed1name = "";
$customfeed1url = "";
//
$customfeed2visible = "";
$customfeed2name = "";
$customfeed2url = "";
//
$customfeed3visible = "";
$customfeed3name = "";
$customfeed3url = "";
////

//// Set widgets visible or not (0 = no 1 = yes)
$servicesvisible = "1";
$clockvisible = "1"; 
$kknowledgefeedvisible = "1";
$webclipfeedvisible = "1";
////


////////////// do not edit past here ///////////////////////

$local = "1";
$ftp = "ftp://$base";
$http = "http:/";
$myurl = "http://$base";
$webclip = "http://klips.cf";
$kknowledge = "http://kknowledge.tk";
$kspot = "http://spot.k-world.me.uk";
$knews = "http://knews.cf";
$kloud = "https://k-loud.cf";
$konvos = "http://konvos.cf";
?>

<?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 {
if (empty($cpadultsname)) {
    $couchname = "CouchPotato";
 } else {
 $couchname = "$cpadultsname";
 }
 }
?>

<?php
if (empty($cpkidsname)) {
    $cpkidsname= "CPKids";
 } else {
 $cpkidsname= "$cpkidsname";
 }
 ?>

<?php
if (empty($sabname)) {
    $sabname = "SABNZBD";
 } else {
 $sabname = "$sabname";
 }
?>

<?php
if (empty($madsonicname)) {
    $madsonicname= "Madsonic";
 } else {
 $madsonicname= "$madsonicname";
 }
 ?>

<?php
if (empty($squeezename)) {
    $squeezename= "SqueezeBox";
 } else {
 $squeezename= "$squeezename";
 }
 ?>

<?php
if (empty($ftpname)) {
    $ftpname= "FTP";
 } else {
 $ftpname= "$ftpname";
 }
 ?> 

<?php
if (empty($plexname)) {
    $plexname= "Plex";
 } else {
 $plexname= "$plexname";
 }
 ?>  
