time = time(); $this->startSession(); } /** * startSession - Performs all the actions necessary to * initialize this session object. Tries to determine if the * the user has logged in already, and sets the variables * accordingly. Also takes advantage of this page load to * update the active visitors tables. */ function startSession() { global $database; //The database connection session_start(); //Tell PHP to start the session /* Determine if user is logged in */ $this->doShow = $this->checkGrantshow(); } /** * checkGrantshow - Checks if the user has already previously * submitted the view specification form, and a session with the email of the visitor has already been * established. Also checks to see if visitor has been remembered. * Returns true if the user has logged in. */ function checkGrantshow() { global $database; //The database connection /* Check if the visitor has been remembered */ if(isset($_COOKIE['cookmail'])) { $this->email = $_SESSION['email'] = $_COOKIE['cookmail']; } /* Username and userid have been set and not guest */ if(isset($_SESSION['email'])) { /* User is logged in, set class variables */ // $this->email = $this->userinfo['email']; return true; } /* User not logged in */ else { return false; } } /** * login - The visitor has submitted his name and email through the * view specifications form, this function checks the authenticity * of that information in the database and creates the session. * Effectively shows the specifications if all goes well. */ function submitshow($subsex, $subfirst_name, $sublast_name, $subemail, $submailing, $subyms_id, $subyms_field, $subreference, $subbrand, $suburl, $subremember) { require_once("/var/www/vhosts/sonrisayachting.com/includes/formfields.php"); global $database, $form; //The database and form object if ((isset($_COOKIE['cookmail'])) || (isset($_SESSION['email']))) { //echo "test"; } else { if ( (check_spam($subfirst_name)) || (check_spam($sublast_name)) || (check_spam($subemail)) ) { $subject = stripslashes("Spamwords detected on Yacht Publisher System"); $text = stripslashes("IP: ".getenv("REMOTE_ADDR")."\nFirst name: ".$subfirst_name."\nLast name: ".$sublast_name."\nE-mail: ".$subemail); $eol="\r\n"; $headers="From: ".$subfirst_name." ".$sublast_name." <".$subemail.">".$eol."Content-Type: text/plain; charset=utf-8".$eol; // mail("info@hoogmawebdesign.com", $subject, $text, $headers); $form->setError("checkspam", "

* ".$field['checkspam'][$_SESSION['language']]); } /* First name error checking */ $formfield = "first_name"; //Use field name for username if(!$subfirst_name || strlen($subfirst_name = trim($subfirst_name)) == 0) { $form->setError($formfield, "* ".$field['missingfirstname'][$_SESSION['language']]); } /* Last name error checking */ $formfield = "last_name"; //Use field name for username if(!$sublast_name || strlen($sublast_name = trim($sublast_name)) == 0) { $form->setError($formfield, "* ".$field['missinglastname'][$_SESSION['language']]); } /* Email error checking */ $formfield = "email"; //Use field name for email if(!$subemail || strlen($subemail = trim($subemail)) == 0) { $form->setError($formfield, "* ".$field["missingemail"][$_SESSION['language']]); } else { /* Check if valid email address */ $regex = "/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i"; if(!preg_match($regex, $subemail)) { $form->setError($formfield, "* ".$field["invalidemail"][$_SESSION['language']]); } $subemail = stripslashes($subemail); } /* Return if form errors exist */ if($form->num_errors > 0) { return false; } } /* Checks that email is in database, get the id from the visitor and updates the visitors's hits */ $clientid = $database->confirmVisitorEmail($subsex, $subfirst_name, $sublast_name, $subemail, $submailing, $subyms_id, $subyms_field, $_SESSION['language']); /* Updates hits and hitlog */ $result = $database->updateHits($subreference, $clientid, $subyms_id, $subyms_field); /* Register session variables */ $this->email = $_SESSION['email'] = $subemail; /** * This is the cool part: the user has requested that we remember that * he's logged in, so we set two cookies. One to hold his username, * and one to hold his random value userid. It expires by the time * specified in constants.php. Now, next time he comes to our site, we will * log him in automatically, but only if he didn't log out before he left. */ // 2008-10-02 Session email probleem opgelost, als remember uit staat en sessie actief is, true geven if($subremember) { setcookie("cookmail", $this->email, time()+COOKIE_EXPIRE, COOKIE_PATH); /* Login completed successfully */ return true; } elseif ((isset($_COOKIE['cookmail'])) || (isset($_SESSION['email']))) { return true; } } } /** * Initialize session object - This must be initialized before * the form object because the form uses session variables, * which cannot be accessed unless the session has started. */ $session = new Session; /* Initialize form object */ $form = new Form; ?> Astondoa A-82 GLX 2000 Yacht information Boat information Boat specifications technical sheet
Menu:


 Home page
 Sailing yachts
 Motor yachts
 Charter yachts
 Buy a yacht
 Sell your yacht
 Contact us
 Our company
 Search yachts
 Yacht service
 Boat shop
 Boat shows 2019
 Nautical news letter
 Boating news
 Boating forums
 The weather
 Webcams
 Marinas in Spain
 Canary Islands
 Nautical dictionary
 Yacht list
 Archive
 Brand and model
 Links
 Privacy Policy
 Legal info
 Disclaimer
 Site map

Quick search:

/">

Keyword:
Brand/model:
Category:
Max.price:
English Español - Spanish Français - French Português - Portuguese Italiano - Italian Nederlands - Dutch Deutsch - German Svenska - Swedish

View the yacht specifications View the yacht specifications

Yacht details:
Astondoa A-82 GLX 2000
Astondoa A-82 GLX
Year of construction: 2000
Location: Spain
Price: EUR 500,000.00
Offered by:
Sonrisa Yachting
Hoofdstraat 241
9686 PC Beerta
Groningen, Netherlands
Phone nr.: +31 (0)645466932
Fax: +31 (0)597855758
E-mail: info@sonrisayachting.com

Full specifications available!

After entering your name and e-mail address, a new window
will open and you will see the full specifications immediately. error("checkspam"); ?>

Title:
First name:* " size="30" maxlength="60" class="fieldcell" required="required" />error("first_name"); ?>
Last name:* " size="30" maxlength="60" class="fieldcell" required="required" />error("last_name"); ?>
Your e-mail:* " size="30" maxlength="255" class="fieldcell" required="required" />error("email"); ?>
Type the following code:*
Remember me next time
value("mailing")=="1")? "checked":""; ?> /> Please keep me informed by e-mail about the actual offer of sailing and motor yachts

The fields marked with * are required. Your personal details will stay confidential.




Nautical Websites - The Maritime community
Recently added:



Astondoa A-82 GLX 2000Jeanneau Voyage 11.20 1989Princess 54 0Astondoa AS-39 Cruiser 1999  2002  1995

Valid XHTML 1.0 Strict
Valid CSS!