PHP Snippet 1:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body class="gray-bg">
<div class="col-md-4 col-lg-offset-4 text-center loginscreen animated fadeInDown">
<div>
<div class="ibox float-e-margins">
<div class="ibox-title ">
<div class="text-center">
</div>
</div>
<div class="ibox-content">
<h3>Bienvenue sur <?php echo Configure::read("VERSION");?></h3>
<!-- <form class="m-t" role="form" action="index.html"> -->
<?php echo $this->Form->create('User'); ?>
<div class="form-group">
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
<input type="text" class="form-control" id="UserUsername" placeholder="Nom d'utilisateur" required="required" maxlength="30" name="data[User][username]">
</div>
</div>
<div class="form-group">
<div class="input-group margin-bottom-sm">
<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
<input type="password" class="form-control" id="UserPassword" placeholder="Mot de passe" required="required" name="data[User][password]">
</div>
</div>
<button type="submit" id="btnlogin" class="btn btn-primary block full-width m-b ladda-button" data-style="zoom-in" style="background-color:#00ADEE;">Connexion</button>
<?php echo $this->Form->end();?>
</div>
</div>
</div>
</div>
</body>
</html>