<?php if (!defined('FLUX_ROOT')) exit; ?>
<?php $PlugandPlay = include('plugandplay/PlugandPlayConfig.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
	<!--start of slider css js -->
		<link rel="stylesheet" href="<?php echo $this->themePath('slider/js-image-slider.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<link rel="stylesheet" href="<?php echo $this->themePath('generic.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<script type="text/javascript" src="<?php echo $this->themePath('slider/js-image-slider.js') ?>"></script>
		<script type='text/javascript' src='https://code.jquery.com/jquery-git.js'></script>
	<!--end of slider css js -->

  		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  		<meta name="renderer" content="webkit|ie-comp|ie-stand">
  		<meta http-equiv="X-UA-Compatible" content="ie=edge">
  		<meta name="renderer" content="webkit">
  		<meta property="og:title" content="New Server Pre-Register" />
  		<meta property="og:site_name" content="LevelUP Games" />
  		<meta property="fb:app_id" content="1868878816534271" />
  		<meta property="og:type" content="article" />
 		<meta property="og:locale" content="en_US" />
  		<meta property="og:description" content="New Mid Rate Trans Server Grand Opening Coming Soon! New world New friends!" />
  		<meta property="og:image" content="https://rescdn.imtxwy.com/ro/nyy/imgs/fxen.jpg" />
  		<meta property="og:image:width" content="1200" />
  		<meta property="og:image:height" content="630" />

		
		<?php if (isset($metaRefresh)): ?>
		<meta http-equiv="refresh" content="<?php echo $metaRefresh['seconds'] ?>; URL=<?php echo $metaRefresh['location'] ?>" />
		<?php endif ?>
		<title><?php echo Flux::config('SiteTitle'); if (isset($title)) echo ": $title" ?></title>
		<link rel="stylesheet "href="<?php echo $this->themePath('css/flux.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<link rel="stylesheet "href="<?php echo $this->themePath('css/plugandplay-hover.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
 		<link rel="stylesheet "href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
		<link rel="stylesheet "href="<?php echo $this->themePath('css/plugandplay-style.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<link rel="stylesheet "href="<?php echo $this->themePath('css/intlTelInput.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<link href="<?php echo $this->themePath('css/flux/unitip.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" />

		<?php if (Flux::config('EnableReCaptcha')): ?>
			<link href="<?php echo $this->themePath('css/flux/recaptcha.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" />
		<?php endif ?>

		<!--[if IE]>
		<link rel="stylesheet" href="<?php echo $this->themePath('css/flux/ie.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
		<![endif]-->	
		<!--[if lt IE 9]>
		<script src="<?php echo $this->themePath('js/ie9.js') ?>" type="text/javascript"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitpngfix.js') ?>"></script>
		<![endif]-->
		<script type="text/javascript" src="<?php echo $this->themePath('js/jquery-1.8.3.min.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/slider.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/lightbox.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.datefields.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/flux.unitip.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/jquery.min.js') ?>"></script>
		<script type="text/javascript" src="<?php echo $this->themePath('js/intlTelInput.js') ?>"></script>
 		<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>



		<script type="text/javascript">
			$(document).ready(function(){
				$('.money-input').keyup(function() {
					var creditValue = parseInt($(this).val() / <?php echo Flux::config('CreditExchangeRate') ?>, 10);
					if (isNaN(creditValue))
						$('.credit-input').val('?');
					else
						$('.credit-input').val(creditValue);
				}).keyup();
				$('.credit-input').keyup(function() {
					var moneyValue = parseFloat($(this).val() * <?php echo Flux::config('CreditExchangeRate') ?>);
					if (isNaN(moneyValue))
						$('.money-input').val('?');
					else
						$('.money-input').val(moneyValue.toFixed(2));
				}).keyup();
				
				// In: js/flux.datefields.js
				processDateFields();
			});
			
			function reload(){
				window.location.href = '<?php echo $this->url ?>';
			}
		</script>
		
		<script type="text/javascript">
			function updatePreferredServer(sel){
				var preferred = sel.options[sel.selectedIndex].value;
				document.preferred_server_form.preferred_server.value = preferred;
				document.preferred_server_form.submit();
			}
			function updatePreferredTheme(sel){
				var preferred = sel.options[sel.selectedIndex].value;
				document.preferred_theme_form.preferred_theme.value = preferred;
				document.preferred_theme_form.submit();
			}
			// Preload spinner image.
			var spinner = new Image();
			spinner.src = '<?php echo $this->themePath('img/spinner.gif') ?>';
			
			function refreshSecurityCode(imgSelector){
				$(imgSelector).attr('src', spinner.src);
				
				// Load image, spinner will be active until loading is complete.
				var clean = <?php echo Flux::config('UseCleanUrls') ? 'true' : 'false' ?>;
				var image = new Image();
				image.src = "<?php echo $this->url('captcha') ?>"+(clean ? '?nocache=' : '&nocache=')+Math.random();
				
				$(imgSelector).attr('src', image.src);
			}
			function toggleSearchForm()
			{
				//$('.search-form').toggle();
				$('.search-form').slideToggle('fast');
			}
		</script>
		
		<?php if (Flux::config('EnableReCaptcha') && Flux::config('ReCaptchaTheme')): ?>
		<script type="text/javascript">
			 var RecaptchaOptions = {
			    theme : '<?php echo Flux::config('ReCaptchaTheme') ?>'
			 };
		</script>
		<?php endif ?>
		
	</head>
	<body>
		<div id="wrapper">
		<div class="ragna-logo">
			<table width="100%" border="0">
			<tr><td align="center"><img src="<?php echo $this->themePath('img/logo.png'); ?>" class="expandClosed" /></td></tr>
			</table>
		</div>
			<div id="main">
				<div class="spacer">
					<div class="status"><?php include('plugandplay/status.php') ?></div>
					<div class="main-menu"><?php include('plugandplay/main_menu.php') ?></div>
				</div>
				<div class="episode"><?php include('plugandplay/episodes.php') ?></div>

				<div class="main-cont">
						<div class="sidebarleft">
						<?php include('plugandplay/navilinks.php') ?>
							
						</div>
						
					<div class="sidebarright">
						<div id="quotes">
							<?php include ('plugandplay/quote.php') ?>
						</div>
							<?php include ('plugandplay/links.php') ?>
					</div>
						
					<div class="containerbgtop"></div>
					<div class="containerbginner">
					<div class="centercontent">
							<div class="centercont">
								<?php if ($message=$session->getMessage()): ?>
									<p class="message"><?php echo htmlspecialchars($message) ?></p>
								<?php endif ?>
								<?php include 'main/submenu.php' ?>
								<?php if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?>