<commit_before><!DOCTYPE html>
<html>
	<head><?php
		$this->assign('FontSize', $FontSize-20);
		$this->includeTemplate('includes/Head.inc'); ?>	
	</head>
	<body>
		<div id="menu_container">
			<div id="menu">
					<?php $this->includeTemplate('includes/LeftPanel.inc'); ?>
			</div>
		</div>
		<table class="m" align="center">
			<tr>
				<td class="l0 left_side">
					<div class="left_side_item_wrapper"><?php
						$this->includeTemplate('includes/SectorPlanet.inc');
						$this->includeTemplate('includes/SectorPort.inc');
						$this->includeTemplate('includes/SectorLocations.inc');
						$this->includeTemplate('includes/SectorPlayers.inc',array('PlayersContainer'=>&$ThisSector));
						$this->includeTemplate('includes/SectorForces.inc'); ?>
					</div>
				</td>
				<td class="m0">
					<div id="middle_panel"><?php
						if(isset($PageTopic)) {
							?><h1><?php echo $PageTopic; ?></h1><br><?php
						}
						if(isset($MenuItems)||isset($MenuBar)) { ?>
							<div class="bar1">
								<div><?php
									if(isset($MenuItems)) {
										$this->includeTemplate('includes/menu.inc');
									}
									else if(isset($MenuBar)) {
										echo $MenuBar;
									} ?>
								</div>
							</div><br><?php
						}
						else if(isset($SubMenuBar)) {
							echo $SubMenuBar;
						}
						$this->includeTemplate($TemplateBody); ?>
					</div>
				</td>
				<td class="r0 right_side">
					<div class="right_side_item_wrapper"><?php
					$this->includeTemplate('includes/PlottedCourse.inc');
					$this->includeTemplate('includes/Ticker.inc');
					$this->includeTemplate('includes/Missions.inc'); 
					if(isset($ErrorMessage)) {
						echo $ErrorMessage; ?><br /><?php
					}
					if(isset($ProtectionMessage)) {
						echo $ProtectionMessage; ?><br /><?php
					}
					if(isset($TurnsMessage)) {
						echo $TurnsMessage; ?><br /><?php
					}
					if(isset($TradeMessage)) {
						echo $TradeMessage; ?><br /><?php
					}
					if(isset($ForceRefreshMessage)) {
						echo $ForceRefreshMessage; ?><br /><?php
					}
					if(isset($AttackResults)) {
						if($AttackResultsType=='PLAYER') {
							$this->includeTemplate('includes/TraderFullCombatResults.inc',array('TraderCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						}
						else if($AttackResultsType=='FORCE') {
							$this->includeTemplate('includes/ForceFullCombatResults.inc',array('FullForceCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						}
						else if($AttackResultsType=='PORT') {
							$this->includeTemplate('includes/PortFullCombatResults.inc',array('FullPortCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						}
						else if($AttackResultsType=='PLANET') {
							$this->includeTemplate('includes/PlanetFullCombatResults.inc',array('FullPlanetCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						} ?><br /><?php
					}
					if(isset($VarMessage)) {
						echo $VarMessage; ?><br /><?php
					} ?></div>
				</td><?php
				if (isset($GameID)) { ?>
				<td class="r0">
					<div id="right_panel">
						<?php $this->includeTemplate('includes/RightPanel.inc'); ?>
					</div>
				</td><?php } ?><commit_msg>Fix the template outside of game<commit_after><!DOCTYPE html>
<html>
	<head><?php
		$this->assign('FontSize', $FontSize-20);
		$this->includeTemplate('includes/Head.inc'); ?>	
	</head>
	<body>
		<div id="menu_container">
			<div id="menu">
					<?php $this->includeTemplate('includes/LeftPanel.inc'); ?>
			</div>
		</div>
		<table class="m" align="center">
			<tr><?php
				if (isset($GameID)) { ?>
				<td class="l0 left_side">
					<div class="left_side_item_wrapper"><?php
						$this->includeTemplate('includes/SectorPlanet.inc');
						$this->includeTemplate('includes/SectorPort.inc');
						$this->includeTemplate('includes/SectorLocations.inc');
						$this->includeTemplate('includes/SectorPlayers.inc',array('PlayersContainer'=>&$ThisSector));
						$this->includeTemplate('includes/SectorForces.inc'); ?>
					</div>
				</td><?php } ?>
				<td class="m0">
					<div id="middle_panel"><?php
						if(isset($PageTopic)) {
							?><h1><?php echo $PageTopic; ?></h1><br><?php
						}
						if(isset($MenuItems)||isset($MenuBar)) { ?>
							<div class="bar1">
								<div><?php
									if(isset($MenuItems)) {
										$this->includeTemplate('includes/menu.inc');
									}
									else if(isset($MenuBar)) {
										echo $MenuBar;
									} ?>
								</div>
							</div><br><?php
						}
						else if(isset($SubMenuBar)) {
							echo $SubMenuBar;
						}
						$this->includeTemplate($TemplateBody); ?>
					</div>
				</td><?php if (isset($GameID)) { ?>
				<td class="r0 right_side">
					<div class="right_side_item_wrapper"><?php
					$this->includeTemplate('includes/PlottedCourse.inc');
					$this->includeTemplate('includes/Ticker.inc');
					$this->includeTemplate('includes/Missions.inc'); 
					if(isset($ErrorMessage)) {
						echo $ErrorMessage; ?><br /><?php
					}
					if(isset($ProtectionMessage)) {
						echo $ProtectionMessage; ?><br /><?php
					}
					if(isset($TurnsMessage)) {
						echo $TurnsMessage; ?><br /><?php
					}
					if(isset($TradeMessage)) {
						echo $TradeMessage; ?><br /><?php
					}
					if(isset($ForceRefreshMessage)) {
						echo $ForceRefreshMessage; ?><br /><?php
					}
					if(isset($AttackResults)) {
						if($AttackResultsType=='PLAYER') {
							$this->includeTemplate('includes/TraderFullCombatResults.inc',array('TraderCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						}
						else if($AttackResultsType=='FORCE') {
							$this->includeTemplate('includes/ForceFullCombatResults.inc',array('FullForceCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						}
						else if($AttackResultsType=='PORT') {
							$this->includeTemplate('includes/PortFullCombatResults.inc',array('FullPortCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						}
						else if($AttackResultsType=='PLANET') {
							$this->includeTemplate('includes/PlanetFullCombatResults.inc',array('FullPlanetCombatResults'=>$AttackResults,'MinimalDisplay'=>true));
						} ?><br /><?php
					}
					if(isset($VarMessage)) {
						echo $VarMessage; ?><br /><?php
					} ?></div>
				</td>
				<td class="r0">
					<div id="right_panel">
						<?php $this->includeTemplate('includes/RightPanel.inc'); ?>
					</div>
				</td><?php } ?>
{'fraction_non_alphanumeric': 0.19540229885057472, 'fraction_numerical': 0.002834199338686821, 'mean_word_length': 3.411111111111111, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 181, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4326436', 'n_tokens_mistral': 2809, 'n_tokens_neox': 2044, 'n_words': 257}