71 lines
3.9 KiB
PHP
Executable File
71 lines
3.9 KiB
PHP
Executable File
<?php
|
|
// ---------------------------------------------------
|
|
// si cle pas vide alors rappel du mdp (on vient du lien mail )
|
|
// ---------------------------------------------------
|
|
if (!empty($cle)) {
|
|
echo '<h1 class="connTitre" >';
|
|
dynamiqItemImage (0, 0, 'connTitre', 'span', '-action-', 'client', 6, 'icones', '-textClass-', '-varStyle-');
|
|
echo '</h1>';
|
|
}
|
|
else {
|
|
// ---------------------------------------------------
|
|
// sinon // msg ==> identifiez-vous
|
|
// ---------------------------------------------------
|
|
echo '<h1 class="connTitre" >';
|
|
dynamiqItemImage (0, 0, 'connTitre', 'span', '-action-', 'nav', 16, 'icones', '-textClass-', '-varStyle-');
|
|
echo '</h1>';
|
|
}
|
|
|
|
// echo '<br>';
|
|
|
|
echo '<div id="pageConnexion" class="flexTocolumn" >';
|
|
|
|
// ---------------------------------------------------
|
|
// Msg ==> login / e-mail
|
|
// ---------------------------------------------------
|
|
dynamiqItemMessage(0, 1, 'libConnCell', '-styleDiv-', '-balise-', 'libConn', '-action-', 'client', 8, '-msg1-');
|
|
|
|
if ( $affMContext === true ) echo '<div class="champsConnCell" style="cursor:context-menu" ' .$mouseOverMenuContextContainer. ' onContextMenu="return mConStyle(this, \'Connexion\', \'champsConnCell\', 7, \'client\', 2, 8, event);" >';
|
|
else echo '<div class="champsConnCell" >';
|
|
// si mail=ip ne pas afficher
|
|
$testMail='';
|
|
if (isset($idMail)) $testMail=mb_strpos($idMail, '@');
|
|
if ($testMail === false ) echo '<input type="email" class="champsConn" style="width:100%;" type="text" name="idMail" maxlength="80" value="" placeHolder="e-mail@" ';
|
|
else echo '<input type="email" class="champsConn" style="width:100%;" type="text" name="idMail" maxlength="80" value="' .$idMail. '" ';
|
|
if ( $affMContext === true ) echo 'style="cursor:context-menu;" ' .$mouseOverMenuContextContainer. ' onContextMenu="return mConStyle(this, \'Connexion\', \'champsConn\', 8, \'client\', 2, 8, event);" ';
|
|
echo '>';
|
|
echo '</div>';
|
|
|
|
// ---------------------------------------------------
|
|
// Msg ==> pwd
|
|
// ---------------------------------------------------
|
|
dynamiqItemMessage(0, 1, 'libConnCell', '-styleDiv-', '-balise-', 'libConn', '-action-', 'client', 9, '-msg1-');
|
|
|
|
$voirMdp= ' <span type="button" onClick="showHidePwd(\'pwd\');" id="eye" class="fad fa-eye mdpIco" style="border-radius:7px;cursor:pointer;"></span>';
|
|
dynamiqChamp(0, 1, 'champsConnCell', 'input', 'password', 'champsConn', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'pwd', 'mot de passe', $pwd, $voirMdp, '-');
|
|
|
|
if ( $affMContext === true ) echo '<span class="connLignes" style="cursor:context-menu" ' .$mouseOverMenuContextContainer. ' onContextMenu="return mConStyle(this, \'Connexion\', \'connLignes\', 4, \'client\', 2, 9, event);" ></span>';
|
|
else echo '<span class="connLignes"></span>';
|
|
echo '<div style="grid-column:1 / span 3; padding:0.9em; margin:auto; width:100%; text-align:center; " class="flexToColumn" >';
|
|
|
|
// ---------------------------------------------------
|
|
// Bouton valider avec action
|
|
// ---------------------------------------------------
|
|
dynamiqItemImage (0, 0, 'boutons', 'span', 'onClick="controlerConnect();"', 'bouton', 6, 'icones', '-textClass-', '');
|
|
echo ' ';
|
|
|
|
// ---------------------------------------------------
|
|
// Lien ouvrir un compte
|
|
// ---------------------------------------------------
|
|
$action='onClick="window.location=\'inscription\';"';
|
|
dynamiqItemImage (0, 0, 'boutons', 'span', $action, 'menu', 11, 'icones', '-textClass-', '');
|
|
echo ' ';
|
|
|
|
// ---------------------------------------------------
|
|
// Lien mot de passe oublié
|
|
// ---------------------------------------------------
|
|
$action='onClick="mdpOublie();"';
|
|
dynamiqItemImage (0, 0, 'boutons', 'span', $action, 'client', 66, 'icones', '-textClass-', '');
|
|
echo '</div>';
|
|
echo '</div>'; //pageConnexion
|
|
?>
|