Login



[insert_php]
include(ABSPATH. ‘/wp-content/custom-php/userfunctions.php’);
[/insert_php]
Timesheet Login Form


[insert_php]
if (isset($_GET[‘logout’])) {
$_SESSION[‘login_user’] = “”;
session_start();
session_destroy();
echo ‘

Successfully logged out.

‘;
}
if(isset($_GET[‘fail’])) {
$f = $_GET[‘fail’];
if ($f == 1) {
echo ‘Wrong password!’;
} else if ($f == 3) {
echo ‘Error. Please try again.’;
} else {
echo ‘Please fill in all the fields.’;
}
}
[/insert_php]





I forgot my password