<?

/*
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
*/



	// ========================================================================================
	
	$PageTitle = '<img src="'.$ImagesURL.'/admin/admincp_settings.gif" width="23" height="20"> '.$MsgText[0][674];
	$BrowserTitle = $MsgText[0][674];
	$LocationBar = '<a href="'.$IndexURL.'">'.$MsgText[0][1].'</a> > <a href="'.$MainURL.'/options.html">'.$MsgText[0][4].'</a> > <a href="'.$MainURL.'/admin/settings.html">'.$MsgText[0][64].'</a> > '.$MsgText[0][674];
	
	if ($LoggedIn == 'y') {
		
		ReadPermissions();
		Global $Permissions;
		
		if ($Permissions[8] == 'y') {
	
			ReadFormArguments();
			Global $FormArguments;
			
							
			if (@include_once('./'.rc('696E632D6663622E706870',3))) {
				$FVA = false;	
			}
			else {
				$FVA = true;
			}
			
			
			$LicenseLevels[1] = $MsgText[0][23];
			$LicenseLevels[2] = $MsgText[0][24];
			$LicenseLevels[3] = $MsgText[0][25];
			
			
			$LK = $FormArguments['NewLK'];
			
			
			$NewLevel = (substr_count($LK,chr(88))+substr_count($LK,chr(89))+substr_count($LK,chr(90)));
						
			
			if ($NewLevel >= 2) {
				$ContinueButton = '<input type="submit" value="'.$MsgText[0][564].'">';
			}
			else if ($FVA) {
				$ContinueButton = '<input type="submit" value="'.$MsgText[0][564].'">';
				$NewLevel = 1;
			}
			else {
				$ContinueButton = $MsgText[0][672];
			}
						
			
			$PageContents = '<br><font color="#ff0000"><b>'.$MsgText[0][470].'</b></font><br><br>
<form name="PostForm" action="'.$MainURL.'/admin/settings-baseurl5" method="post">

<br><b>'.$MsgText[0][664].':</b><br>'.$Settings['BaseURL'].'<br>
<br><b>'.$MsgText[0][670].':</b><br>'.$LicenseLevels[$Settings[rc('6C766C',3)]].'<br>
<br>
<br><b>'.$MsgText[0][665].':</b><br>'.$FormArguments['NewBaseURL'].'<br>
<br><b>'.$MsgText[0][671].':</b><br>'.$LicenseLevels[$NewLevel].'<br><br>

<br><br>'.$ContinueButton.'

<input type="hidden" name="NewBaseURL" value="'.$FormArguments['NewBaseURL'].'">
<input type="hidden" name="NewLK" value="'.$LK.'">

</form>';
			
			
			

		}
		else {
		
			$PageContents = $MsgText[0][97];
		
		}

	}
	else {
	
		RedirectToLogin();
	
	}

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




?>
