$u = strlen("" . @$_POST['username']) > 0 ? htmlentities($_POST['username'], ENT_QUOTES, 'UTF-8') : '';
if (strlen("" . @$_POST['username']) === 0) {
    echo '<input type="text" name="username" value="' . $u . '" class="form-control" placeholder="' . __('Username') . '" autofocus="autofocus"/>';
} else {
    echo '<input type="text" name="username" value="' . $u . '" class="form-control" placeholder="' . __('Username') . '"/>';
}
?>
</div><br></div><div class="row"><div class="input-group col-sm-6 col-md-4"><span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span> <?php 
if (strlen("" . @$_POST['username']) === 0) {
    echo '<input type="password" name="password" class="form-control" placeholder="' . __('Password') . '"/>';
} else {
    echo '<input type="password" name="password" class="form-control" placeholder="' . __('Password') . '" autofocus="autofocus"/>';
}
?>
</div></div></div><br><br><input type="submit" class="btn btn-primary" value="Pimp my Logs"><input type="hidden" name="csrf_token" value="<?php 
echo csrf_get();
?>
"><input type="hidden" name="attempt" value="<?php 
echo htmlentities($attempt, ENT_QUOTES, 'UTF-8');
?>
"></form><br><a href="<?php 
echo FORGOTTEN_YOUR_PASSWORD_URL;
?>
"><?php 
_e('Forgotten your password?');
?>
</a></div></center></div><div class="container"><footer class="text-muted"><small><?php 
echo FOOTER;
?>
</small></footer></div><script src="js/pml.min.js"></script><script src="js/login.min.js"></script><?php 
if ('UA-XXXXX-X' != GOOGLE_ANALYTICS && '' != GOOGLE_ANALYTICS) {
    die;
}
/*
|--------------------------------------------------------------------------
| Javascript lemma
|--------------------------------------------------------------------------
|
*/
$lemma = array('action' => __('Action'), 'addadmin' => __('Add admin'), 'adduser' => __('Add user'), 'all_access' => __('All accesses granted'), 'anonymous_ok' => __('Anonymous access has been successfully saved!'), 'authlogerror' => __('There is no log to display and your are connected... It seems that global parameter <code>AUTH_LOG_FILE_COUNT</code> is set to 0. Change this parameter to a higher value to display logs.'), 'changepwd' => __('Password changed'), 'createdby' => __('Created by'), 'creationdate' => __('Created at'), 'date' => __('Date'), 'deleteuser' => __('Delete user'), 'display_log' => __('1 log displayed,'), 'display_nlogs' => __('%s logs displayed,'), 'error' => __('An error occurs!'), 'form_invalid' => __('Form is invalid:'), 'ip' => __('IP'), 'lastlogin' => __('Last login'), 'loadmore' => __('Still %s to load'), 'logincount' => __('Logins'), 'new_log' => __('1 new log is available'), 'new_logs' => __('New logs are available'), 'new_nlogs' => __('%s new logs are available'), 'no_log' => __('No log has been found.'), 'notification_deny' => __('Notifications are denied for this site. Go to your browser preferences to enable notifications for this site.'), 'profile_ok' => __('Your profile has been successfully saved!'), 'reallydeleteuser' => __('Confirm'), 'reallysigninuser' => __('Confirm'), 'regex_invalid' => __('Search was done with regular engine'), 'regex_valid' => __('Search was done with RegEx engine'), 'resultcopied' => __('Result copied!'), 'roles' => __('Roles'), 'search_no_regex' => __('No log has been found with Reg Ex search %s'), 'search_no_regular' => __('No log has been found with regular search %s'), 'signin' => __('Sign in'), 'signinas' => __('Sign in as'), 'signinerr' => __('Sign in error'), 'signinuser' => __('Sign in as'), 'signout' => __('Sign out'), 'system' => __('System'), 'toggle_column' => __('Toggle column %s'), 'urlcopied' => __('URL copied!'), 'user' => __('User'), 'user_add_ok' => __('User has been successfully saved!'), 'user_api_lastlogin' => __('Last API call'), 'user_api_logincount' => __('API calls'), 'user_at' => __('Access token'), 'user_cb' => __('Created by'), 'user_cd' => __('Created at'), 'user_delete_ok' => __('User has been successfully deleted!'), 'user_hp' => __('Presalt key'), 'user_lastlogin' => __('Last login'), 'user_logincount' => __('Logins'), 'user_logs' => __('Log access'), 'user_roles' => __('Roles'), 'useragent' => __('User agent'), 'username' => __('User name'), 'users' => __('Users'), 'youhavebeendisconnected' => __('You need to sign in'));
/*
|--------------------------------------------------------------------------
| Session
|--------------------------------------------------------------------------
|
*/
$csrf = csrf_get();
/*
|--------------------------------------------------------------------------
| HTML
|--------------------------------------------------------------------------
|
*/
?>
<!DOCTYPE html><!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]--><!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]--><!--[if IE 8]><html class="no-js lt-ie9"><![endif]--><!--[if gt IE 8]><!--><html class="no-js"><!--<![endif]--><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="description" content=""><meta name="viewport" content="width=device-width"><meta name="robots" content="none"><title><?php 
echo TITLE;
?>
</title><?php 
include_once 'inc/favicon.inc.php';
?>
<link rel="stylesheet" href="css/pml.min.css"><?php 
// We inject the custom css file instead of loading it because of composer installations