-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11c6792
commit 5891b00
Showing
10 changed files
with
837 additions
and
767 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,31 +17,31 @@ | |
<label for="name">Nom :</label> | ||
<input type="text" id="name" name="name" placeholder="Legrand"> | ||
<span class="error"> | ||
<?php if(isset($errors["required_name"])){echo $errors["required_name"];} ?> | ||
<?php if(isset($errorContact["required_name"])){echo $errorContact["required_name"];} ?> | ||
</span> | ||
|
||
<label for="email">Email :</label> | ||
<input type="email" id="email" name="mail" placeholder="[email protected]"> | ||
<span class="error"> | ||
<?php if(isset($errors["invalid_email"])){ echo $errors["invalid_email"];} ?> | ||
<?php if(isset($errorContact["invalid_email"])){ echo $errorContact["invalid_email"];} ?> | ||
</span> | ||
<span class="error"> | ||
<?php if(isset($errors["required_email"])){echo $errors["required_email"];} ?> | ||
<?php if(isset($errorContact["required_email"])){echo $errorContact["required_email"];} ?> | ||
</span> | ||
|
||
<label for="sujet">Sujet :</label> | ||
<input type="text" id="sujet" name="sujet" placeholder="L'objet de votre message"> | ||
<span class="error"> | ||
<?php if(isset($errors["required_sujet"])){echo $errors["required_sujet"]; }?> | ||
<?php if(isset($errorContact["required_sujet"])){echo $errorContact["required_sujet"]; }?> | ||
</span> | ||
|
||
<label for="message">votre message :</label> | ||
<textarea id="message" name="content"></textarea> | ||
<span class="error"> | ||
<?php if(isset($errors["required_content"])){echo $errors["required_content"]; }?> | ||
<?php if(isset($errorContact["required_content"])){echo $errorContact["required_content"]; }?> | ||
</span> | ||
<span class="error"> | ||
<?php if(isset($errors["too_long_message"])){echo $errors["too_long_message"];}?> | ||
<?php if(isset($errorContact["too_long_message"])){echo $errorContact["too_long_message"];}?> | ||
</span> | ||
|
||
<input id="submit" type="submit" value="Envoyer"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,38 +13,38 @@ | |
<label for="userName">Nom :</label> | ||
<input type="text" id="userName" name="userName" placeholder="Legrand"> | ||
<span class="error"> | ||
<?php if(isset($errorsz["required_userName"])){echo $errorsz["required_userName"];} ?> | ||
<?php if(isset($errorInscription["required_userName"])){echo $errorInscription["required_userName"];} ?> | ||
</span> | ||
|
||
<label for="userFirstname">Prenom :</label> | ||
<input type="text" id="userFirstname" name="userFirstname" placeholder="John"> | ||
<span class="error"> | ||
<?php if(isset($errorsz["required_userFirstname"])){echo $errorsz["required_userFirstname"];} ?> | ||
<?php if(isset($errorInscription["required_userFirstname"])){echo $errorInscription["required_userFirstname"];} ?> | ||
</span> | ||
|
||
<label for="userAdress">Votre adresse :</label> | ||
<input type="text" name="userAdress" id="userAdress" placeholder="3 rue des peupliers"> | ||
<div id="item"></div> | ||
<span class="error"> | ||
<?php if(isset($errorsz["required_userAdress"])){echo $errorsz["required_userAdress"];} ?> | ||
<?php if(isset($errorInscription["required_userAdress"])){echo $errorInscription["required_userAdress"];} ?> | ||
</span> | ||
|
||
<label for="userPhone">Téléphone:</label> | ||
<input type="text" id="userPhone" name="userPhone" placeholder="06 10 10 47 **"> | ||
<span class="error"> | ||
<?php if(isset($errorsz["required_userPhone"])){echo $errorsz["required_userPhone"];} ?> | ||
<?php if(isset($errorInscription["required_userPhone"])){echo $errorInscription["required_userPhone"];} ?> | ||
</span> | ||
|
||
<label for="userEmail">Email :</label> | ||
<input type="email" id="userEmail" name="userMail" placeholder="[email protected]"> | ||
<span class="error"> | ||
<?php if(isset($errorsz["required_userEmail"])){echo $errorsz["required_userEmail"];} ?> | ||
<?php if(isset($errorInscription["required_userEmail"])){echo $errorInscription["required_userEmail"];} ?> | ||
</span> | ||
|
||
<label for="userPWD">Mot De Passe</label> | ||
<input type="password" id="userPWD" name="userPWD" placeholder="John"><!-- type pwd --> | ||
<span class="error"> | ||
<?php if(isset($errorsz["required_userPWD"])){echo $errorsz["required_userPWD"];} ?> | ||
<?php if(isset($errorInscription["required_userPWD"])){echo $errorInscription["required_userPWD"];} ?> | ||
</span> | ||
|
||
<input id="submit" type="submit" value="Envoyer"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.