user_exists) { $page = "error"; $smarty->assign('error_header', 639); $smarty->assign('error_message', 656); $smarty->assign('error_submit', 641); include "footer.php"; } function general(){ global $user, $database; if(isset($_POST["addtravel"])) { $arrive=mktime(0,0,0, $_POST["a_month"]+1, $_POST["a_date"], $_POST["a_year"]); $depart=mktime(0,0,0, $_POST["d_month"]+1, $_POST["d_date"], $_POST["d_year"]); $seeking=serialize($_POST["seekT1"].",".$_POST["seekT2"].",".$_POST["seekT3"].",".$_POST["seekT4"]); $database->database_query("INSERT INTO travelers set userid='".$user->user_info["user_id"]."', arrive='$arrive', depart='$depart', country='".$database->database_real_escape_string($_POST["country"])."', province='".$database->database_real_escape_string($_POST["region"])."', city='".$database->database_real_escape_string(strip_tags($_POST["city"]))."', zip='".$database->database_real_escape_string(strip_tags($_POST["zip"]))."', seeking='$seeking', moreinfo='".$database->database_real_escape_string(strip_tags($_POST["moreinfo"]))."'"); echo "Your travel plans have been added"; } else{ ?>

Add Future Travel

Arrival date   
Day
Month
Year

Departure date   
Day
Month
Year

Country

Region / State
- important if available!

City

Zip / postal
(if you know - for the hotel or city where you'll stay)

I seek
More Information:
assign('forumcats', $forumcat_array); $smarty->assign('forum_is_moderator', $forum_is_moderator); include "footer.php"; ?>