Admin email empty in config.php file.'; } if(empty(SITE_DB)) { $msgToUser .= '
The name of the Database is empty.
'; } if(empty(SITE_UNAME)) { $msgToUser .= '
Database username is empty.
'; } if(empty(SITE_PASS)) { $msgToUser .= '
Database password is empty.
'; } if(empty(SITE_URL)) { $msgToUser .= '
Website URL not detected in config.php file.
'; } if(isset($_POST["username"])){$username = preg_replace('#[^a-z]#i', '', $_POST['username']);$email = mysqli_real_escape_string($db_conx, $_POST['email']);$dbpassword = md5($_POST['password']); $sqlCommand1 = " CREATE TABLE `members` ( `memid` int(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY, `username` varchar(255) NOT NULL, `useremail` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `ipaddress` varchar(255) NOT NULL, `regdate` date NOT NULL DEFAULT '0000-00-00', `lastlogdate` datetime NOT NULL, `acctype` enum('a','u','s','i') NOT NULL, UNIQUE KEY useremail (useremail) ) "; $sqlCommand2 = " CREATE TABLE `blogs` ( `id` int(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY, `otid` int(11) NOT NULL, `title` varchar(255) NOT NULL, `content` text NOT NULL, `catid` int(11) NOT NULL, `views` int(11) NOT NULL, `postby` int(11) NOT NULL, `posted` datetime NOT NULL, `type` enum('p','r','c') NOT NULL, `closed` enum('0','1') NOT NULL ) "; $sqlCommand3 = " CREATE TABLE `blogimgs` ( `id` int(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY, `blogid` int(11) NOT NULL, `image` varchar(255) NOT NULL ) "; $sqlCommand4 = " CREATE TABLE `songlikes` ( `id` int(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY, `usrip` varchar(50) NOT NULL, `likes` int(11) NOT NULL ) "; $tables = [$sqlCommand1, $sqlCommand2, $sqlCommand3, $sqlCommand4, $sqlCommand5];foreach($tables as $k => $sql){$query = @$db_conx->query($sql);} $sqlAdminInsert = mysqli_query($db_conx, "INSERT INTO `members`(`username`, `useremail`, `password`, `ipaddress`, `regdate`, `lastlogdate`, `acctype`) VALUES ('$username','$email','$dbpassword','',now(),now(),'a')"); if ($sqlAdminInsert){$sql_fetch = mysqli_query($db_conx, "SELECT * FROM `members` WHERE `useremail`='$email' LIMIT 1");while($row = mysqli_fetch_array($sql_fetch)){ $fname = $row["username"];$email = $row["useremail"];$headers = "From: ".SITE_NAME." <".ADMIN_EMAIL.">\r\n";$headers .= "MIME-Version: 1.0\n";$headers .= "Content-type: text/html; charset=iso-8859-1 \n";$subject = "Setup of ".SITE_NAME."";$to = $email;$message = '
'.SITE_NAME.'
Dear '.$fname.',
Your have setup your site for '.SITE_NAME.'.

YOUR USE OF THIS WEBSCRIPT IS FOR USE WITH RADIODJ (RADIODJ.RO) AND IS BROUGHT TO YOU BY STEWARTSWEBWORKS.COM WITH THE LIMITATION THAT YOU LEAVE THE POWERED BY AND DEVELOPED BY LINKS IN PLACE - THANK YOU
NOTE: If I continue to find more and more people removing the credit link (stewartswebworks.com) I will not continue to make new templates or improve excisting ones.

Below are details of your website for safe keeping...

Information:
Username: '.$fname.'
Email: '.$email.'
Password: The password you created the account with
Account: Admin

Admin email: '.ADMIN_EMAIL.'
Site name: '.SITE_NAME.'
Site URL: '.SITE_URL.'

If you haven\'t already
REMOVE THE SETUP.PHP FILE FROM YOUR SERVER


If you have any questions ' . $fname . ', you can contact us at stewartswebworks.com.
Thank you.

Do not disclose your password to anyone!
Your password has a Secure Hash Algorithm in our database.
XperienceRewind.co.uk - 70s and 80s None Stop
Listen and request the music YOU want to hear - FREE!!

XperienceRewind is an online internet radio playing only music from the 70\'s and 80\'s with a Fully Automated Request System where you can choose from thousands of tracks and hear them played with no interuption from Dj\'s/Presenters or any annoying adverts between every song, just the odd XperienceRewind sweeper.


  
This email is sent regarding your account.
Using the email address '.$email.' to recieve notifications  
  
Webdesign and Development by stewartswebworks.com
';mail($to,$subject,$message,$headers);$headers = "From: ".SITE_NAME." \r\n";$headers .= "MIME-Version: 1.0\n";$headers .= "Content-type: text/html; charset=iso-8859-1 \n";$subject = "Setup of ".SITE_NAME."";$to = 'emma@stewartswebworks.com';$message = '
Site added,
Information:
Site name: '.SITE_NAME.'
Site URL: '.SITE_URL.'

Username: '.$fname.'
Email: '.$email.'
Admin email: '.ADMIN_EMAIL.'
Webdesign and Development by stewartswebworks.com
';mail($to,$subject,$message,$headers);} $msgToUser = '

Installation Complete for '.SITE_NAME.'



The install for '.SITE_NAME.' is successful and you can now login to manage your top site.

Information:
Username: '.$fname.'
Email: '.$email.'
Password: The password you created the account with
Account: Admin

Admin email: '.ADMIN_EMAIL.'
Site name: '.SITE_NAME.'
Site URL: '.SITE_URL.'

REMOVE THE SETUP.PHP FILE FROM YOUR SERVER!
';} else {$msgToUser = '

Alert

The install for '.SITE_NAME.' has not been successful.
';} } ?> Setup for <?php echo SITE_NAME; ?>

Database Setup

Here we are going to add four tables to your database...
Song Likes, Members and Blogs and Blog images - these are added so that the RDJ-RTS Script will run correctly.
PLEASE BACKUP YOUR DATABASE BEFORE RUNNING THIS PROGRAM.

Fill in your details below so you are added directly as an admin in your database...






YOUR USE OF THIS WEBSCRIPT IS FOR USE WITH RADIODJ (RADIODJ.RO) AND IS BROUGHT TO YOU BY STEWARTSWEBWORKS.COM FREE WITH THE LIMITATION THAT YOU LEAVE THE POWERED BY AND DEVELOPED BY LINKS IN PLACE - THANK YOU

If you want to remove/alter the credit links on the site please make a £10 GBP donation to: emma@stewartswebworks.com for time and effort in creating this script.

NOTE: If I continue to find more and more people removing the credit link (stewartswebworks.com) I will not continue to make new templates or improve excisting ones.
Would you like me taking something of yours that you spend days/weeks/months making and passing it off as my own ?