<% if (!isset($submit)) { require("/var/www/webhosts-script/www.tartanowners.org/private/phpheaders/main.phtml"); if(!isset($tone)) { $new_owner = true; TONERedirectBrowser('/forms/ownerupdate.phtml', true); exit; } else { $new_owner = false; unset($data); $where[]['owner.hash'] = array( 'op' => '=', 'val' => $tone ); $error_result = TONEOwnerGetResult('', $order, $where); if( !($error_result < 0) ) { if(mysql_num_rows($error_result) == 1) { $the_owner = mysql_fetch_object($error_result); $own_model = $the_owner->model_id; $own_boatyear = TONETextDisplay($the_owner->boatyear, false, false); $own_homeport = TONETextDisplay($the_owner->homeport, false, false); $own_ownername = TONETextDisplay($the_owner->ownername, false, false); $own_email = TONETextDisplay($the_owner->email, false, false); $oid = $the_owner->id; $error_result_model = TONEModelGet($own_model); if(is_array($error_result_model)) $own_model_name=$error_result_model[model]; } } } } else{ $V2EmailFormReqd[sailing_waters] = true; $V2EmailFormReqd[how_used] = true; $V2EmailFormReqd[year_purchased] = true; $V2EmailFormReqd[owner_comments] = true; $V2EmailFormSubject = 'Owner Review Form'; $V2EmailFormTo = 'admin@tartanowners.org'; $V2EmailFormReplyToEMail = $V2EmailForm[EMail]; include('/var/www/webhosts-script/www.v2systems.com/v2_prv/inc/php/email_form.php'); if($V2EmailFormSentMail) { $body = "This auto-reply email is confirmation that your Tartan Owner review has been successfully submitted. It will be added to the Tartan Owners website as soon as possible. Thanks for taking the time to submit your review!"; mail($V2EmailForm[EMail], 'Tartan Owner Review Form', $body, "From: admin@tartanowners.org"); } } %> Submit a Tartan Owner Review Form
<% include("/var/www/webhosts-script/www.tartanowners.org/private/menu/menu.html"); %>

Submit an Owner Review

Your opinion is important! Complete this survey and help other current and future Tartan owners make informed decisions about their boats.

Note: Submitted reviews do not appear on the site immediately.

Owner Data:

Model Year Owners Name Home Port
<%=$own_model_name%><%=$V2EmailForm[model]%> <%=$own_boatyear%><%=$V2EmailForm[boatyear]%> <%=$own_ownername;%><%=$V2EmailForm[owner];%> <%=$own_homeport%><%=$V2EmailForm[homeport]%>
<%if ($V2EmailFormSentMail):%>

Your review of your Tartan <%=$V2EmailForm[model]%> has been submitted!
It will be added to the Owner Reviews as soon as possible.

To return to the page you were previously viewing
Click Here

<%elseif (!empty($V2EmailFormError)):%>

There was a problem. All fields must be completed...
<% foreach($V2EmailFormError as $key => $the_error){echo "   - $the_error
";} %>

To return to the form Click Here

<%else:%>

Review:

What waters do you sail on most often?
How do you most often use your boat?
What year did you purchase your boat? (yyyy)
Any special features on your boat? (20 char max)
How would you describe your boat to others?
Abbreviations for Features:
• Keels - FK, SK, Bvrtl, K/CB
• Rigs - SM, TM, Y, K
• Engines - A4, 2GM, W50
• Interior - Aft, Side Galley
   
<%endif;%>