ID;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
$AddressLine2 = get_usermeta($user_id, ‘AddressLine2’);
if ($AddressLine2 !=””) {
echo ”
“;
}
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
for ($counter=2009; $counterecho ”
“;
}
echo ”
“;
echo ”
“; ?>
Surname:
Email:
Address Line 1:
Address Line 2:
Suburb:
State:
Postcode:
Phone number:
Date of birth (dd-mm-yyyy):
Communication:
$oldmethod = get_usermeta($user_id, ‘Method’); ?>
“; } else { echo ” “; } ?>Prefer mail
“; } else { echo ” “; } ?>Prefer both
$interestarray = array(“Performing”, “Directing”, “Choreography”, “Musical Direction”, “Front of House”, “Sound/Lighting”, “Hair/Makeup”, “Orchestra”, “Stage Crew”, “Set Construction”, “Odd Jobs”);
echo ‘
“;
?>
$oldmembertype = get_usermeta($user_id, ‘MemberType’); ?>
“; } else { echo ” “; } ?>Life member
“; } else { echo ” “; } ?>Youth member
“; } else { echo ” “; } ?>Senior member
$lamplighterflag = get_usermeta($user_id, ‘LamplighterFlag’);
?>
for ($i=2008; $i < (date('Y')+1); $i++) { echo "
$user_id = $_POST[‘user_id’];
$user_info = get_userdata(“$user_id”);
$first_name = mysql_real_escape_string($_POST[‘first_name’]);
if (!empty($first_name)) {
$update = update_user_meta($user_id,’first_name’,”$first_name”);
}
$last_name = mysql_real_escape_string($_POST[‘last_name’]);
if (!empty($last_name)) {
$update = update_user_meta($user_id,’last_name’,”$last_name”);
}
$user_email = mysql_real_escape_string($_POST[‘user_email’]);
$updateemail = array();
if (!empty($user_email)) {
$updateemail = array(“ID” => $user_id, “user_email” => “$user_email”);
$update = wp_update_user($updateemail);
}
$AddressLine1 = mysql_real_escape_string($_POST[‘AddressLine1′]);
if (!empty($AddressLine1)) {
$update = update_user_meta($user_id,’AddressLine1’,”$AddressLine1″);
}
$AddressLine2 = mysql_real_escape_string($_POST[‘AddressLine2′]);
if (!empty($AddressLine2)) {
$update = update_user_meta($user_id,’AddressLine2’,”$AddressLine2″);
}
$Suburb = mysql_real_escape_string($_POST[‘Suburb’]);
if (!empty($Suburb)) {
$update = update_user_meta($user_id,’Suburb’,”$Suburb”);
}
$State = mysql_real_escape_string($_POST[‘State’]);
if (!empty($State)) {
$update = update_user_meta($user_id,’State’,”$State”);
}
$Postcode = mysql_real_escape_string($_POST[‘Postcode’]);
if (!empty($Postcode)) {
$update = update_user_meta($user_id,’Postcode’,”$Postcode”);
}
$Phone = mysql_real_escape_string($_POST[‘Phone’]);
if (!empty($Phone)) {
$update = update_user_meta($user_id,’Phone’,”$Phone”);
}
$DOB = mysql_real_escape_string($_POST[‘DOB’]);
if (!empty($DOB)) {
$update = update_user_meta($user_id,’DOB’,”$DOB”);
}
$Method = mysql_real_escape_string($_POST[‘Method’]);
if (!empty($Method)) {
$update = update_user_meta($user_id,’Method’,”$Method”);
}
if (!empty($_POST[‘interests’])) {
$postedinterests = $_POST[‘interests’];
$interests = mysql_real_escape_string(implode(“, “, $postedinterests));
$update = update_user_meta($user_id,’Interests’,”$interests”);
}
$LamplighterFlag = mysql_real_escape_string($_POST[‘LamplighterFlag’]);
if ($LamplighterFlag == 1) {
$update = update_user_meta($user_id,’LamplighterFlag’,’1′);
} else {
$update = update_user_meta($user_id,’LamplighterFlag’,’0′);
}
$MemberType = mysql_real_escape_string($_POST[‘MemberType’]);
if (!empty($MemberType)) {
$update = update_user_meta($user_id,’MemberType’,”$MemberType”);
}
for ($i=2008; $i < (date('Y')+1); $i++) { $newpaid = mysql_real_escape_string($_POST['Paid'.$i]); $currentpaid = "Paid".$i; if (!empty($newpaid)) { $update = update_user_meta($user_id,$currentpaid,"$newpaid"); } } /* if ($update == true) { */ echo "
“;
/* } else {
echo ”
“; } */
$user_info = get_userdata(“$user_id”);
$userid = $user_info->ID;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
$AddressLine2 = get_usermeta($user_id, ‘AddressLine2’);
if ($AddressLine2 !=””) {
echo ”
“;
}
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
echo ”
“;
for ($counter=2008; $counterecho ”
“;
} ?>