So you have decided to join in on the Marvelicious Gift X-Change. By completing this entry form you are agreeing to the rules of the exchange. An asterisk '*' indicates that a field is required.
We will never sell any of your address or contact information. Data collected is strictly for the purposes of the gift exchange. We will share the following information with your selected Santa, your forum handle, full name, mailing address, age, gender, and wish lists. Contact info such as email and phone is not shared and is just a means for the gift exchange organizers to send reminders and contact you should an issue arise.
Send your questions to santa@venganzamedia.com or post in the forums and one of our elves will answer you.
Error:
We're sorry but there seems to have been a error while processing your signup form. Please go back and make sure all the required fields have been filled out and try your request again.
For any questions, comments, concerns; please contact us at santa@venganzamedia.com. Thank you.
Captcha:
We're sorry but there seems to have been a captcha error while processing your signup form. Please go back and try request again.
For any questions, comments, concerns; please contact us at santa@venganzamedia.com. Thank you.
Thank you for your entry into the Marvelicious Gift X-Change.
The next step is for your target to be selected. You will receive an email with your target's information sometime after the signup deadline but before the match deadline.
Keep in mind the rules of the exchange. and be aware of the date deadlines.
No news is good news from the gift exchange organizers. If we have any problems with your entry form or participation we will contact you.
For any questions, comments, concerns; please contact us at santa@venganzamedia.com.
SUB) {?> " . $i . "\n"; } } function populateOption2 ($tablename, $v='') { // special case the first entry print "\n"; // connect to the database $hostname = "swsecretsanta.swactionnews.com"; // eg. mysql.yourdomain.com (unique) $username = "genswanuser"; // the username specified when setting-up the database $password = "password1"; // the password specified when setting-up the database $database = "swsecretsanta"; // the database name chosen when setting-up the database (unique) $link = mysql_connect($hostname,$username,$password); mysql_select_db($database) or die("Unable to select database"); // construct our SQL statement $sql = "SELECT * FROM " . $tablename; $result = mysql_query($sql,$link) or die("Unable to select: ".mysql_error()); // populate the option while($row = mysql_fetch_assoc($result)) { print "\n"; } mysql_close($link); } function clearValues() { $GLOBALS['forum_handle'] = ""; $GLOBALS['first_name'] = ""; $GLOBALS['last_name'] = ""; $GLOBALS['address1'] = ""; $GLOBALS['address2'] = ""; $GLOBALS['city'] = ""; $GLOBALS['state'] = ""; $GLOBALS['state_other'] = ""; $GLOBALS['country'] = ""; $GLOBALS['zip'] = ""; $GLOBALS['email'] = ""; $GLOBALS['phone1'] = ""; $GLOBALS['phone2'] = ""; $GLOBALS['age'] = ""; $GLOBALS['gender'] = ""; $GLOBALS['shipping'] = ""; $GLOBALS['wishlist'] = ""; $GLOBALS['agree'] = ""; } function loadFromForm() { $GLOBALS['forum_handle'] = checkEscape($_REQUEST["forum_handle"]); $GLOBALS['first_name'] = checkEscape($_REQUEST["first_name"]); $GLOBALS['last_name'] = checkEscape($_REQUEST["last_name"]); $GLOBALS['address1'] = checkEscape($_REQUEST["address1"]); $GLOBALS['address2'] = checkEscape($_REQUEST["address2"]); $GLOBALS['city'] = checkEscape($_REQUEST["city"]); $GLOBALS['state'] = checkEscape($_REQUEST["state"]); $GLOBALS['state_other'] = checkEscape($_REQUEST["state_other"]); $GLOBALS['country'] = checkEscape($_REQUEST["country"]); $GLOBALS['zip'] = checkEscape($_REQUEST["zip"]); $GLOBALS['email'] = checkEscape($_REQUEST["email"]); $GLOBALS['phone1'] = checkEscape($_REQUEST["phone1"]); $GLOBALS['phone2'] = checkEscape($_REQUEST["phone2"]); $GLOBALS['age'] = checkEscape($_REQUEST["age"]); $GLOBALS['gender'] = checkEscape($_REQUEST["gender"]); $GLOBALS['shipping'] = checkEscape($_REQUEST["shipping"]); $GLOBALS['wishlist'] = checkEscape($_REQUEST["wishlist"]); $GLOBALS['agree'] = checkEscape($_REQUEST["agree"]); // check age if (empty($GLOBALS['age'])) { $GLOBALS['age'] = 0; } /* // process single quotes in variables $GLOBALS['forum_handle'] = str_replace("'", "`", $GLOBALS['forum_handle']); $GLOBALS['first_name'] = str_replace("'", "`", $GLOBALS['first_name']); $GLOBALS['last_name'] = str_replace("'", "`", $GLOBALS['last_name']); $GLOBALS['address1'] = str_replace("'", "`", $GLOBALS['address1']); $GLOBALS['address2'] = str_replace("'", "`", $GLOBALS['address2']); $GLOBALS['city'] = str_replace("'", "`", $GLOBALS['city']); $GLOBALS['state'] = str_replace("'", "`", $GLOBALS['state']); $GLOBALS['state_other'] = str_replace("'", "`", $GLOBALS['state_other']); $GLOBALS['country'] = str_replace("'", "`", $GLOBALS['country']); $GLOBALS['zip'] = str_replace("'", "`", $GLOBALS['zip']); $GLOBALS['email'] = str_replace("'", "`", $GLOBALS['email']); $GLOBALS['phone1'] = str_replace("'", "`", $GLOBALS['phone1']); $GLOBALS['phone2'] = str_replace("'", "`", $GLOBALS['phone2']); $GLOBALS['gender'] = str_replace("'", "`", $GLOBALS['gender']); $GLOBALS['shipping'] = str_replace("'", "`", $GLOBALS['shipping']); $GLOBALS['wishlist'] = str_replace("'", "`", $GLOBALS['wishlist']); */ } function validateForm() { // check for required fields if (empty($GLOBALS['forum_handle']) || empty($GLOBALS['first_name']) || empty($GLOBALS['last_name']) || empty($GLOBALS['address1']) || empty($GLOBALS['city']) || ( empty($GLOBALS['state']) && empty($GLOBALS['state_other']) ) || empty($GLOBALS['country']) || empty($GLOBALS['zip']) || empty($GLOBALS['email']) || empty($GLOBALS['phone1']) || empty($GLOBALS['shipping']) || empty($GLOBALS['wishlist']) || empty($GLOBALS['agree']) ) { return REQ; } } function add() { // connect to the database $hostname = "swsecretsanta.swactionnews.com"; // eg. mysql.yourdomain.com (unique) $username = "genswanuser"; // the username specified when setting-up the database $password = "password1"; // the password specified when setting-up the database $database = "swsecretsanta"; // the database name chosen when setting-up the database (unique) $link = mysql_connect($hostname,$username,$password); mysql_select_db($database) or die("Unable to select database"); // construct our SQL statement $sql = "INSERT INTO " . TBL . " (Handle,FName,LName,". "Addr1,Addr2,City,State,State_Other,Zip,Country,". "Email, Phone1, Phone2,". "Age, Gender, Shipping, Wishlist,". "Target, Shipped, Tracking, ShipNote, Note". ") VALUES (". "'".$GLOBALS['forum_handle']."',". "'".$GLOBALS['first_name']."',". "'".$GLOBALS['last_name']."',". "'".$GLOBALS['address1']."',". "'".$GLOBALS['address2']."',". "'".$GLOBALS['city']."',". "'".$GLOBALS['state']."',". "'".$GLOBALS['state_other']."',". "'".$GLOBALS['zip']."',". "'".$GLOBALS['country']."',". "'".$GLOBALS['email']."',". "'".$GLOBALS['phone1']."',". "'".$GLOBALS['phone2']."',". "".$GLOBALS['age'].",". "'".$GLOBALS['gender']."',". "'".$GLOBALS['shipping']."',". "'".$GLOBALS['wishlist']."',". "0, false, '', '', ''". ")"; // run the query $result = mysql_query($sql,$link) or die("Unable to select: ".mysql_error()); mysql_close($link); // sucess return SUB; } ?>