Esempio n. 1
0
            if ($_POST[login] == 'Login') {
                $user->UserLogin('server');
            } else {
                $user->UserLogin('local');
            }
        } else {
            //header("Location: iframe.php");
            $page->auth->GotoWelcomePage();
        }
        ?>
		</div> 
		<p><a href="<?php 
        echo $_SERVER['PHP_SELF'];
        ?>
?index=Forget">Forgot your <span class="italic_text">username</span>
		 or <span class="italic_text">password</span>?</a></p> 
		<?php 
}
?>
		
	</div> 
</div> 

<?php 
$uname = $_REQUEST["username"];
if ($uname != '') {
    echo '<script type="text/javascript"> document.getElementById("user_name").value = "' . $uname . '";</script>';
}
$page->printBodyEnd();
$page->printHTMLEnd();