a
This commit is contained in:
parent
52ba30635f
commit
162cc89338
|
|
@ -36,19 +36,30 @@
|
|||
</select>
|
||||
</div>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter Entity">
|
||||
<label for="codeSociete">Entity</label>
|
||||
<input class="input100" type="text" name="codeSociete" id="codeSociete" value="<?= $codeSociete ?>"
|
||||
placeholder="Entity" style="text-align:center;" required AUTOCOMPLETE="off"
|
||||
onChange="javascript:changer_entite_portail();" >
|
||||
</div>
|
||||
<?php if($userUnique=="1"): ?>
|
||||
<input class="sr-only" type="text" name="codeSociete" id="codeSociete" value="<?= $codeSocieteUnique ?>">
|
||||
|
||||
<div id="div_login_portail">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter username">
|
||||
<label for="login">login</label>
|
||||
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="login" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
<div id="div_login_portail">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter username">
|
||||
<label for="login">Login</label>
|
||||
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="Login" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter Entity">
|
||||
<label for="codeSociete">Entity</label>
|
||||
<input class="input100" type="text" name="codeSociete" id="codeSociete" value="<?= $codeSociete ?>"
|
||||
placeholder="Entity" style="text-align:center;" required AUTOCOMPLETE="off"
|
||||
onChange="javascript:changer_entite_portail();" >
|
||||
</div>
|
||||
|
||||
<div id="div_login_portail">
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter username">
|
||||
<label for="login">login</label>
|
||||
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="login" style="text-align:center;" required AUTOCOMPLETE="off">
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="wrap-input100 validate-input" data-validate="Enter password">
|
||||
<label for="mdp">Password</label>
|
||||
|
|
|
|||
|
|
@ -5,16 +5,13 @@
|
|||
isset($_COOKIE['codeUtilisateur'])
|
||||
&&
|
||||
isset($_COOKIE['codeSociete'])
|
||||
&&
|
||||
($userUnique!="1")
|
||||
)
|
||||
{
|
||||
$codeUtilisateur = $_COOKIE['codeUtilisateur'];
|
||||
$codeSociete = $_COOKIE['codeSociete'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$codeUtilisateur = "";
|
||||
$codeSociete = "";
|
||||
}
|
||||
|
||||
$societeExiste = true;
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user