Location: PHPKode > projects > Backend code/CMS for blizzle.com > v1.x/blizlets/login.php
<?

$bHtml = "";

global $here;

if (retLoggedin()) {
	$bHtml = "Hi ".retUserNameFormatted(null,null)."!<br>You have ".retModpoints()." modpoints avaliable.<br>You can:<li><a href=\"wizard.php?function=item\">Post an Item</a><li><a href=\"wizard.php?function=quickie\">Quickie Post</a><li><a href=\"wizard.php?function=release\">Post a Release</a><li><a href=\"/modifyaccount.php\">Change Profile</a><li><a href=\"/password.php\">Change Password</a><br><table border=0 cellpadding=0 cellspacing=0 width=130><tr><td><form method=post action=$here><li><input style=\"font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif; font-size: 8pt; border: solid 0px; background-color: transparent; color: blue; text-decoration: underline; height: 16px;\" name=frmAction type=submit value=Logout></td></tr></form></tr></table>";
} else {
	$bHtml = "<table border=0 cellpaddding=0 width=130><tr><td><form method=post action=$here><font size=-2>User:</td><td align=right><input style=\"border: solid 1px black; width: 70px;\" type=text size=8 name=frmUsername></tr><tr><td><font size=-2>Pass:</td><td align=right><input style=\"border: solid 1px black; width: 70px;\" type=password size=8 name=frmUserpassword><font size=-2><br><input type=checkbox name=frmRemember> autologin</td></tr><tr><td colspan=2 align=right><input style=\"height: 20px; width: 70px; font-size: 10px;\" type=submit value=login><br><font size=-2>Wanna blizzle?<br><a href=\"createaccount.php\">Sign up free!</a></font></form></td></tr></table>";
}

if (retLoggedin()) {
createBlizlet('Welcome',$bHtml);
} else {
createBlizlet('Please Login',$bHtml);
}

?>
Return current item: Backend code/CMS for blizzle.com