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; ?> Leopard 23m 1999 Yacht information caractéristiques bateaux yachts
Menu:


 Page d'accueil
 Voiliers
 Bateaux à moteurs
 Bateaux à louer
 Acheter un yacht
 Vendre votre yacht
 Contacter
 Notre société
 Chercher yachts
 Service technique
 Magasin de bateau
 Expo de bateaux 2019
 Bulletin nautique
 Nouvelles nautiques
 Forum nautique
 Le temps
 Webcams
 Ports en Espagne
 Îles Canaries
 Dictionnaire nautique
 Liste des yachts
 Archive
 Marque et modèle
 Liens
 Politique d'intimité
 Information légale
 Déni de responsabilité
 Sitemap

Recherche rapide:

/">

Mot-clé:
Marque/modèle:
Catégorie:
Prix max.:
English Español - Spanish Français - French Português - Portuguese Italiano - Italian Nederlands - Dutch Deutsch - German Svenska - Swedish

Regarder les caractéristiques du yacht Regarder les caractéristiques du yacht

Détails du Yacht:
Leopard 23m 1999
Leopard 23m
Année de construction: 1999
Endroit: France
Prix: ***vendu***
Offert par:
Sonrisa Yachting
Hoofdstraat 241
9686 PC Beerta
Groningen, Pays-Bas
Téléphone: +31 (0)645466932
Fax: +31 (0)597855758
E-mail: info@sonrisayachting.com

Caractéristiques complets disponibles!

Après avoir écrit votre nom et e-mail, une nouvelle fenêtre
s'ouvrira et vous verrez les caractéristiques complets immédiatement. error("checkspam"); ?>

Titre:
Prénom:* " size="30" maxlength="60" class="fieldcell" required="required" />error("first_name"); ?>
Nom de famille:* " size="30" maxlength="60" class="fieldcell" required="required" />error("last_name"); ?>
Votre e-mail:* " size="30" maxlength="255" class="fieldcell" required="required" />error("email"); ?>
Copiez le code suivant:*
Rappeler de moi la prochaine fois
value("mailing")=="1")? "checked":""; ?> /> Veuillez me tenir au courant par e-mail au sujet de l'offre actuel de voiliers et yachts de moteur

Les champs identifiés par * sont exigés. Vos détails personnels resteront confidentiels.




Nautical Websites - The Maritime community
Nouveautés:



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

Valid XHTML 1.0 Strict
Valid CSS!