<%@ LANGUAGE = JScript CODEPAGE = 1252 %> <% Session.LCID = 1036; Response.Expires = -1; Response.CacheControl = "Private"; var pageCoding = "ISO-8859-1"; %><% function _ga(name, value) {} var rootPath = "./"; var globalRootPath = "./"; var lang = "fr"; var itlVersion = "1.7.3.0"; var thisFromGlobalRoot = "./form00010e32.asp"; var hasDocType = false; var pageElementType = "smf:mailForm"; var isDiffusion = true; %> <% var dynlibModelUpdaterURL = "./dynlibModelUpdater0001002a.html"; %> <% var rpcServerMode = false; %> <% /********* current page *********/ var homeURL = "./index.html"; var loginURL = ""; var currentPageCategories = new Array(); %> <% var linkableClassMap = {}; %> <% var imageProviderUrl = "./imageProvider.asp"; %><% var albumDialogUrl = "./albumDialog.html"; %><% var albumPrivateDialogUrl = "./albumPrivateDialog.asp"; %> <% var cmd = itl.getParameterValue("string", "cmd"); %> Demande de contact

CONTACT/Demande de contact

Demande de contact

<% var cC0017a8d9 = odfControlFactory.create("stringItem", "C0017a8d9", "civilite", null); cC0017a8d9.setProperty("label", "Civilité"); cC0017a8d9.setProperty("width", "100"); cC0017a8d9.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8d9.setProperty("kind", "optional"); cC0017a8d9.setProperty("value", (function(){var _t0 = new SqlObject("omc:stringItem", ( "SELECT " + "this.`_oid` AS this \n" + "FROM omc_stringItem AS this \n" + "WHERE \n" + "(this.iso_sid <> '') \n" + "AND (this.name = 'usr:civility:MR')\n"), {},false); return _t0;}())); cC0017a8d9.setProperty("readonly", false); cC0017a8d9.setProperty("rendermode", "select"); cC0017a8d9.setProperty("defaultlabel", "Non spécifié"); cC0017a8d9.setProperty("columns", "2"); cC0017a8d9.setProperty("listname", "usr:civility"); var cC0017a8db = odfControlFactory.create("text", "C0017a8db", "Nom-prenom", null); cC0017a8db.setProperty("label", "Nom prénom"); cC0017a8db.setProperty("width", "400"); cC0017a8db.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8db.setProperty("kind", "required"); cC0017a8db.setProperty("readonly", false); var cC0017a8dd = odfControlFactory.create("text", "C0017a8dd", "Societe-pharmacie", null); cC0017a8dd.setProperty("label", "Société/Pharmacie"); cC0017a8dd.setProperty("width", "400"); cC0017a8dd.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8dd.setProperty("kind", "optional"); cC0017a8dd.setProperty("readonly", false); var cC0017a8df = odfControlFactory.create("text", "C0017a8df", "Fonction", null); cC0017a8df.setProperty("label", "Fonction"); cC0017a8df.setProperty("width", "400"); cC0017a8df.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8df.setProperty("kind", "optional"); cC0017a8df.setProperty("value", null); cC0017a8df.setProperty("readonly", false); var cC0017a8e3 = odfControlFactory.create("textArea", "C0017a8e3", "Adresse", null); cC0017a8e3.setProperty("label", "Adresse"); cC0017a8e3.setProperty("width", "400"); cC0017a8e3.setProperty("height", "80"); cC0017a8e3.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8e3.setProperty("kind", "optional"); cC0017a8e3.setProperty("value", null); cC0017a8e3.setProperty("readonly", false); var cC0017a8e5 = odfControlFactory.create("select", "C0017a8e5", "Pays", null); cC0017a8e5.setProperty("label", "Pays"); cC0017a8e5.setProperty("width", "150"); cC0017a8e5.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8e5.setProperty("kind", "optional"); cC0017a8e5.setProperty("value", "France"); cC0017a8e5.setProperty("readonly", false); cC0017a8e5.addOptions([{"value":"","text":"Non spécifié","properties":{}},{"value":"France","text":"France","properties":{}},{"value":"Belgique","text":"Belgique","properties":{}},{"value":"Luxembourg","text":"Luxembourg","properties":{}},{"value":"Suisse","text":"Suisse","properties":{}},{"value":"Monaco","text":"Monaco","properties":{}},{"value":"Andorre","text":"Andorre","properties":{}},{"value":"Grande-Bretagne","text":"Grande-Bretagne","properties":{}},{"value":"Allemagne","text":"Allemagne","properties":{}},{"value":"Italie","text":"Italie","properties":{}},{"value":"Espagne","text":"Espagne","properties":{}}]); var cC0017a8f7 = odfControlFactory.create("text", "C0017a8f7", "E-mail", null); cC0017a8f7.setProperty("label", "E-mail"); cC0017a8f7.setProperty("width", "400"); cC0017a8f7.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8f7.setProperty("kind", "required"); cC0017a8f7.setProperty("readonly", false); var cC0017a8f9 = odfControlFactory.create("text", "C0017a8f9", "Telephone", null); cC0017a8f9.setProperty("label", "Telephone"); cC0017a8f9.setProperty("width", "400"); cC0017a8f9.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8f9.setProperty("kind", "optional"); cC0017a8f9.setProperty("value", null); cC0017a8f9.setProperty("readonly", false); var cC0017a8fb = odfControlFactory.create("textArea", "C0017a8fb", "Message", null); cC0017a8fb.setProperty("label", "Message"); cC0017a8fb.setProperty("width", "400"); cC0017a8fb.setProperty("height", "80"); cC0017a8fb.setProperty("missingreason", "Le champ est obligatoire."); cC0017a8fb.setProperty("kind", "optional"); cC0017a8fb.setProperty("value", null); cC0017a8fb.setProperty("readonly", false); var debug = false; var action = "sendMail"; %>
<% var form1 = new ItlForm("form1", itl.getId(), "./form00010e32.asp", "G00010e32_2"); form1.setProperty("name", "form"); form1.setProperty("method", "post"); form1.setProperty("enctype", "multipart/form-data"); form1.setProperty("hasProcessing", true); if(form1.isFirstPost()) { if(form1.isValid()) { try { var mail4 = new ItlMail(); mail4.setProperty("to", "pascal.castro@actoria.eu"); mail4.setProperty("from", itl.getRequestVar("E-mail")); mail4.setProperty("subject", "Le formulaire demande de contact a été saisi sur le site actopharma."); mail4.setProperty("cc", ""); mail4.addToBody(( "" + "\n" + "\n" + " \n" + " \n" + "\n" + "\n" + "

Une personne vient de remplir le formulaire de contact.

\n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n")); parity = (_gv["parity"] = true); var parameterName = "civilite"; var value = itl.getRequestVar("civilite"); var type = "object:omc:stringItem"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = false); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "Nom-prenom"; var value = itl.getRequestVar("Nom-prenom"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = true); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "Societe-pharmacie"; var value = itl.getRequestVar("Societe-pharmacie"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = false); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "Fonction"; var value = itl.getRequestVar("Fonction"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = true); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "Adresse"; var value = itl.getRequestVar("Adresse"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = false); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "Pays"; var value = itl.getRequestVar("Pays"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = true); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "E-mail"; var value = itl.getRequestVar("E-mail"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = false); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "Telephone"; var value = itl.getRequestVar("Telephone"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = true); mail4.addToBody(( "" + " \n" + " \n" + " \n" + " \n")); var parameterName = "Message"; var value = itl.getRequestVar("Message"); var type = "string"; mail4.addToBody(( "" + " \n" + " \n")); parity = (_gv["parity"] = false); mail4.addToBody(( "" + " \n" + " \n" + " \n" + "
PropriétéValeur
\n" + " Civilité\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { var _t1 = new SqlObject("omc:stringItem", ( "SELECT " + "this.`_oid` AS this, \n" + "this.label_fr AS this_p_label_fr \n" + "FROM omc_stringItem AS this \n" + "WHERE \n" + "(this.iso_sid <> '') \n" + "AND (this.`_oid` = #V_0&;)\n"), {"#V_0&;|integer":_i_S_n(value)},false); _show(_t1.get("this_p_label_fr"), "string", "html", "string"); } mail4.addToBody(( "" + "
\n" + " Nom prénom\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "html", "string"); } mail4.addToBody(( "" + "
\n" + " Société/Pharmacie\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "html", "string"); } mail4.addToBody(( "" + "
\n" + " Fonction\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "html", "string"); } mail4.addToBody(( "" + "
\n" + " Adresse\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "memo", "string"); } mail4.addToBody(( "" + "
\n" + " Pays\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "html", "string"); } mail4.addToBody(( "" + "
\n" + " E-mail\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "html", "string"); } mail4.addToBody(( "" + "
\n" + " Telephone\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "html", "string"); } mail4.addToBody(( "" + "
\n" + " Message\n" + " \n" + " \n")); if(isNull(value) || value == "") { mail4.addToBody(" "); } else { _show(value, "string", "memo", "string"); } mail4.addToBody(( "" + "
\n" + "\n" + "\n" + "\n")); if(!mail4.exec()) { throw newItlError(mail4.getDiagnostics()); } var link = ""; %>

Votre formulaire a bien été traité. Merci.

<% form1.hideContent(); } catch(e3) { if(e3.isItlError) { var diag = e3.getDiagnostics(); %>

Impossible de sauvegarder vos données.
<% _show(diag, "string", "html", "string"); %>

<% form1.fails(); } else { throw e3; } } } } if(form1.canShow()) { form1.show(); %>
<% cC0017a8d9.setForm(form1); cC0017a8d9.show(); %>
<% cC0017a8db.setForm(form1); cC0017a8db.show(); %>
<% cC0017a8dd.setForm(form1); cC0017a8dd.show(); %>
<% cC0017a8df.setForm(form1); cC0017a8df.show(); %>
<% cC0017a8e3.setForm(form1); cC0017a8e3.show(); %>
<% cC0017a8e5.setForm(form1); cC0017a8e5.show(); %>
<% cC0017a8f7.setForm(form1); cC0017a8f7.show(); %>
<% cC0017a8f9.setForm(form1); cC0017a8f9.show(); %>
<% cC0017a8fb.setForm(form1); cC0017a8fb.show(); %>
<% form1.close();} %>
<% sqlEngine.terminate(); %><% framework.terminate() ; %><% objResponse.terminate("HTML") ; %>