The basic template consists of a home page with jQuery refresh and 4 songs in the queue along with a request page for site visitors to request and/or like music.
Addons include: Requested page to show status of requested songs, Topsongs, Blogs for you to post to your site visitors, Memberships to allow only members to request/like and reply to blogs.
');
///////// SOCIAL MEDI BUTTONS ////////////////////////////////////////////////////////////////////////////////////
define('SM_FB', ''); // Facebook
define('SM_TW', ''); // Twitter
define('SM_LI', ''); // LinkedIn
define('SM_DR', ''); // Dribble
// define('SM_FB', ''); // Facebook
// define('SM_TW', ''); // Twitter
// define('SM_LI', ''); // LinkedIn
// define('SM_DR', ''); // Dribble
///////// SITE NAVIGATION ////////////////////////////////////////////////////////////////////////////////////////
define('SITENAV', '
Home
Request
Top Songs
All Songs
');
// Request
// Requested
// Top Songs
// Tune in
// Blogs
// Members
// Home
///////// SHOUTCAST INFO /////////////////////////////////////////////////////////////////////////////////////////
define('SC_URL_IP', 'uk2-pn.mixstream.net'); // <= CHANGE THIS eg: "radiogaga.dynu.com" or "0.0.0.0" (no http:// !)
define('SC_PORTNM', '8058'); // <= CHANGE THIS eg: "8000"
define('SC_SID', '1'); // <= CHANGE THIS eg: "1" (SHOUTcast Default)
define('SC_MOUNT', ';'); // <= CHANGE THIS eg: ";" (SHOUTcast Default)
define('SC_URLEX', 'mp3'); // <= CHANGE THIS eg: "mp3" (SHOUTcast Default)
define('SC_SSL', 'http'); // <= CHANGE THIS to "TRUE" or "FALSE" (SSL HTTPS Stream ?)
define('SWW_PLVL', '0.75'); // <= CHANGE THIS from "0.0" to "1.0" for player volume
$time_zone = "Europe/Amsterdam" ; //YOUR TIMEZONE => http://php.net/manual/en/timezones.php
///////// DISPLAY SETTINGS ///////////////////////////////////////////////////////////////////////
define('SHUFFCUP', TRUE); // Shuffle upcoming tracks (TRUE / FALSE)
define('PLDDISPLAYLIM', '40'); // Recently played (40)
define('REQPROWS', '30'); // Show xx Results on Request page
define('REQINT', '1'); // Request interval. (HOURS(How many hours before a song is available for request after a request is placed))
define('ALLOWLIKES', 'YES'); // Allow users to LIKE songs (YES | NO)
define('ALLOWREQS', 'YES'); // Allow users to REQUEST songs (YES | NO)
///////// FUNCTIONS - DO NOT EDIT BELOW /////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
//*****************************************************************************************************//
/////////////////////////////////////////////////////////////////////////////////////////////////////////
function convertTime($seconds) { $H = floor($seconds / 3600); $i = ($seconds / 60) % 60;
$s = $seconds % 60;return sprintf("%02d:%02d", $i, $s);}
function getRealIpAddr() {if (!empty($_SERVER['HTTP_CLIENT_IP'])){ $ip=$_SERVER['HTTP_CLIENT_IP'];}elseif
(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}else{
$ip=$_SERVER['REMOTE_ADDR'];}return $ip;}eval(base64_decode("JGRiX2NvbnggPSBAbXlzcWxpX2Nvbm5lY3QoU0lURV9IT1NULFNJVEVfVU5BTUUsU0lURV9QQVNTLFNJVEVfREIpOwpkZWZpbmUoJ1BCWScsICdQT1dFUkVEIEJZIDxhIHN0eWxlPSJjb2xvcjojZDJkMmQyOyIgaHJlZj0iaHR0cHM6Ly9yYWRpb2RqLnJvIiB0YXJnZXQ9Il9ibGFuayI+UkFESU9ESjwv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