0) { $newarray = @mysql_fetch_array($answer); $paidflag = $newarray[paid]; $amountflag = $newarray[amount]; } $errorflag = 0; $currentdate = time(); $postornot = $_POST[postornot]; $customername = $_POST[customername]; if ($customername == "") { $errorflag = 1; } $phone = $_POST[phone]; if ($phone == "") { $errorflag = 1; } $email = $_POST[email]; if ($email == "") { $errorflag = 1; } $password = $_POST[password]; if ($password == "") { $errorflag = 1; } $repassword = $_POST[repassword]; if ($password != $repassword) { $passerrorflag = 1; } $agree = $_POST[agree]; if ($agree != "on") { $errorflag = 1; } $billaddress = $_POST[billaddress]; mysql_select_db("amazingmain",$conn); $select = "select * from accounts where email = '$email'"; $check = mysql_query($select,$conn); if (mysql_num_rows($check) > 0) { $emailinuse = 1; $errorflag = 1; } mysql_select_db("amazingflash",$conn); include("amazingheader.php"); $select = "select * from maincounter where id = '$c'"; $answer = mysql_query($select, $conn); $newarray = mysql_fetch_array($answer); $lid = $newarray[secondid]; $namearray = explode(" ", $customername); $fname = $namearray[0]; $lname = $namearray[1]; if ($errorflag == 0) { $currenttime = time(); $olddate = $currenttime - (86400 * 3); // clean up database $delete = "delete from signups where date < '$olddate'"; mysql_query($delete, $conn); $select = "select * from signups where ip = '$ip'"; $answer = mysql_query($select, $conn); if (mysql_num_rows($answer) > 0) { $newarray = @mysql_fetch_array($answer); $subid = $newarray['subid']; $accountalreadyassigned = 1; } else { $insertrow = "insert into signups values (\"\" , \"$r\", \"$customername\", \"$phone\", \"$secondphone\", \"$billaddress\", \"$currentdate\", \"$paid\", \"$dbwebsitetype\", \"$ip\", \"$amount\", \"$email\", \"$password\", \"$pnref\", \"\", \"$lid\", \"0\")"; mysql_query($insertrow, $conn); // get next signup id $subid = mysql_insert_id ($conn); $update = "update bravenetmailinglist set trial = '1' where leadid = '$lid'"; mysql_query($update, $conn); $select = "select * from affiliates where affid = '$r'"; $answer = mysql_query($select, $conn); $newarray = mysql_fetch_array($answer); $signups = $newarray[signups]; $signups = $signups + 1; $update = "update affiliates set signups = '$signups' where affid = '$r'"; mysql_query($update, $conn); } // ends else for new signup // send welcome email $msg = "Your new account is almost set up ! Please confirm your email address by clicking the link below: http://amazingflash.com/validateemail.php?ident=$subid Please make sure your computer is accepting cookies from amazingflash.com. You can log in to your control panel here: http://amazingflash.com/control/ If you have not purchased a support package or custom built website, we do not offer any type of free one on one help from an actual programmer. This is important to understand to avoid people becoming upset when we do not answer website design questions. We let people use some of the best online tools in the world for free, and most people will be able to use it without any help, but it is impossible for any company to hire more programmers to help people for free. Amazing Flash is a community of members, not customers, whose purpose is to make website building easier, more fun and more affordable for the average person. Around 70% of our users are not spending any money whatsoever, and the rest have gotten much more than they paid for because of this system. Keeping a positive approach is essential to your success. Thank you for becoming a member of the Amazing Flash community ! "; $subject = "Welcome To Amazing Flash.com - Please Confirm Your Email Address"; $mailheaders = "From: contact@amazingflash.com"; @af_email($email, $subject, $msg, $mailheaders); $at = $_POST[at]; switch ($at) { case "free hosting": case "": break; case "remote server": $update = "update signups set tempname = 'remote server' where subid = '$subid'"; mysql_query($update, $conn); break; case "remote cart": $update = "update signups set tempname = 'remote cart' where subid = '$subid'"; mysql_query($update, $conn); break; case "paid hosting": $update = "update signups set tempname = 'paid hosting' where subid = '$subid'"; mysql_query($update, $conn); break; } // ends switch // print message telling to validate email ?>

Welcome To Amazing Flash !

"; if ($accountalreadyassigned == "1") { echo "

Our records indicate that you have already signed up for an account. We have resent the email to your address so that you can log in with the correct information. If you have trouble logging in, please contact us by replying to the email that is sent to you. This is so we can see the identification number that was assigned to your account which will allow us to see what is going on.

We hope that this process is not too inconvenient to you, but we must do this to prevent abuse of our system. In the past, some people were creating new accounts everyday either to receive extra pages or to try to attack our system. Please be advised that any such activity will result in immediate account termination, without any warning whatsoever.

"; } else { if ($at == "paid hosting") { echo "
In order for your account to be activated,
you must first pay for your first month of web hosting.
Click Here


"; } echo "

You must confirm your email address by clicking a link inside an email we just sent to you. This email has been sent to $email.

The website development tools you just signed up for are completely free to use, regardless of the account type that you picked. It does not take a long time to learn how to use the website builder, but you should spend some time reading the tutorials and / or knowledge base because they will save you time.

If you have not purchased a support package or custom built website, we do not offer any type of free one on one help from an actual programmer. This is important to understand to avoid people becoming upset when we do not answer website design questions. We let people use some of the best online tools in the world for free, and most people will be able to use it without any help, but it is impossible for any company to hire more programmers to help people for free. Amazing Flash is a community of members, not customers, whose purpose is to make website building easier, more fun and more affordable for the average person. Around 70% of our users are not spending any money whatsoever, and the rest have gotten much more than they paid for because of this system. Keeping a positive approach is essential to your success.

There is plenty of information inside the control panel, and more being added as new questions arise. We have also just started free support forums for all of our projects. They are new, but we will be checking them while the forum community grows and we will be answering many questions on there. Members are encouraged to help each other, you never know when you will need help yourself one day.

Please make sure to check your email's junk mail folder if our email doesn't come."; } echo "





"; include("amazingfooter.php"); exit; } ?>

Please Fill In All Highlighted Fields
"; } if (($postornot == 1) && ($emailinuse == 1)) { echo "

Email Address Already In Use

"; } if (($postornot == 1) && ($passerrorflag == 1)) { echo "

Passwords Do Not Match, Please Try Again

"; } if ($amountflag > 0) { // they already paid echo "

Thank you for your payment !

Now that you have paid for your new web hosting account, we will need some information from you. If you are trying to upgrade an existing website that you created at AmazingFlash.com, our system is not recognizing you because you are not currently logged in. Please contact us with the email address that you used when you created that account and we can upgrade it for you.

If you do not have an account with us already, please create one below.


"; } else { // normal request ?>

Sign Up For A Free Amazing Flash Account


"; ?>

This form will create your Free Account with AmazingFlash.com and will provide you with a free hosting account, hosted on one of our sub domains. If you want to use the Amazing Flash website design tools for either a normal website, or to customize an AFCommerce shopping cart hosted on your own web hosting account, Contact Us For Pricing, our you can purchase online on the AFCommerce Support Website

This form is ONLY for users who want to use our free hosting account.



Please fill in all fields
WIDTH="60%" ALIGN="CENTER" VALIGN="MIDDLE">Your Full Name : WIDTH="40%" ALIGN="CENTER" VALIGN="MIDDLE">
Country:
WIDTH="60%" ALIGN="CENTER" VALIGN="MIDDLE"> Phone Number: WIDTH="40%" ALIGN="CENTER" VALIGN="MIDDLE">
WIDTH="60%" ALIGN="CENTER" VALIGN="MIDDLE"> Email Address:
(where confirmation email will be sent)
WIDTH="40%" ALIGN="CENTER" VALIGN="MIDDLE">
WIDTH="60%" ALIGN="CENTER" VALIGN="MIDDLE"> Password: WIDTH="40%" ALIGN="CENTER" VALIGN="MIDDLE">
WIDTH="60%" ALIGN="CENTER" VALIGN="MIDDLE"> Re-Type Password: WIDTH="40%" ALIGN="CENTER" VALIGN="MIDDLE">


Terms And Conditions Of Use:



WIDTH="100%" ALIGN="CENTER" VALIGN="MIDDLE"> >     Check Here If You Agree With Our Terms And Conditions.