[[Template:Script]]Declare Errors As Numeric Declare AtLeastOneShipping As Numeric Declare AtLeastOneShippingCPC As Numeric Declare AtLeastOneShippingUPS As Numeric Declare GrandTotal As Numeric Declare MyQuestionID As Numeric Declare CurrentYear As Numeric Declare Temp As String Declare TaxValue As Numeric Declare SwitchColor As Numeric Declare ShippingDate As String Declare ShipFirstName As String Declare ShipLastName As String Declare ShipCompany As String Declare ShipAddress As String Declare ShipCity As String Declare ShipStateID As Numeric Declare ShipState2 As String Declare ShipZIP As String Declare ShipPhone1 As String Declare ShipPhone2 As String Declare ShipFax As String Declare ShipEmail As String Declare ShipCountryID As Numeric Declare ShipCountryName As String Declare BillFirstName As String Declare BillLastName As String Declare BillCompany As String Declare BillAddress As String Declare BillCity As String Declare BillStateID As Numeric Declare BillState2 As String Declare BillZIP As String Declare BillPhone1 As String Declare BillPhone2 As String Declare BillFax As String Declare BillEmail As String Declare BillCountryID As Numeric Declare BillCountryName As String Declare QErrorMsg As String Declare UserAnswer As Numeric Declare QName As String Declare QAnswer As String[[Template:EndScript]] [[Template:If System.Form.Input.Value(Name=SendPassword) EQ 1 Then]][[Template:If Checkout.PasswordSent]][[Template:EndIf]] [[Template:Checkout.Section.Begin]]<center><font color="red">Votre mot de passe vous a été envoyé par courriel.</font></center>[[Template:Else]]<center><font color="red">Ce courriel n'est associé à aucun profil.</font></center>[[Template:EndIf]]]<html> <head>[[Template:Checkout.Section.1]]<meta http-equiv="Content-Type" content="text/html"> <title>Panier de commande - [[Template:Store.Name]]</title></head> <body BACKGROUND="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000080" VLINK="#000080" ALINK="#FFFFFF" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0"> <center><p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="3" align="center"></center> </body> </html><tr valign="center"></table> <p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"><td width="50%"><b><font face="verdana, arial, helvetica" size="3">Panier de commande : </font></b></td> <td width="50%" align="right"><font face="verdana, arial, helvetica" size="2"><b>Paiement express</b></font></td></tr> <tr><td colspan="2"></tr><table bgcolor="black" width="100%" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td colspan="3"></tr><img src="/images/pixel_transparent.gif" width="600" height="1"></td><tr></table><td align="left"></tr><table width="100%" cellpadding="0" cellspacing="0" border="0"></td><!-- 1 --> <tr></table><td></tr> <tr><font face="verdana, arial, helvetica" size="2"></td><b>Passage à la caisse express</b> <p>Si vous n'avez pas de profil d'utilisateur Paiement express, vous devriez vous en créer un sous «Nouvel Utilisateur». Si vous ne souhaitez pas en avoir un, passez directement à la caisse ici.</p></font> <p align="left"> [[Template:Checkout.Form.Begin NextSection=1]]<font face="verdana, arial, helvetica" size="2"><input style="color=#000000" type="submit" value="Passer à la caisse sans m'enregistrer"></font></p> <input TYPE="HIDDEN" NAME="Express" VALUE="0">[[Template:Checkout.Form.End]]<td></tr> <!-- 2 --> <tr><hr size="1" width="100%" color="#000000"></td><td></tr> <tr>[[Template:Checkout.Form.Begin NextSection=50]]</td><font face="verdana, arial, helvetica" size="2"><b>Authentification</b></font> <p><font face="verdana, arial, helvetica" size="2">Si vous avez déjà un profil d'utilisateur Paiement express, veuillez entrer votre courriel et votre mot de passe.</font><br><br></p> <table>[[Template:Checkout.Form.End]]<tr></table> <br></p> <p align="left"><font face="verdana, arial, helvetica" size="2"> <input type="hidden" name="HasProfile" value="True" /> <input type="hidden" name="ProfileReuseInfo" value="True" /> <input style="color=#000000" type="submit" value=" Authentification... " name="B1"></font></p> <input TYPE="HIDDEN" NAME="Express" VALUE="0"><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Courriel :</b></font></td> <td><input CLASS="input" TYPE="TEXT" name="ProfileEmail" MAXLENGTH="40" size="20" VALUE="[[Template:System.HTMLEncode(Input=System.Form.Input.Value(Name=ProfileEmail))]]"></td></tr> <tr><td><font face="verdana, arial, helvetica" size="2"><b>Mot de passe: </b></font></td> <td><input CLASS="input" type="password" NAME="ProfilePassword" MAXLENGTH="16" size="20"></td></tr><td><hr size="1" width="100%" color="#000000"></td></tr> <!-- 3 --> <tr><td></tr> <tr>[[Template:Checkout.Form.Begin NextSection=1]]</td><font face="verdana, arial, helvetica" size="2"> <b>Nouvel utilisateur</b> <p>Si vous n'avez pas de profil d'utilisateur Paiement express, vous pouvez en créez un ici en poursuivant le processus d'achat. <br><br>Lors de vos prochains achats, vous n'aurez plus à entrer vos coordonnées. </font> <p align="left"> <font face="verdana, arial, helvetica" size="2"><input style="color=#000000" type="submit" value=" Continuer... " name="B1"></font> </p> <input TYPE="HIDDEN" NAME="Express" VALUE="1">[[Template:Checkout.Form.End]]<td><hr size="1" width="100%" color="#000000"></td></tr> <tr><td></tr><form METHOD="POST" ACTION="/Scripts/Checkout/SendPassword.asp"></td><input TYPE="HIDDEN" NAME="Custom" VALUE="1"> <input TYPE="HIDDEN" NAME="L" VALUE="[[Template:System.Form.Input.Value Name=Language]]"> <input TYPE="HIDDEN" NAME="Language" VALUE="[[Template:System.Form.Input.Value Name=Language]]"> <input TYPE="HIDDEN" NAME="m" VALUE="[[Template:System.Form.Input.Value Name=m]]"> <input TYPE="HIDDEN" NAME="b" VALUE="[[Template:System.Form.Input.Value Name=b]]"> <input TYPE="HIDDEN" NAME="SendPassword" VALUE="1"> <font face="verdana, arial, helvetica" size="2"><b>Un oubli?</b><p>Si vous ne vous souvenez plus de votre mot de passe, entrez votre courriel et nous vous le ferons parvenir.</font><br><br></p> <table></form><tr></table> <br></p><td><font face="verdana, arial, helvetica" size="2"><b>Courriel :</b></font></td> <td><input CLASS="input" TYPE="TEXT" name="Email" MAXLENGTH="40" size="20"> <input style="color=#000000" type="submit" value=" Envoyer " name="B1"></td></tr><html> <head>[[Template:Checkout.Section.2]]<meta http-equiv="Content-Type" content="text/html"> <title>Panier de commande - étape 1/5 - [[Template:Store.Name]]</title></head> <body BACKGROUND="" BGCOLOR="#FFFFFF" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" text="#000000" link="#000080" vlink="#000080" alink="#FFFFFF"> <center><p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"></center> </body> </html><tr></table> <p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"><td align="left" width="230"></tr> <tr><b><font face="verdana, arial, helvetica" size="3">Panier de commande :</font></b></td> <td align="left"><table width="200"></td> <td align="right" width="200"><tr></table><td><font face="verdana, arial, helvetica" size="3"><img SRC="[[Template:Store.LogoURL]]"></font></td></tr><font face="verdana, arial, helvetica" size="2"><b>étape 1/5</b></font></td><td colspan="3"></tr><table bgcolor="black" width="100%" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td colspan="3"><img src="/images/pixel_transparent.gif" width="610" height="1"></td></tr><tr></table><td align="left"></tr>[[Template:Checkout.Form.Begin NextSection=2]]</td><font face="verdana, arial, helvetica" size="3"><b>Pays de livraison</b>.</font> <br> <font face="verdana, arial, helvetica" size="2">Veuillez choisir le pays où sera livrée la marchandise.</font> <p><br></p> <font face="verdana, arial, helvetica" size="2"><b>Pays :</b></font> <select name="ShipCountry" size="1">[[Template:Checkout.Form.End]][[Template:Checkout.Country.Loop.Begin]]</select> <input TYPE="HIDDEN" NAME="Express" VALUE="[[Template:System.Form.Input.Value Name=Express]]"> <p><br></p> <p><br></p> <table bgcolor="black" width="99%" height="1" cellpadding="0" cellspacing="0" align="left"><option VALUE="[[Template:Checkout.Country.ID]]">[[Template:Checkout.Country.Name]]</option>[[Template:Checkout.Country.Loop.End]]<tr></table> <br> <center><td><img src="/images/pixel_transparent.gif" width="610" height="1"></td></tr><font face="verdana, arial, helvetica" size="2"></center><input style="color=#000000" type="submit" value="Continuer..." name="B1"></font>[[Template:If ShipCountryName EQ ""]][[Template:Checkout.Section.3]] <html> <head> <meta http-equiv="Content-Type" content="text/html"> <title>Panier de commande - étape 3/5 - [[Template:Store.Name]]</title> </head> <body BACKGROUND="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000080" VLINK="#000080" ALINK="#FFFFFF" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0"> <center>[[Template:Set ShipCountryID = Checkout.Shipping.Country.ID]] [[Template:Set ShipCountryName = Checkout.Shipping.Country.Name]][[Template:EndIf]] <html> <head><meta http-equiv="Content-Type" content="text/html"> <title>Panier de commande - étape 2/5 - [[Template:Store.Name]]</title></head> <center><body BACKGROUND="" BGCOLOR="#FFFFFF" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" bgcolor="#FFFFFF" text="#000000" link="#000080" vlink="#000080" alink="#FFFFFF"> <p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"></center> </body> </html><tr></table> <p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"><td align="left" width="230"></tr> <tr><b><font face="verdana, arial, helvetica" size="3">Panier de commande : </font></b></td> <td align="left"><table width="200"></td> <td align="right" width="200"><tr></table><td><font face="verdana, arial, helvetica" size="3"><img SRC="[[Template:Store.LogoURL]]"></font></td></tr><font face="verdana, arial, helvetica" size="2"><b>étape 2/5</b></font></td><td colspan="3"></tr><table bgcolor="black" width="100%" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td colspan="3"></tr><img src="/images/pixel_transparent.gif" width="610" height="1"></td><tr></table><td align="left"></tr><font face="verdana, arial, helvetica" size="3"> [[Template:Script]]</td>If Errors == 1 Then[[Template:EndScript]] [[Template:If Cart.NbItems GT 0]]If QErrorMsg != "" ThenEndIfSystem.Write(Output=QErrorMsg)EndIf If Checkout.Shipping.FirstName == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un prénom</b></font><br>")EndIf If Checkout.Shipping.LastName == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un nom de famille</b></font><br>")EndIf If Checkout.Shipping.Address == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer une adresse</b></font><br>")EndIf If Checkout.Shipping.City == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer une ville</b></font><br>")EndIf If Checkout.Shipping.ZIP == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un code postal/ZIP</b></font><br>")EndIf If Checkout.Shipping.State.Name == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez choisir une province/état</b></font><br>")EndIf If Checkout.Shipping.Phone1 == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un numéro de téléphone</b></font><br>")EndIf If Not System.IsEmail(Email=Checkout.Shipping.Email) ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un courriel valide</b></font><br>")EndIf If System.Form.Input.Value(Name=Express) == 1 And System.Form.Input.Value(Name=ProfilePassword) == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un mot de passe</b></font><br>")EndIf<b>Adresse de livraison</b>[[Template:Else]]<b>Votre adresse</b>[[Template:EndIf]] </font> <br> <font face="verdana, arial, helvetica" size="2">Attention : Les champs suivis d'un astérisque (*) sont obligatoires.</font> <p><br></p> [[Template:Checkout.Form.Begin NextSection=53]]<input TYPE="HIDDEN" NAME="ShipCountry" VALUE="[[Template:ShipCountryID]]"> <input TYPE="HIDDEN" NAME="ProfileReuseInfo" VALUE="[[Template:System.Form.Input.Value Name=ProfileReuseInfo]]"> <input TYPE="HIDDEN" NAME="HasProfile" VALUE="[[Template:System.Form.Input.Value Name=HasProfile]]"> <input TYPE="HIDDEN" NAME="Express" VALUE="[[Template:System.Form.Input.Value Name=Express]]"> <table width="75%" cellspacing="0" cellpadding="7" align="center">[[Template:Checkout.Form.End]]<tr></table> <br> <p><br></p> <table bgcolor="black" width="99%" height="1" cellpadding="0" cellspacing="0" align="left"><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Prénom* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipFirstName" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipFirstName)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Nom* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipLastName" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipLastName)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2">Nom d'entreprise :</font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipCompany" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipCompany)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Adresse* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipAddress" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipAddress)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Ville* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipCity" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipCity)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2">Pays :</font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="2">[[Template:ShipCountryName]]</font></td></tr> <tr><td width="50%"></tr> <tr><font face="verdana, arial, helvetica" size="2"></td> <td width="50%" align="left"><b>[[Template:Checkout.Shipping.Country.DivisionName CountryID=ShipCountryID]]*</b> :</font><font face="verdana, arial, helvetica" size="2"></td>[[Template:If Checkout.State.NbElements(CountryID=ShipCountryID) GT 0]]</font><select NAME="ShipState" size="1">[[Template:Else]]<option>S.V.P. Choisissez</option> [[Template:Checkout.State.Loop.Begin CountryID=ShipCountryID]]</select><option VALUE="[[Template:Checkout.State.ID]]" [[Template:If ShipStateID EQ Checkout.State.ID]]SELECTED[[Template:EndIf]]>[[Template:Checkout.State.Name]]</option>[[Template:Checkout.State.Loop.End]]<input TYPE="TEXT" NAME="ShipState" VALUE="[[Template:System.HTMLEncode(Input=ShipState2)]]">[[Template:EndIf]]<td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Code postal* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipZIP" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipZIP)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Téléphone* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipPhone1" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipPhone1)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2">Télécopieur :</font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipFax" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipFax)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Courrier électronique* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="ShipEmail" size="16" VALUE="[[Template:System.HTMLEncode(Input=ShipEmail)]]"></font></td></tr> [[Template:If System.Form.Input.Value(Name=Express) EQ 1]]<tr bgcolor="#eeeeee">[[Template:EndIf]]<td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Mot de passe* :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" type="password" name="ProfilePassword" size="16"></font></td></tr> <tr bgcolor="#eeeeee"><td colspan="2"></tr><input type="checkbox" NAME="ProfileReuseInfo" CHECKED>: <font face="verdana, arial, helvetica" size="2">Conserver mes coordonnées et mon profil d'utilisateur</font></td><tr></table> <br> [[Template:Set MyQuestionID = 1]] [[Template:Checkout.Question.Loop.Begin]]<td><img src="/images/pixel_transparent.gif" width="1" height="1"></td></tr><input TYPE="HIDDEN" NAME="QuestionID" VALUE="[[Template:MyQuestionID]]"> <input TYPE="HIDDEN" NAME="QuestionName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Question.Name)]]"> <input TYPE="HIDDEN" NAME="QuestionShortName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Question.ShortName)]]"> <input TYPE="HIDDEN" NAME="AnswerRequired[[Template:MyQuestionID]]" VALUE="[[Template:If Checkout.Question.Answer.Required]]1[[Template:Else]]0[[Template:EndIf]]"> [[Template:Checkout.Question.Name]] [[Template:If Checkout.Question.Answer.Required]]*[[Template:EndIf]] : [[Template:If Checkout.Question.Answer.Type EQ 0]][[Template:Checkout.Question.Loop.End]] <br> <center><input CLASS="input" TYPE="TEXT" NAME="Answer[[Template:MyQuestionID]]" MAXLENGTH="[[Template:Checkout.Question.Answer.MaxLength]]" SIZE="" VALUE="[[Template:System.Form.Input.Value Name=System.Concatenate(String1="Answer",String2=System.ToString(Input=MyQuestionID))]]">[[Template:ElseIf Checkout.Question.Answer.Type EQ 1]][[Template:Checkout.Question.Answer.Loop.Begin]][[Template:ElseIf Checkout.Question.Answer.Type EQ 2]]<input type="checkbox" NAME="Answer[[Template:MyQuestionID]]" VALUE="[[Template:Checkout.Question.Answer.Choice]]"> <font face="verdana, arial, helvetica" size="2">[[Template:Checkout.Question.Answer.Choice]]</font>[[Template:Checkout.Question.Answer.Loop.End]][[Template:Checkout.Question.Answer.Loop.Begin]][[Template:ElseIf Checkout.Question.Answer.Type EQ 3]]<input TYPE="RADIO" NAME="Answer[[Template:MyQuestionID]]" VALUE="[[Template:Checkout.Question.Answer.Choice]]"> <font face="verdana, arial, helvetica" size="2">[[Template:Checkout.Question.Answer.Choice]]</font>[[Template:Checkout.Question.Answer.Loop.End]]<select NAME="Answer[[Template:MyQuestionID]]">[[Template:ElseIf Checkout.Question.Answer.Type EQ 4]][[Template:Checkout.Question.Answer.Loop.Begin]]</select><option VALUE="[[Template:Checkout.Question.Answer.Choice]]">[[Template:Checkout.Question.Answer.Choice]]</option>[[Template:Checkout.Question.Answer.Loop.End]]<select NAME="Answer[[Template:MyQuestionID]]" MULTIPLE>[[Template:EndIf]] [[Template:Set MyQuestionID = MyQuestionID + 1]] <br>[[Template:Checkout.Question.Answer.Loop.Begin]]</select><option VALUE="[[Template:Checkout.Question.Answer.Choice]]">[[Template:Checkout.Question.Answer.Choice]]</option>[[Template:Checkout.Question.Answer.Loop.End]]<font face="verdana, arial, helvetica" size="2"></center> <br> <table bgcolor="black" width="99%" height="1" cellpadding="0" cellspacing="0" align="left"><b>Est-ce que l'adresse de facturation est la même que l'adresse de livraison?</b></font><tr></table> <br> <center><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><input style="color=#000000" type="submit" value=" Oui " name="B1"> <input style="color=#000000" type="submit" value=" Non " name="B2"></center><p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"><tr></table> <p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"><td align="left" width="230"></tr> <tr><b><font face="verdana, arial, helvetica" size="3">Panier de commande : </font></b></td> <td align="left"><table width="200"></td> <td align="right" width="200"><tr></table><td></tr><font face="verdana, arial, helvetica" size="3"><img SRC="[[Template:Store.LogoURL]]"></font></td><font face="verdana, arial, helvetica" size="2"><b>étape 3/5</b></font></td><td colspan="3"></tr><table bgcolor="black" width="100%" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td colspan="3"></tr><img src="/images/pixel_transparent.gif" width="610" height="1"></td><tr><td align="left"></center> </body> </html> [[Template:Checkout.Section.4]] <html> <head> <meta http-equiv="Content-Type" content="text/html"> <title>Panier de commande - étape 4/5 - [[Template:Store.Name]]</title> </head> <body BACKGROUND="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000080" VLINK="#000080" ALINK="#FFFFFF" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0"> <center>[[Template:Script]]</table>If Errors == 1 And Order.NbItems > 0 Then[[Template:EndScript]] [[Template:If Cart.NbItems GT 0]]If Checkout.Billing.FirstName == "" ThenEndIfSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un prénom</b></font><br>")EndIf If Checkout.Billing.LastName == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un nom de famille</b></font><br>")EndIf If Checkout.Billing.Address == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer une adresse</b></font><br>")EndIf If Checkout.Billing.City == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer une ville</b></font><br>")EndIf If Checkout.Billing.ZIP == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un code postal/ZIP</b></font><br>")EndIf If Checkout.Billing.Phone1 == "" ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un numéro de téléphone</b></font><br>")EndIf If Not System.IsEmail(Email=Checkout.Billing.Email) ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez entrer un courriel valide</b></font><br>")EndIf If Cart.NbItems GT 0 And Store.Shipping.Type == 2 And Checkout.Shipping.ID == 0 ThenSystem.Write(Output="<font color=\"red\"><b>Vous devez choisir une méthode de livraison</b></font><br>")EndIf<font face="verdana, arial, helvetica" size="3"><b>Adresse de facturation</b>.<br></font>[[Template:EndIf]] <p><br></p> [[Template:Checkout.Form.Begin NextSection=54]]<input TYPE="HIDDEN" NAME="ShipFirstName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.FirstName)]]"> <input TYPE="HIDDEN" NAME="ShipLastName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.LastName)]]"> <input TYPE="HIDDEN" NAME="ShipCompany" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Company)]]"> <input TYPE="HIDDEN" NAME="ShipAddress" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Address)]]"> <input TYPE="HIDDEN" NAME="ShipCity" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.City)]]"> <input TYPE="HIDDEN" NAME="ShipState" VALUE="[[Template:Checkout.Shipping.State.ID]]"> <input TYPE="HIDDEN" NAME="ShipCountry" VALUE="[[Template:Checkout.Shipping.Country.ID]]"> <input TYPE="HIDDEN" NAME="ShipZIP" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.ZIP)]]"> <input TYPE="HIDDEN" NAME="ShipPhone1" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Phone1)]]"> <input TYPE="HIDDEN" NAME="ShipPhone2" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Phone2)]]"> <input TYPE="HIDDEN" NAME="ShipFax" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Fax)]]"> <input TYPE="HIDDEN" NAME="ShipEmail" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Email)]]"> <input TYPE="HIDDEN" NAME="ProfileReuseInfo" VALUE="[[Template:System.Form.Input.Value Name=ProfileReuseInfo]]"> <input TYPE="HIDDEN" NAME="ProfilePassword" VALUE="[[Template:System.Form.Input.Value Name=ProfilePassword]]"> <input TYPE="HIDDEN" NAME="HasProfile" VALUE="[[Template:System.Form.Input.Value Name=HasProfile]]"> [[Template:System.Form.Input.Loop.Begin Name=QuestionID]]</tr><input TYPE="HIDDEN" NAME="QuestionID" VALUE="[[Template:System.Form.Input.Value Name="QuestionID"]]"> <input TYPE="HIDDEN" NAME="AnswerRequired[[Template:System.Form.Input.Value Name="QuestionID"]]" VALUE="[[Template:System.Form.Input.Value Name=System.Concatenate(String1="AnswerRequired",String2=System.ToString(Input=System.Form.Input.Index))]]"> <input TYPE="HIDDEN" NAME="Answer[[Template:System.Form.Input.Value Name="QuestionID"]]" VALUE="[[Template:System.Form.Input.Value Name=System.Concatenate(String1="Answer",String2=System.ToString(Input=System.Form.Input.Index))]]">[[Template:System.Form.Input.Loop.End]] [[Template:System.Form.Input.Loop.Begin Name=QuestionName]]<input TYPE="HIDDEN" NAME="QuestionName" VALUE="[[Template:System.HTMLEncode(Input=System.Form.Input.Value(Name=QuestionName))]]">[[Template:System.Form.Input.Loop.End]] [[Template:System.Form.Input.Loop.Begin Name=QuestionShortName]]<input TYPE="HIDDEN" NAME="QuestionShortName" VALUE="[[Template:System.HTMLEncode(Input=System.Form.Input.Value(Name=QuestionShortName))]]">[[Template:System.Form.Input.Loop.End]] [[Template:If Cart.NbItems GT 0]]<table width="75%" cellspacing="0" cellpadding="7" align="center">[[Template:Else]]<tr></table><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Prénom :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillFirstName" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillFirstName)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Nom :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillLastName" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillLastName)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2">Nom d'entreprise :</font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillCompany" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillCompany)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Adresse :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillAddress" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillAddress)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Ville :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillCity" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillCity)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Province / Région / État :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" NAME="BillState" SIZE="16" VALUE="[[Template:System.HTMLEncode(Input=BillState2)]]" MAXLENGTH="255"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Pays :</b></font></td> <td width="50%" align="left"></tr> <tr><font face="verdana, arial, helvetica" size="2"> <select name="BillCountry" size="1"></td>[[Template:Checkout.Country.Loop.Begin]]</select> </font><option VALUE="[[Template:Checkout.Country.ID]]" [[Template:If Checkout.Country.ID EQ BillCountryID]]SELECTED[[Template:EndIf]]>[[Template:Checkout.Country.Name]]</option>[[Template:Checkout.Country.Loop.End]]<td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Code postal :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillZIP" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillZIP)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Téléphone :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillPhone1" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillPhone1)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2">Télécopieur :</font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillFax" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillFax)]]"></font></td></tr> <tr><td width="50%"><font face="verdana, arial, helvetica" size="2"><b>Courrier électronique :</b></font></td> <td width="50%" align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="BillEmail" size="16" VALUE="[[Template:System.HTMLEncode(Input=BillEmail)]]"></font></td></tr><input TYPE="HIDDEN" name="BillFirstName" VALUE="[[Template:System.HTMLEncode(Input=BillFirstName)]]"> <input TYPE="HIDDEN" name="BillLastName" VALUE="[[Template:System.HTMLEncode(Input=BillLastName)]]"> <input TYPE="HIDDEN" name="BillCompany" VALUE="[[Template:System.HTMLEncode(Input=BillCompany)]]"> <input TYPE="HIDDEN" name="BillAddress" VALUE="[[Template:System.HTMLEncode(Input=BillAddress)]]"> <input TYPE="HIDDEN" name="BillCity" VALUE="[[Template:System.HTMLEncode(Input=BillCity)]]"> <input TYPE="HIDDEN" NAME="BillState" VALUE="[[Template:System.HTMLEncode(Input=BillState2)]]"> <input TYPE="HIDDEN" name="BillCountry" VALUE="[[Template:BillCountryID]]"> <input TYPE="HIDDEN" name="BillZIP" VALUE="[[Template:System.HTMLEncode(Input=BillZIP)]]"> <input TYPE="HIDDEN" name="BillPhone1" VALUE="[[Template:System.HTMLEncode(Input=BillPhone1)]]"> <input TYPE="HIDDEN" name="BillFax" VALUE="[[Template:System.HTMLEncode(Input=BillFax)]]"> <input TYPE="HIDDEN" name="BillEmail" VALUE="[[Template:System.HTMLEncode(Input=BillEmail)]]">[[Template:EndIf]] <p><br></p> <p><br></p> <table bgcolor="black" width="99%" height="1" cellpadding="0" cellspacing="0" align="left"><tr></table> <br> <table align="center" width="100%"><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><tr></td><td align="center"></tr> <tr><font face="verdana, arial, helvetica" size="2"><b>Méthode de paiement choisie :</b></font> <select name="Payment"></td>[[Template:Checkout.Payment.Loop.Begin]]</select><option value="[[Template:Checkout.Payment.ID]]">[[Template:Checkout.Payment.Name]]</option>[[Template:Checkout.Payment.Loop.End]]<td align="center">[[Template:Checkout.Form.End]]<p><br></p> [[Template:If Cart.NbItems GT 0]]</table> <br> <table bgcolor="black" width="99%" height="1" cellpadding="0" cellspacing="0" align="left"><font face="verdana, arial, helvetica" size="2"><b>Méthode de livraison choisie :</b></font> <br> <center></tr>[[Template:If Store.Shipping.Type EQ 0]]</td><font face="verdana, arial, helvetica" size="2">Les frais de livraison sont inclus dans le prix</font>[[Template:ElseIf Store.Shipping.Type EQ 1]]<font face="verdana, arial, helvetica" size="2">Les frais de livraison vous seront communiqués plus tard</font>[[Template:Else]][[Template:Set AtLeastOneShipping = 0]] [[Template:Set AtLeastOneShippingCPC = 0]] [[Template:Set AtLeastOneShippingUPS = 0]] [[Template:Checkout.Shipping.Loop.Begin]][[Template:EndIf]][[Template:If Checkout.Shipping.Carrier.ID EQ 1]][[Template:Checkout.Shipping.Loop.End]] [[Template:If AtLeastOneShippingCPC EQ 1]][[Template:Set AtLeastOneShippingCPC = 1]][[Template:ElseIf Checkout.Shipping.Carrier.ID EQ 2]][[Template:Set AtLeastOneShippingUPS = 1]][[Template:EndIf]]<table border="0" width="425" bgcolor="#082173" cellspacing="0" cellpadding="0"></center><tr>[[Template:EndIf]] [[Template:If AtLeastOneShippingUPS EQ 1]]<td width="100%" colspan=3></tr><p align="center"><b><font size="2" COLOR="#FFFFFF" FACE="Verdana">Postes Canada</font></b></p<</td><tr></table><td width="100%"></tr><table border="0" width="425" cellspacing="1" cellpadding="3"></td><tr></table><td bgcolor="#F2F4F8" align="center"></tr> [[Template:Set SwitchColor = 0]] [[Template:Set AtLeastOneShipping = 0]] [[Template:Checkout.Shipping.Loop.Begin]]<b><font face="Verdana" size="2"> Indiquez<br>votre choix </font></b></td> <td width="100%" bgcolor="#CFD5E4" align="center"><b><font face="verdana" size="2"> Dates de livraison</font></b></td> <td bgcolor="#F2F4F8" align="center"><b><font face="verdana" size="2">Frais<br>de livraison</font></b></td>[[Template:If Checkout.Shipping.Carrier.ID EQ 1]][[Template:Checkout.Shipping.Loop.End]] <tr>[[Template:Set ShippingDate = Checkout.Shipping.Date]] [[Template:If AtLeastOneShipping EQ 0 AND Checkout.Shipping.AM]][[Template:EndIf]]<tr>[[Template:EndIf]] <tr><td width="100%" colspan="3" bgcolor="#082173"></tr><p align="center"><b><font color="#FFFFFF" size="2" face="Verdana">Livraison le jour</font></b></p></td><td bgcolor="#[[Template:If SwitchColor EQ 0]]F2F4F8[[Template:Else]]CFD5E4[[Template:EndIf]]" align="center"></tr> [[Template:If SwitchColor EQ 0]]<input type="radio" name="shipping" VALUE="[[Template:Checkout.Shipping.ID]]" [[Template:If AtLeastOneShipping Eq 0]]checked[[Template:EndIf]]></td> <td bgcolor="#[[Template:If SwitchColor EQ 0]]F2F4F8[[Template:Else]]CFD5E4[[Template:EndIf]]" width="100%">[[Template:If System.IsDate(Input=Checkout.Shipping.DeliveryDate)]]</td> <td bgcolor="#[[Template:If SwitchColor EQ 0]]F2F4F8[[Template:Else]]CFD5E4[[Template:EndIf]]" align="center"><font face="verdana" size="2"> [[Template:Checkout.Shipping.Name]]<br> le [[Template:System.Capitalize(Input=System.GetWeekDayName(Date=Checkout.Shipping.DeliveryDate))]], [[Template:System.GetDay(Date=Checkout.Shipping.DeliveryDate)]] [[Template:System.Capitalize(input=System.GetMonthName(Date=Checkout.Shipping.DeliveryDate))]] [[Template:System.GetYear(Date=Checkout.Shipping.DeliveryDate)]] [[Template:If Checkout.Shipping.AM]], Livraison le jour[[Template:EndIf]]</font>[[Template:Else]]<font face="verdana" size="2"> [[Template:Checkout.Shipping.Name]]<br> [[Template:Checkout.Shipping.DeliveryDate]]</font>[[Template:EndIf]]<font face="verdana" size="2">[[Template:System.FormatCurrency(Input=Checkout.Shipping.Price)]]</font></td>[[Template:Set SwitchColor = 1]][[Template:Else]][[Template:Set SwitchColor = 0]][[Template:EndIf]] [[Template:Set AtLeastOneShipping = 1]]<td width="100%" colspan="3" bgcolor="#FFFFFF"></tr><p align="center"><b><font face="verdana" size="2">Basé sur une date d'expédition le [[Template:System.GetWeekDayName(Date=ShippingDate)]], [[Template:System.GetDay(Date=ShippingDate)]], [[Template:System.GetMonthName(Date=ShippingDate)]] [[Template:System.GetYear(Date=ShippingDate)]]</font></b></p></td><p> <table border="1" width="425" bgcolor="#FFFFCC" cellspacing="0" cellpadding="0">[[Template:EndIf]]<tr>[[Template:EndIf]] <table border="0"><td width="100%" colspan=3></tr><p align="center"><b><font size="2" COLOR="#FFFFFF" FACE="Verdana">UPS</font></b></p<</td><tr></table><td width="100%"></tr><table border="0" width="425" cellspacing="1" cellpadding="3"></td><tr></table><td bgcolor="#F2F4F8" align="center"></tr> [[Template:Set SwitchColor = 0]] [[Template:Set AtLeastOneShipping = 0]] [[Template:Checkout.Shipping.Loop.Begin]]<b><font face="Verdana" size="2"> Indiquez<br>votre choix </font></b></td> <td width="100%" bgcolor="#CFD5E4" align="center"><b><font face="verdana" size="2"> Dates de livraison</font></b></td> <td bgcolor="#F2F4F8" align="center"><b><font face="verdana" size="2">Frais<br>de livraison</font></b></td>[[Template:If Checkout.Shipping.Carrier.ID EQ 2]][[Template:Checkout.Shipping.Loop.End]]<tr>[[Template:EndIf]]<td bgcolor="#[[Template:If SwitchColor EQ 0]]FFF2AC[[Template:Else]]FFFFCC[[Template:EndIf]]" align="center"></tr> [[Template:If SwitchColor EQ 0]]<input type="radio" name="shipping" VALUE="[[Template:Checkout.Shipping.ID]]" [[Template:If AtLeastOneShipping Eq 0]]checked[[Template:EndIf]]></td> <td bgcolor="#[[Template:If SwitchColor EQ 0]]FFF2AC[[Template:Else]]FFFFCC[[Template:EndIf]]" width="100%">[[Template:If System.IsDate(Input=Checkout.Shipping.DeliveryDate)]]</td> <td bgcolor="#[[Template:If SwitchColor EQ 0]]FFF2AC[[Template:Else]]FFFFCC[[Template:EndIf]]" align="center"><font face="verdana" size="2"> [[Template:Checkout.Shipping.Name]]<br> le [[Template:System.Capitalize(Input=System.GetWeekDayName(Date=Checkout.Shipping.DeliveryDate))]], [[Template:System.GetDay(Date=Checkout.Shipping.DeliveryDate)]] [[Template:System.Capitalize(input=System.GetMonthName(Date=Checkout.Shipping.DeliveryDate))]] [[Template:System.GetYear(Date=Checkout.Shipping.DeliveryDate)]] [[Template:If Checkout.Shipping.AM]], Livraison le jour[[Template:EndIf]]</font>[[Template:Else]]<font face="verdana" size="2"> [[Template:Checkout.Shipping.Name]]<br> [[Template:Checkout.Shipping.DeliveryDate]]</font>[[Template:EndIf]]<font face="verdana" size="2">[[Template:System.FormatCurrency(Input=Checkout.Shipping.Price)]]</font></td>[[Template:Set SwitchColor = 1]][[Template:Else]][[Template:Set SwitchColor = 0]][[Template:EndIf]] [[Template:Set AtLeastOneShipping = 1]]<tr></table><td></tr>[[Template:Checkout.Shipping.Loop.Begin]]</td>[[Template:If Checkout.Shipping.Carrier.ID EQ 0]][[Template:Checkout.Shipping.Loop.End]] [[Template:If AtLeastOneShipping EQ 0]]<input TYPE="RADIO" NAME="Shipping" VALUE="[[Template:Checkout.Shipping.ID]]"> [[Template:Checkout.Shipping.Name]] (+ [[Template:System.FormatCurrency(Input=Checkout.Shipping.Price)]])<br> [[Template:Set AtLeastOneShipping = 1]][[Template:EndIf]]<font face="verdana" size="2"><b>Le marchand n'a défini aucune méthode de livraison.</b></font>[[Template:EndIf]]<tr></table> <br> <center><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><input style="color:#000000" type="submit" value="Continuer..." name="B1"></center>[[Template:Checkout.Form.Begin NextSection=OrderConfirmation]]</center> <p><br></p> </body> </html> [[Template:Checkout.Section.50]]<input TYPE="HIDDEN" NAME="Payment" VALUE="[[Template:Checkout.Payment.ID]]"> <input TYPE="HIDDEN" NAME="Shipping" VALUE="[[Template:Checkout.Shipping.ID]]"> <input TYPE="HIDDEN" NAME="BillFirstName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.FirstName)]]"> <input TYPE="HIDDEN" NAME="BillLastName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.LastName)]]"> <input TYPE="HIDDEN" NAME="BillCompany" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.Company)]]"> <input TYPE="HIDDEN" NAME="BillAddress" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.Address)]]"> <input TYPE="HIDDEN" NAME="BillCity" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.City)]]"> <input TYPE="HIDDEN" NAME="BillState" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.State.Name)]]"> <input TYPE="HIDDEN" NAME="BillCountry" VALUE="[[Template:Checkout.Billing.Country.ID]]"> <input TYPE="HIDDEN" NAME="BillZIP" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.ZIP)]]"> <input TYPE="HIDDEN" NAME="BillPhone1" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.Phone1)]]"> <input TYPE="HIDDEN" NAME="BillPhone2" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.Phone2)]]"> <input TYPE="HIDDEN" NAME="BillFax" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.Fax)]]"> <input TYPE="HIDDEN" NAME="BillEmail" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Billing.Email)]]"> <input TYPE="HIDDEN" NAME="ShipFirstName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.FirstName)]]"> <input TYPE="HIDDEN" NAME="ShipLastName" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.LastName)]]"> <input TYPE="HIDDEN" NAME="ShipCompany" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Company)]]"> <input TYPE="HIDDEN" NAME="ShipAddress" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Address)]]"> <input TYPE="HIDDEN" NAME="ShipCity" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.City)]]"> <input TYPE="HIDDEN" NAME="ShipState" VALUE="[[Template:Checkout.Shipping.State.ID]]"> <input TYPE="HIDDEN" NAME="ShipCountry" VALUE="[[Template:Checkout.Shipping.Country.ID]]"> <input TYPE="HIDDEN" NAME="ShipZIP" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.ZIP)]]"> <input TYPE="HIDDEN" NAME="ShipPhone1" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Phone1)]]"> <input TYPE="HIDDEN" NAME="ShipPhone2" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Phone2)]]"> <input TYPE="HIDDEN" NAME="ShipFax" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Fax)]]"> <input TYPE="HIDDEN" NAME="ShipEmail" VALUE="[[Template:System.HTMLEncode(Input=Checkout.Shipping.Email)]]"> <input TYPE="HIDDEN" NAME="ProfileReuseInfo" VALUE="[[Template:System.Form.Input.Value Name=ProfileReuseInfo]]"> <input TYPE="HIDDEN" NAME="ProfilePassword" VALUE="[[Template:System.Form.Input.Value Name=ProfilePassword]]"> [[Template:If System.Form.Input.Value(Name=Express) EQ 1 Or Checkout.Profile.Exists]][[Template:Checkout.Form.End]]<input TYPE="HIDDEN" NAME="HasProfile" VALUE="True">[[Template:EndIf]] [[Template:System.Form.Input.Loop.Begin Name=QuestionID]]<input TYPE="HIDDEN" NAME="QuestionID" VALUE="[[Template:System.Form.Input.Value Name="QuestionID"]]"> <input TYPE="HIDDEN" NAME="AnswerRequired[[Template:System.Form.Input.Value Name="QuestionID"]]" VALUE="[[Template:System.Form.Input.Value Name=System.Concatenate(String1="AnswerRequired",String2=System.ToString(Input=System.Form.Input.Index))]]"> <input TYPE="HIDDEN" NAME="Answer[[Template:System.Form.Input.Value Name="QuestionID"]]" VALUE="[[Template:System.Form.Input.Value Name=System.Concatenate(String1="Answer",String2=System.ToString(Input=System.Form.Input.Index))]]">[[Template:System.Form.Input.Loop.End]] [[Template:System.Form.Input.Loop.Begin Name=QuestionName]]<input TYPE="HIDDEN" NAME="QuestionName" VALUE="[[Template:System.HTMLEncode(Input=System.Form.Input.Value(Name=QuestionName))]]">[[Template:System.Form.Input.Loop.End]] [[Template:System.Form.Input.Loop.Begin Name=QuestionShortName]]<input TYPE="HIDDEN" NAME="QuestionShortName" VALUE="[[Template:System.HTMLEncode(Input=System.Form.Input.Value(Name=QuestionShortName))]]">[[Template:System.Form.Input.Loop.End]] <p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"><tr></table> [[Template:If Checkout.Error.NbElements GT 0]] Votre commande comporte les erreurs suivantes:<BR> <FONT COLOR="red"> [[Template:Checkout.Error.Loop.Begin]] <LI>[[Template:Checkout.Error.Message]] [[Template:Checkout.Error.Loop.End]] </FONT> [[Template:EndIf]] <p><br></p> <table border="0" width="610" cellspacing="0" cellpadding="0" align="center"><td align="left" width="230"></tr> <tr><b><font face="verdana, arial, helvetica" size="3">Panier de commande : </font></b></td> <td align="left"><table width="200"></td> <td align="right" width="200"><tr></table><td></tr><font face="verdana, arial, helvetica" size="3"><img SRC="[[Template:Store.LogoURL]]"></font></td><font face="verdana, arial, helvetica" size="2"><b>étape 4/5</b></font></td><td colspan="3"></tr><table bgcolor="black" width="100%" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td colspan="3"></tr><img src="/images/pixel_transparent.gif" width="610" height="1"></td><tr></table><td align="left"></tr> <tr><font face="verdana, arial, helvetica" size="3"><b>Total de la facture</b></font> <p><br></p> <center></td><table border="0" width="350" align="center" cellpadding="3"></center><tr></table> <br><td colspan="3"></tr> [[Template:Script]]<font face="verdana, arial, helvetica" size="2"><b>Paiement par [[Template:Checkout.Payment.Name]]</b></font></td>Set GrandTotal = 0 Item.Loop.Begin[[Template:EndScript]] <tr>Set GrandTotal = GrandTotal + (Item.TotalPrice * Item.Cart.Quantity) Cart.AddToTotalItem.Loop.End<td width="75"><font face="verdana, arial, helvetica" size="2">Achats</font></td> <td align="right" colspan="2" width="225"><font face="verdana, arial, helvetica" size="2">[[Template:System.FormatCurrency(Input=GrandTotal)]]</font></td></tr> [[Template:Checkout.AddOn.Loop.Begin]]<tr>[[Template:Checkout.AddOn.Loop.End]] <tr><td width="75"><font face="verdana, arial, helvetica" size="2">[[Template:Checkout.AddOn.Name]]</font></td> <td align="right" colspan="2" width="225"><font face="verdana, arial, helvetica" size="2">[[Template:System.FormatCurrency(Input=Checkout.AddOn.Cost)]]</font></td></tr> [[Template:Set GrandTotal = GrandTotal + Checkout.AddOn.Cost]]<td width="150"></tr> [[Template:If Checkout.Payment.Price GT 0]]<font face="verdana, arial, helvetica" size="2">Frais d'envoi</td> <td align="right" colspan="2" width="225">[[Template:If Store.Shipping.Type EQ 2]]</font>([[Template:Checkout.Shipping.Name)[[Template:EndIf]]<font face="verdana, arial, helvetica" size="2"></td>[[Template:If Store.Shipping.Type EQ 0]]</font>inclus[[Template:ElseIf Store.Shipping.Type EQ 1]]plus tard[[Template:Else]][[Template:System.FormatCurrency(Input=Checkout.Shipping.Price)]] [[Template:Set GrandTotal = GrandTotal + Checkout.Shipping.Price]][[Template:EndIf]]<tr>[[Template:EndIf]] <tr><td width="75"><font face="verdana, arial, helvetica" size="2">Frais de paiement ([[Template:Checkout.Payment.Name]])</font></td> <td align="right" colspan="2" width="225"><font face="verdana, arial, helvetica" size="2">[[Template:System.FormatCurrency(Input=Checkout.Payment.Price)]]</font></td></tr> [[Template:Set GrandTotal = GrandTotal + Checkout.Payment.Price]]<td colspan="3"></tr> <tr><table bgcolor="black" width="350" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><td width="75"><font face="verdana, arial, helvetica" size="2">Sous-total</font></td> <td align="right" colspan="2" width="225"><font face="verdana, arial, helvetica" size="2">[[Template:System.FormatCurrency(Input=GrandTotal)]]</font></td></tr> <tr><td colspan="3"></tr> [[Template:Checkout.Total.Tax.Loop.Begin]]<table bgcolor="black" width="350" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><tr>[[Template:Checkout.Total.Tax.Loop.End]] [[Template:If Cart.Promotion.Coupon.Rebate GT 0]]<td></tr><font face="verdana, arial, helvetica" size="2">[[Template:Checkout.Total.Tax.Name]]</font></td> <td align="right" width="225"><font face="verdana, arial, helvetica" size="2">[[Template:System.FormatCurrency(Input=Checkout.Total.Tax.Value)]]</font></td> [[Template:Set TaxValue = System.Truncate(Input=Checkout.Total.Tax.Value)]] [[Template:Set GrandTotal = GrandTotal + TaxValue]]<tr>[[Template:EndIf]] <tr><td colspan="3"></tr> <tr><table bgcolor="black" width="350" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><td width="75"></tr> [[Template:Set GrandTotal = GrandTotal - Cart.Promotion.Coupon.Rebate]]<strong><font face="verdana, arial, helvetica" size="2">Coupon-rabais</font></strong></td> <td align="right" colspan="2" width="225"><strong><font face="verdana, arial, helvetica" size="2">[[Template:System.FormatCurrency(Input=Cart.Promotion.Coupon.Rebate)]]</font></strong></td><td colspan="3"></tr> <tr><table bgcolor="black" width="350" height="1" cellpadding="0" cellspacing="0" align="left"></td><tr></table><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><td width="75"></tr><strong><font face="verdana, arial, helvetica" size="2">Total</font></strong></td> <td align="right" colspan="2" width="225"><strong><font face="verdana, arial, helvetica" size="2">[[Template:System.FormatCurrency(Input=GrandTotal)]]</font></strong></td><td align="center"></tr> <tr><table bgcolor="black" width="100%" height="1" cellpadding="0" cellspacing="0" align="center"></td><tr></table><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><td align="center"></tr><br> <table border="0" width="450" align="center" cellpadding="6"></td><tr></table> <p><br></p> <table bgcolor="black" width="100%" height="1" cellpadding="0" cellspacing="0" align="center"><td align="center" colspan="2"></tr> [[Template:If Checkout.Payment.Terms NE ""]][[Template:If Checkout.PaymentType EQ 1 AND Checkout.EPayment.Type NE 1]]</td><table border="0" width="400" align="center" cellpadding="6">[[Template:EndIf]]<tr></table><td colspan="2"></tr> <tr><font face="verdana, arial, helvetica" size="2"><b>Carte de crédit</b><br></font> <font size="1">Veuillez remplir tous les champs S.V.P.</font></td><td><font face="verdana, arial, helvetica" size="2">Numéro de la carte*:</font></td> <td align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="CardNo" size="17" VALUE=""></font></td></tr> <tr><td><font face="verdana, arial, helvetica" size="2">Nom sur la carte* :</font></td> <td align="left"><font face="verdana, arial, helvetica" size="3"><input CLASS="input" TYPE="TEXT" name="CardName" size="17" VALUE=""></font></td></tr> <tr><td><font face="verdana, arial, helvetica" size="2">Date d'expiration* :</font></td> <td align="left"><font face="verdana, arial, helvetica" size="2"></tr> <tr><select NAME="CardExpMonth"></td><option VALUE="01">01 (Jan)</option> <option VALUE="02">02 (Fév)</option> <option VALUE="03">03 (Mar)</option> <option VALUE="04">04 (Avr)</option> <option VALUE="05">05 (Mai)</option> <option VALUE="06">06 (Jun)</option> <option VALUE="07">07 (Jul)</option> <option VALUE="08">08 (Aoû)</option> <option VALUE="09">09 (Sep)</option> <option VALUE="10">10 (Oct)</option> <option VALUE="11">11 (Nov)</option> <option VALUE="12">12 (Déc)</option></select> <select NAME="CardExpYear">[[Template:Set CurrentYear = System.GetYear]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option> [[Template:Set CurrentYear = CurrentYear + 1]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option> [[Template:Set CurrentYear = CurrentYear + 1]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option> [[Template:Set CurrentYear = CurrentYear + 1]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option> [[Template:Set CurrentYear = CurrentYear + 1]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option> [[Template:Set CurrentYear = CurrentYear + 1]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option> [[Template:Set CurrentYear = CurrentYear + 1]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option> [[Template:Set CurrentYear = CurrentYear + 1]] <option VALUE="[[Template:CurrentYear]]">[[Template:CurrentYear]]</option></select><td><font face="verdana, arial, helvetica" size="2"><A TARGET="_new" HREF="/MainTemplate/Checkout/Popup_CVV2.html">Code de vérification</A> :</font></td> <td align="left"><font face="verdana, arial, helvetica" size="3"><input class="input" type="text" name="CardCVV" size="4" MAXLENGTH="4" VALUE=""></font></td></tr><tr>[[Template:EndIf]] <tr><td></tr><font face="verdana, arial, helvetica" size="2"><strong>Modalités de paiement : </strong> [[Template:Checkout.Payment.Terms]] </font> <br></td><td colspan="2" align="center"></tr><p><br></p> <font face="verdana, arial, helvetica" size="1"><b>Commentaires ou instructions spéciales:</b></font><br> <textarea NAME="comments" COLS="40" ROWS="5" WRAP></textarea></td><tr></table> <center><p><td></tr><img src="/images/pixel_transparent.gif" width="1" height="1"></td><font face="verdana, arial, helvetica" size="2"><input style="color=#000000" type="submit" value="Procéder"></font></center>[[Template:Script]][[Template:Checkout.Section.53]]If Checkout.Profile.Exists Then[[Template:EndScript]]Set ShipFirstName = Checkout.Profile.Shipping.FirstName Set ShipLastName = Checkout.Profile.Shipping.LastName Set ShipCompany = Checkout.Profile.Shipping.Company Set ShipAddress = Checkout.Profile.Shipping.Address Set ShipCity = Checkout.Profile.Shipping.City Set ShipZIP = Checkout.Profile.Shipping.ZIP Set ShipPhone1 = Checkout.Profile.Shipping.Phone1 Set ShipPhone2 = Checkout.Profile.Shipping.Phone2 Set ShipFax = Checkout.Profile.Shipping.Fax Set ShipEmail = Checkout.Profile.Shipping.Email Set ShipStateID = Checkout.Profile.Shipping.State.ID Set ShipState2 = Checkout.Profile.Shipping.State.Name Set ShipCountryID = Checkout.Profile.Shipping.Country.ID Set ShipCountryName = Checkout.Profile.Shipping.Country.Name Checkout.Redirect Section=2ElseSystem.Write(Output="<center><font color=\"red\">Profil non trouvé. Courriel ou mot de passe invalide.</font></center>") Checkout.Redirect Section=BeginEndIf[[Template:Script]][[Template:Checkout.Section.54]]Set Errors = 0 If Checkout.Shipping.FirstName == "" Then[[Template:EndScript]]Set Errors = 1EndIf If Checkout.Shipping.LastName == "" ThenSet Errors = 1EndIf If Checkout.Shipping.Address == "" ThenSet Errors = 1EndIf If Checkout.Shipping.City == "" ThenSet Errors = 1EndIf If Checkout.Shipping.ZIP == "" ThenSet Errors = 1EndIf If Checkout.Shipping.State.Name == "" ThenSet Errors = 1EndIf If Checkout.Shipping.Phone1 == "" ThenSet Errors = 1EndIf If Not System.IsEmail(Email=Checkout.Shipping.Email) ThenSet Errors = 1EndIf If System.Form.Input.Value(Name=Express) == 1 And System.Form.Input.Value(Name=ProfilePassword) == "" ThenSet Errors = 1EndIf Set MyQuestionID = 1 Checkout.Question.Loop.BeginIf Checkout.Question.Answer.Required ThenCheckout.Question.Loop.End If Errors == 0 ThenSet QName = System.Form.Input.Value(Name=System.Concatenate(String1="Answer",String2=System.ToString(Input=MyQuestionID))) Set UserAnswer = 0 If Checkout.Question.Answer.Type == 0EndIf Set MyQuestionID = MyQuestionID + 1If QName != "" ThenElseSet UserAnswer = 1EndIfCheckout.Question.Answer.Loop.BeginEndIf If UserAnswer == 0 ThenSet QAnswer = Checkout.Question.Answer.Choice If QAnswer == "" ThenCheckout.Question.Answer.Loop.EndIf QName != "" ThenElseSet UserAnswer = 1EndIfIf QName == QAnswer ThenEndIfSet UserAnswer = 1EndIfSet Errors = 1 Set QErrorMsg = System.Concatenate(String1=QErrorMsg,String2=System.Concatenate(String1="<br><FONT SIZE=2 COLOR=red>Vous n'avez pas répondu à la Question ",String2=System.ToString(Input=MyQuestionID))) Set QErrorMsg = System.Concatenate(String1=QErrorMsg,String2=System.Concatenate(String1=" concernant '",String2=System.Concatenate(String1=Checkout.Question.ShortName,String2="'.</FONT>")))EndIfIf System.Form.Input.Value(Name=B1) != "" ThenElseSet BillFirstName = Checkout.Shipping.FirstName Set BillLastName = Checkout.Shipping.LastName Set BillCompany = Checkout.Shipping.Company Set BillAddress = Checkout.Shipping.Address Set BillCity = Checkout.Shipping.City Set BillZIP = Checkout.Shipping.ZIP Set BillPhone1 = Checkout.Shipping.Phone1 Set BillPhone2 = Checkout.Shipping.Phone2 Set BillFax = Checkout.Shipping.Fax Set BillEmail = Checkout.Shipping.Email Set BillStateID = Checkout.Shipping.State.ID Set BillState2 = Checkout.Shipping.State.Name Set BillCountryID = Checkout.Shipping.Country.ID Set BillCountryName = Checkout.Shipping.Country.NameEndIf Checkout.Redirect Section=3Set ShipFirstName = Checkout.Shipping.FirstName Set ShipLastName = Checkout.Shipping.LastName Set ShipCompany = Checkout.Shipping.Company Set ShipAddress = Checkout.Shipping.Address Set ShipCity = Checkout.Shipping.City Set ShipZIP = Checkout.Shipping.ZIP Set ShipPhone1 = Checkout.Shipping.Phone1 Set ShipPhone2 = Checkout.Shipping.Phone2 Set ShipFax = Checkout.Shipping.Fax Set ShipEmail = Checkout.Shipping.Email Set ShipStateID = Checkout.Shipping.State.ID Set ShipState2 = Checkout.Shipping.State.Name Set ShipCountryID = Checkout.Shipping.Country.ID Set ShipCountryName = Checkout.Shipping.Country.Name Checkout.Redirect Section=2EndIf[[Template:Script]][[Template:Checkout.Section.End]]Set Errors = 0 If Checkout.Billing.FirstName == "" Then[[Template:EndScript]]Set Errors = 1EndIf If Checkout.Billing.LastName == "" ThenSet Errors = 1EndIf If Checkout.Billing.Address == "" ThenSet Errors = 1EndIf If Checkout.Billing.City == "" ThenSet Errors = 1EndIf If Checkout.Billing.ZIP == "" ThenSet Errors = 1EndIf If Checkout.Billing.Phone1 == "" ThenSet Errors = 1EndIf If Not System.IsEmail(Email=Checkout.Billing.Email) ThenSet Errors = 1EndIf If Cart.NbItems GT 0 And Store.Shipping.Type == 2 And Checkout.Shipping.ID == 0 ThenSet Errors = 1EndIf If Errors == 0 ThenCheckout.Redirect Section=4ElseSet BillFirstName = Checkout.Billing.FirstName Set BillLastName = Checkout.Billing.LastName Set BillCompany = Checkout.Billing.Company Set BillAddress = Checkout.Billing.Address Set BillCity = Checkout.Billing.City Set BillZIP = Checkout.Billing.ZIP Set BillPhone1 = Checkout.Billing.Phone1 Set BillPhone2 = Checkout.Billing.Phone2 Set BillFax = Checkout.Billing.Fax Set BillEmail = Checkout.Billing.Email Set BillStateID = Checkout.Billing.State.ID Set BillState2 = Checkout.Billing.State.Name Set BillCountryID = Checkout.Billing.Country.ID Set BillCountryName = Checkout.Billing.Country.Name Checkout.Redirect Section=3EndIf