[wpadm-login]

[su_heading style=”default” size=”13″ align=”center” margin=”20″ class=””]Heading text[/su_heading]

[simple-login-form]

[wpadm-login]

[pmpro_account]

[pmpro_signup level=”6″ intro=”false” short=”true” button=”Sign Up Now »”]

It’s Easy: Just Complete
the Form Below


[pmpro_signup level=”6″ intro=”false” short=”true” button=”Sign Up Now »”]

Member Login
Username :
Password :
   

[insert_php]

// ***************************************** //
// ********** DECLARE VARIABLES ********** //
// ***************************************** //

$username = ‘username’;
$password = ‘password’;

$random1 = ‘secret_key1’;
$random2 = ‘secret_key2’;

$hash = md5($random1.$pass.$random2);

$self = $_SERVER[‘REQUEST_URI’];

// ************************************ //
// ********** USER LOGOUT ********** //
// ************************************ //

if(isset($_GET[‘logout’]))
{
unset($_SESSION[‘login’]);
}

// *********************************************** //
// ********** USER IS LOGGED IN ********** //
// *********************************************** //

if (isset($_SESSION[‘login’]) && $_SESSION[‘login’] == $hash) {

?>

Hello , you have successfully logged in!

Logout?

Username or password is invalid

‘;

}
}

// *********************************************** //
// ********** SHOW THE LOG-IN FORM ********** //
// *********************************************** //

else {

display_login_form();

}

function display_login_form(){ ?>

username