<?

/*
FlexCMS (http://www.flexcms.com)
Flexible, Powerful, Affordable.

Contents of this file are protected by the copyright
notice found at http://www.flexcms.com/flex/pages/copyright.html,
and its usage is subject to the terms of the licensing agreement 
available at http://www.flexcms.com/flex/pages/license.html
*/



	// ========================================================================================
	// create login page
	// ========================================================================================
	
	$PageTitle = $MsgText[0][192];
	$BrowserTitle = $MsgText[0][192];
	$LocationBar = '<a href="'.$IndexURL.'">'.$MsgText[0][1].'</a> > '.$MsgText[0][192];
	
	if ($Settings['AllowGuestRegistrations'] == 'y') {
		if ($Arguments2 != '') {
			$ReturnLink = '/'.$Arguments2;
		}
		$Message = $MsgText[0][497].': <a href="'.$MainURL.'/register'.$ReturnLink.'.html">'.$MsgText[0][124].'</a>';
	}
	else {
		$Message = $MsgText[0][498];
	}
	
	$PageContents = $Message .'<br><br><br><form action="'.$MainURL. '/login-submit" method="post">'.$MsgText[0][99].':<br><input type="hidden" name="ReturnTo" value="'.$Arguments2.'"><input type="text" name="Username" size="20" maxlength="40" style="'.$FormStyle.'"><br><br>'.$MsgText[0][131].':<br><input type="password" name="Password" size="20" maxlength="40" style="'.$FormStyle.'"><br><br><br><input type="submit" value="'.$MsgText[0][192].'" style="'.$FormStyle.'"><br><br>	<input type="checkbox" name="StayLoggedIn" value="y"> '.$MsgText[0][499].'</form><br><br><a href="'.$MainURL.'/lost_password.html">'.$MsgText[0][500].'</a> - <a href="'.$MainURL.'/lost_username.html">'.$MsgText[0][707].'?</a><br><br>';


	// ========================================================================================




?>
