Example #1
0
function display_form($error = 0, $suggestions = "", $email = "", $uname = "")
{
    global $kat, $in_login, $perm, $ltrstr, $auth, $glob_language_name;
    $nobody = ($auth->auth["uid"] == "nobody" or $auth->auth["uid"] == "" or $auth->auth["uid"] == "form");
    $pl = build_pathlist($kat, false);
    $plf = build_pathlist($kat, true);
    $username = $auth->auth['uname'];
    $restriction_list = build_restriction_list($kat);
    $in_login = false;
    include "template.inc";
    include "commonheader2.html";
    echo print_login_main(2, '/?forcelogin=1', $kat, "", false, $error, $suggestions, $email, $uname);
    include "commonfooter2.html";
}
Example #2
0
if (!defined("LAY_LOGIN_INC")) {
    include "layout/lay_login.inc";
}
include "template.inc";
global $in_settings;
if (isset($node)) {
    $kat = base64_decode($node);
} else {
    $kat = $PATH_INFO;
}
$kat = trim($kat);
if ($in_settings) {
    $kat = "/Experts" . $kat;
}
//for the commonheader-template
$pl = build_pathlist($kat, false);
$plf = build_pathlist($kat, true, true);
$restriction_list = build_restriction_list($kat);
global $glob_language_name;
$in_login = true;
$username = $this->auth["uname"];
$in_login = true;
include "commonheader2.html";
global $username, $ltrstr, $PHP_SELF;
$failed = isset($username);
print print_login_main(1, $PHP_SELF, "", $username, $failed);
include "commonfooter2.html";
?>