"; elseif(strlen($labelname) > 64) $errorstring .= "Label Name must be a maximum of 64 characters long
"; elseif(!allowedChars($labelname, $allowed)) $errorstring .= "Label Name contains illegal characters
"; $email1 = strtolower(formatField($email1)); $email2 = strtolower(formatField($email2)); if($email1 != $email2) $errorstring .= "The Email Addresses you entered do not match
"; elseif(strlen($email1) < 1) $errorstring .= "You must enter an email address
"; elseif(!isValidEmail($email1)) $errorstring .= "Email Address is not valid!
"; $test = mysql_query("SELECT * FROM accounts WHERE email = \"$email1\""); if(mysql_numrows($test) != 0) $errorstring .= "The Email Address you entered is already registered!
"; $pass1 = formatField($pass1); $pass2 = formatField($pass2); if($pass1 != $pass2) $errorstring .= "Passwords do not match!
"; elseif(strlen($pass1) == 0) $errorstring .= "You have not entered a password!
"; else { $charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; if((strlen($pass1) < 6) || (strlen($pass1) > 24)) $errorstring .= "Passwords must be between 6 and 24 characters long
"; elseif(!allowedChars($pass1, $charset)) $errorstring .= "Passwords can only contain letters and numbers
"; } $forename = formatField($forename); if(strlen($forename1) < 1) $errorstring .= "You must enter the label contact's First Name
"; elseif(strlen($forename1) > 16) $errorstring .= "Label contact's First Name must be a maximum of 16 characters long
"; else { $allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' "; if(!allowedChars($forename1, $allowed)) $errorstring .= "Label contact's First Name contains illegal characters!
"; } $surname = formatField($surname); if(strlen($surname) < 1) $errorstring .= "You must enter your the label contact's Last Name
"; elseif(strlen($surname) > 20) $errorstring .= "Label contact's Last Name must be a maximum of 20 characters long
"; else { $allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' "; if(!allowedChars($surname, $allowed)) $errorstring .= "Label contact's Last Name contains illegal characters!
"; } $hometel = formatField($hometel); if(strlen($hometel) == 0) $errorstring .= "You must enter a contact telephone number!
"; $address1 = formatField($address1); if(strlen($address1) == 0) $errorstring .= "You have not entered Address Line 1
"; elseif(strlen($address1) > 64) $errorstring .= "Address Line 1 must be a maximum of 64 characters long
"; $address2 = formatField($address2); $locality = formatField($locality); $city = formatField($city); if(strlen($city) == 0) $errorstring .= "You have not entered a City
"; elseif(strlen($city) > 32) $errorstring .= "City must be a maximum of 32 characters long
"; $county = formatField($county); if(strlen($county) == 0) $errorstring .= "You have not entered a County/State
"; elseif(strlen($county) > 32) $errorstring .= "County/State must be a maximum of 32 characters long
"; if(strlen($pcode) > 10) $errorstring .= "Postcode/ZIP must be a maximum of 10 characters long
"; if($country == 0) $errorstring .= "Please select a Country
"; $payable = formatField($payable); if(strlen($payable) < 1) $errorstring .= "You must complete \"Cheques Payable To\"
"; elseif(strlen($payable) > 64) $errorstring .= "\"Cheques Payable To\" name too long! (Max 64 Characters)
"; $vatnum = formatField($vatnum); if(strlen($vatnum) > 128) $errorstring .= "VAT Number too long!
"; $business = formatField($business); if(strlen($business) > 128) $errorstring .= "Business name must be a maximum of 128 characters long
"; if($termsread != 1) $errorstring .= "You must agree to our terms and conditions!
"; $credits = formatField($credits); $allowed = "0123456789"; if(!allowedChars($credits, $allowed)) $errorstring .= "You must enter an integer number for \"Free Artist Signup Credits\"
"; if(strlen($errorstring) == 0) { $result = mysql_query("INSERT INTO accounts (password, email, hometel, type, forename, surname, address1, address2, locality, city, county, pcode, country, payable, vatnum, business) VALUES (\"$pass1\", \"$email1\", \"$hometel\", 3, \"$forename1\", \"$surname\", \"$address1\", \"$address2\", \"$locality\", \"$city\", \"$county\", \"$pcode\", $country, \"$payable\", \"$vatnum\", \"$business\")"); $test = mysql_query("SELECT * FROM accounts WHERE email = \"$email1\""); $accountID = mysql_result($test, 0, id); $result = mysql_query("INSERT INTO labels (name, address1, address2, city, county, country, postcode, accountID, contactemail, credits) VALUES (\"$labelname\", \"$address1\", \"$address2\", \"$city\", \"$county\", $country, \"$pcode\", $accountID, \"$email1\", $credits)"); $done = true; } } /* Load Country List */ $countries = mysql_query("SELECT * FROM countries ORDER BY country"); if(!isset($credits)) $credits = 0; include("header.php"); ?>
Thank you for signing up as a label at stayaround.com.

We have automatically set you up with 25 artist credits free of charge. This will enable you to add up to 25 artists and their relating tracks/ringtones. If you require more artist credits, please contact stayaroud.com.

Your login details you signed up with, are as follows:

Label Name: $labelname
Login Email: $email1
Login Password: $pass1

You can manage your label information by logging into your account.

Please now visit stayaround.com to start adding your artists, tracks and ringtones.

Feel free to contact us at any time if you require any further information or assistance.

Regards,
Stayaround Team
info@stayaround.com"; $mailto = $email1; $subject = "Confirmation of your stayaround.com details."; $result = siteMail($mailto, $subject, $msg); ?>


Welcome to Stayaround, !

Thanks for signing up. You now have all the registered labels features available to you. Please check your email account for confirmation of your account details.

Now proceed to your account and setup your label homepage/profile in the Homepage Designer. This will be the information page displayed on the site about your label.




0) outputErrors($errorstring); ?>
Personal Details:

to register as an ARTIST click here
width="50%">Label Name:>
>Login Email:>
>Repeat Login Email:>
>Password:>
>Repeat Password:>
Label Details:

>Contact at Label:>   
    (first name)           (last name)
>Contact Number:>
>Address Line 1:>
>Address Line 2:>
>Locality:>
>City:>
>County/State:>
>Postcode/ZIP:>
>Country:>

>Cheques Payable To:>
>Business Name:> (optional)
>VAT Number:> (if applicable)
>  I Agree, have read and understood the terms and conditions