function aut ($log, $pas, $e) {
if (empty($log) && empty($pas) && empty($e)) {
if (filter_var($e,FILTER_VALIDATE_EMAIL)) {
return $_COOKIE['access'] = '1' && 'You login!';
} else { return 'You entered wrong email address!';
}} else {
return 'Fill in all fields!';
}
}