<h1>Your Startup</h1> <p>Stay up to date with the latest product by joining our newsletter!</p> <form method="post"> <input type="text" id="userName" name="userName"> <label for="newMail">Email:</label> <input type="mail" id="newMail" name="newMail" <?php if ($_POST['newMail'] !== '') { echo "value='" . $_POST['newMail'] . "'"; } ?> > <input type="Submit" value="Join newsletter"> <?php echo message_erreur($errors, 'newMail'); ?> </form> <a href="?p=login">Admin</a>
<meta charset="utf-8"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/main.css"> <link rel="author" href="humans.txt"> </head> <body> <form method="POST"> <label for="mailAdress">E-mail</label> <input id="mailAdress" name="mailAdress" type="text" value="" /> <?php echo message_erreur($errors, 'mailAdress'); ?> <label for="password">password</label> <input id="password" name="password" type="text" value="" /> <?php echo message_erreur($errors, 'password'); ?> <!-- Honeypot --> <label for="messagespam" class="display">Lolilol</label> <input id="messagespam" class="display" name="messagespam" type="text" value=""/> <!-- Fin du honeypot --> <input name="submit" class="submit_button" type=submit value="se connecter"/> </form> </body> </html>
<form method="POST"> <label for="newsletter">Envoyer un mail à la mailing list</label> <textarea name="newsletter" id="newsletter" cols="30" rows="10"></textarea> <?php echo message_erreur($erreur, 'newsletter'); ?> <input type="submit" name="submit-newsletter" class="submit" value="Envoyer"> </form> <a href="?switch=dashboard">Retour au dashboard</a>
<form method="POST"> <label for="email"></label> <input type="text" name="email" id="email" placeholder="Email" /> <?php if (isset($erreurs['email'])) { echo message_erreur($erreurs, 'email'); } ?> <div class="hidden-mail"> <label for="user_email">adresse Mail</label> <input type="text" name="user_email" id="user_email" placeholder="mail" /> </div> <input name="btnSignup" type="submit" value="Sign up" /> </form>
<h2>Hello, please sign in:</h2> <form method="post"> <input type="text" id="userName" name="userName"> <label for="mail">Email:</label> <input type="mail" id="mail" name="mail" <?php if ($_POST['mail'] !== '') { echo "value='" . $_POST['mail'] . "'"; } ?> > <?php echo message_erreur($errors, 'mail'); ?> <label for="pwd">Password:</label> <input type="password" id="pwd" name="pwd" <?php if ($_POST['pwd'] !== '') { echo "value='" . $_POST['pwd'] . "'"; } ?> > <?php echo message_erreur($errors, 'pwd'); ?> <input type="Submit" value="Log in"> <?php echo message_erreur($errors, 'login'); ?> </form>
<?php if (isset($erreurs['idold'])) { echo message_erreur($erreurs, 'idold'); } ?> <label for="loginupd"></label> <input type="text" name="loginupd" id="loginupd" placeholder="New Login" /> <label for="passwordupd"></label> <input type="text" name="passwordupd" id="passwordupd" placeholder="New Password" /> <label for="emailupd"></label> <input type="text" name="emailupd" id="emailupd" placeholder="New Email" /> <input name="btnUpdate" type="submit" value="Update a User" /> </form> <!-- DELETE --> <h2>Delete a User</h2> <form method="POST"> <label for="id"></label> <input type="text" name="id" id="id" placeholder="id" /> <?php if (isset($erreurs['id'])) { echo message_erreur($erreurs, 'id'); } ?> <input name="btnDelete" type="submit" value="Delete a User" /> </form>
<a href="?switch=login">Login</a> <form method="POST"> <label for="inscription">S'inscrire à la newsletter</label> <input type="mail" name="inscription" id="inscription" placeholder="*****@*****.**"> <label for="honeypot" class="display">Honeypot</label> <input type='text' class="display" name="honeypot" id="honeypot" placeholder="Honeypot"> <input type="submit" name="submit-inscription" class="submit" value="Envoyer ›"> <?php echo message_erreur($erreur, 'inscription'); ?> <?php echo message_erreur($erreur, 'already'); ?> <?php echo message_erreur($erreur, 'done'); ?> </form>
</head> <body> <div class="container"> <h1>Inscrivez-vous à notre newsletter</h1> <a class="login" href="admin.php">Administrateur</a> <form method="post"> <label class="user_email" for="prenom">User email</label> <input class="user_email" type="text" name="user_email" id="user_email" value="<?php echo $user_email != '' ? $user_email : ''; ?> "> <label for="email">Email<abbr title="Champ obligatoire">*</abbr></label> <input type="email" name="email" id="email" value="<?php echo $email != '' ? $email : ''; ?> " placeholder="Votre email"> <?php echo message_erreur($erreur, 'n_email'); ?> <input type="submit" name="submit_register" value="S'inscrire" id="btn"> </form> </div> </body> </html>
<h1>Pour accéder au dashboard entrez vos identifiants</h1> <form method="POST"> <label for="mail">Ton mail</label> <input type='mail' name="mail" id="mail" placeholder="Ton mail"> <?php echo message_erreur($erreur, 'login_mail'); ?> <label for="mdp">Ton mot de passe</label> <input type='password' name="mdp" id="mdp" placeholder="Ton mot de passe..."> <?php echo message_erreur($erreur, 'login_mdp'); ?> <label for="honeypot" class="display">Honeypot</label> <input type='text' class="display" name="honeypot" id="honeypot" placeholder="honeypot"> <input type="submit" name="submit_login" value="Connexion ›" class="submit"> <?php echo message_erreur($erreur, 'wrong_mail_mdp'); ?> </form> <a href="?switch='">Retour à la page d'accueil</a>
<form method="POST"> <label for="validation">Entrez le code de validation</label> <input type="text" name="validation" id="validation"> <label for="honeypot" class="display">Honeypot</label> <input type='text' class="display" name="honeypot" id="honeypot" placeholder="Honeypot"> <input type="submit" name="submit_validation" class="submit" value="Valider"> </form> <?php echo message_erreur($erreur, 'valide'); echo message_erreur($erreur, 'validation');
<h1>Inscription newsletter</h1> <p> Page permettant de s'enregistrer au mailing list. </p> <div class="formulaire"> <form class="pure-form pure-form-stacked" action="index.php" method="post"> <fieldset> <div class="pure-control-group"> <label for="name">Votre nom</label> <input type="text" name="name" placeholder="entrez votre nom"> <?php echo message_erreur($error, 'no-name'); ?> </div> <div class="pure-control-group"> <label for="email">Votre email</label> <input type="text" name="email" placeholder="entrez votre email"> <?php echo message_erreur($error, 'no-email'); ?> </div> <div class="pure-controls"> <button type="submit" class="pure-button pure-button-primary">s'enregistrer</button> </div> </fieldset> </form> </div> </div> </body> </html>
<form method="POST"> <label for="desincription">S'inscrire à la newsletter</label> <input type="mail" name="desinscription" id="desinscription"> <?php echo message_erreur($erreur, 'desinscription'); ?> <label for="honeypot" class="display">Honeypot</label> <input type='text' class="display" name="honeypot" id="honeypot" placeholder="Honeypot"> <input type="submit" name="submit-desinscription" class="submit" value="Valider"> </form>
<?php echo message_success($success, 'successAdd'); ?> <h3>Remove a user manualy:</h3> <form method="post"> <label for="emailRemove">email</label> <input type="email" name="emailRemove" <?php if ($_POST['emailRemove'] !== '') { echo "value='" . $_POST['emailRemove'] . "'"; } ?> > <?php echo message_erreur($errors, 'emailRemove'); ?> <input type="submit" name="removeUser" value="Remove user"> </form> <?php echo message_success($success, 'successRemove'); ?> <h3>Mailing list:</h3> <ul><?php echo $mailingList; ?> </ul> <a href="javascript:window.location.reload();">Refresh</a>
<meta name="description" content="" /> </head><body> <?php include 'header.inc.php'; ?> <main class="main"> <a href="login.php" class="btn btn_top-right">Se connecter à la db</a> <h1>1. Inscription à la mailinglist</h1> <form method="POST" action=""> <label class="user_email" for="user_email">Email Utilisateur <abbr title="requis">*</abbr></label> <input class="user_email" type="email" id="user_email" name="user_email" placeholder="Votre adresse mail" /> <label for="mail">Mail</label> <input id="mail" name="mail" type="mail" placeholder="*****@*****.**"> <?php if (isset($errors['mail'])) { echo message_erreur($errors, 'mail'); } ?> <input type="submit" name="submit" value="Me tenir informé !"> </form> </main> <?php include 'footer.inc.php';
<?php include 'entete.php'; include 'array_to.php'; function message_erreur($s, $adrIP) { $newAdrIP = str_replace('.', '\\.', $adrIP); $mois = date("M"); $errMessFormat = "/\\[{$mois} \\d+ (..:..:..) 2016\\] \\[:error\\] \\[client {$newAdrIP}\\](.+)/"; if (!preg_match_all($errMessFormat, $s, $resultTable, PREG_SET_ORDER)) { return "<div>La chaine entree ne correspond pas au motif !!</div>"; } else { $result = array(); foreach ($variable as $key) { $result[$key[1]] = $key[2]; } return tableau_en_table($result, "{$mois} {$adrIP}, {$errMessFormat} erreurs"); } } $chaine = file_get_contents("/var/log/apache2/error.log"); echo entete("Expressions rationnelles dynamiques"); echo "<body>" . message_erreur($chaine, "127.0.0.1") . "</body></html>";
<meta charset="utf-8"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>MailingList</title> <link rel="stylesheet" href="css/main.css"> <link rel="author" href="humans.txt"> </head> <body> <a href="admin.php">Connexion à la base de donnée</a> <h1>Inscription à notre mailing List</h1> <form method="POST"> <label for="mailAdress">E-mail</label> <input id="mailAdress" name="mailAdress" type="text" value="" /> <?php echo message_erreur($errors, 'mailAdress'); ?> <!-- Honeypot --> <label for="messagespam" class="display">Lolilol</label> <input id="messagespam" class="display" name="messagespam" type="text" value=""/> <!-- Fin du honeypot --> <input name="submit" class="submit_button" type=submit value="S'inscrire"/> </form> </body> </html>