<?php
use Empire\Core\Position;
$isSecure = FALSE;#require('../..#requires/header.php');
$mode = field('mode');
?>
<style type="text/css">
td.toplinks
{
border-color:#3a6391;
border-top-style:solid;
border-right-style:solid;
border-bottom-style:none;
border-left-style:solid;
background-color:#394b5f;
border-width:3px;
}
td.through
{
border-color:#3a6391;
border-top-style:none;
border-right-style:solid;
border-bottom-style:none;
border-left-style:solid;
background-color:#394b5f;
border-width:3px;
}
td.body
{
border-color:#3a6391;
border-top-style:none;
border-right-style:solid;
border-bottom-style:solid;
border-left-style:solid;
background-color:#394b5f;
border-width:3px;
}
td.bottomonly
{
border-color:#3a6391;
border-top-style:none;
border-right-style:none;
border-bottom-style:solid;
border-left-style:none;
border-width:3px;
}
td.toplinks_content
{
border-color:#3a6391;
border-top-style:solid;
border-right-style:solid;
border-bottom-style:solid;
border-left-style:solid;
background-color:#394b5f;
border-width:3px;
}
table.toplinks
{
background-color:#56514e;
}
</style>
<table border=0 align="center">
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Emperor", "Imperial Throne"));
?>
<tr>
<td align="center" align="center"><?php echo $ObjAvatar->MEMB_AVATAR ?>
</tr>
</table><br><br>
<table border=0 align="center">
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Executor", "Imperial Throne"));
?>
<tr>
<td align="center" align="center"><?php echo $ObjAvatar->MEMB_AVATAR ?>
</tr>
</table>
<br><Br>
<table align="center" cellpadding="5" class="toplinks" cellspacing="0">
<tr>
<?PHP
//IF LINK IS LIVE, CLASS FOR THE <TD> IS "TOPLINKS"
//IF LINK IS NOT LIVE, CLASS FOR THE <TD> IS "BOTTOMONLY"
//MODE IS SET IF A LINK IS LIVE
//MODE IS BETWEEN 0 AND 7
//MODE-1 SHOWS NAVY
//MODE-2 SHOWS ARMY
//MODE-3 SHOWS COMPNOR
//MODE-4 SHOWS GOVERNMENT
//MODE-5 SHOWS MIND
//MODE-6 SHOWS INTEL
//MODE-7 SHOWS ODH
?>
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Navy Commanding Officer", "Imperial Navy"));
?>
<td align="center" align="center" <?php if($mode == 1){ ?>class="toplinks"<?php }else{ ?>class="bottomonly"<?php } ?>>
<a href="ihc.php?mode=1"><?php echo $ObjAvatar->MEMB_AVATAR ?></a>
</td>
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Army Commanding Officer", "Imperial Army"));
?>
<td align="center" align="center" <?php if($mode == 2){ ?>class="toplinks"<?php }else{ ?>class="bottomonly"<?php } ?>>
<a href="ihc.php?mode=2"><?php echo $ObjAvatar->MEMB_AVATAR ?></a>
</td>
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Grand Vizier", "Commission for the Preservation of the New Order"));
?>
<td align="center" align="center" <?php if($mode == 3){ ?>class="toplinks"<?php }else{ ?>class="bottomonly"<?php } ?>>
<a href="ihc.php?mode=3"><?php echo $ObjAvatar->MEMB_AVATAR ?></a>
</td>
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("High Moff", "Regional Government", "Council of Moffs"));
?>
<td align="center" align="center" <?php if($mode == 4){ ?>class="toplinks"<?php }else{ ?>class="bottomonly"<?php } ?>>
<a href="ihc.php?mode=4"><?php echo $ObjAvatar->MEMB_AVATAR ?></a>
</td>
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Minister", "Ministry of Industry"));
?>
<td align="center" align="center" <?php if($mode == 5){ ?>class="toplinks"<?php }else{ ?>class="bottomonly"<?php } ?>>
<a href="ihc.php?mode=5"><?php echo $ObjAvatar->MEMB_AVATAR ?></a>
</td>
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Director", "Imperial Intelligence"));
?>
<td align="center" align="center" <?php if($mode == 6){ ?>class="toplinks"<?php }else{ ?>class="bottomonly"<?php } ?>>
<a href="ihc.php?mode=6"><?php echo $ObjAvatar->MEMB_AVATAR ?></a>
</td>
<?php
$ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Dark Lord of the Sith", "Order of the Sith"));
?>
<td align="center" align="center" <?php if($mode == 7){ ?>class="toplinks"<?php }else{ ?>class="bottomonly"<?php } ?>>
<a href="ihc.php?mode=7"><img src="http://art.swc-empire.com/avatar/darth_virsunas.png" /><?php //echo $ObjAvatar->MEMB_AVATAR ?></a>
</td>
</tr>
<tr>
<td colspan=7 class="body">
<?php if(!isset($mode)){ ?>
<div style="text-align:center;font:20px bold">IMPERIAL HIGH COMMAND</div>
<?php }elseif($mode == 1){ ?>
<div style="text-align:center;font:20px bold">IMPERIAL NAVY</div>
<?php }elseif($mode == 2){ ?>
<div style="text-align:center;font:20px bold">IMPERIAL ARMY</div>
<?php }elseif($mode == 3){ ?>
<div style="text-align:center;font:20px bold">COMMISSION FOR THE PRESERVATION OF THE NEW ORDER</div>
<br />
The Chairman of the Commission for the Preservation of the New Order, the Grand Vizier is responsible for the coordination of the
Central Government. The Grand Vizier is the third-in-command of the Galactic Empire and is responsible for ensuring that the directives of the Executor are not left to abeyance.
<br /><br />
Charged with the areas of continued evolution of Imperial culture, education, infrastructure and doctrine, the Grand Vizier directly oversees
the Imperial Security Bureau, the Coalition for Culture, Coalition for Diplomacy, Coalition for Infrastructure, and the Imperial Academy. Supervising the economical growth,
planetary infrastructure, resource allocations, recruitment and logistical necessities, the Grand Vizier directs the Imperial Ministry of Finance, the Imperial Centre for
Recruitment and the Resource Allocations Division - Empire. Overseeing the political image, strategy, and objectives of the New Order, the Grand Vizier also oversees the
Coalition for Diplomacy and the Galactic Commerce and Economic Council.
<br /><br />
<table style="width:100%;border:none">
<tr>
<td style="width:50%"><br />
<?php $ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Director", "Imperial Security Bureau")); ?>
<div style="text-align:center">
<?php echo $ObjAvatar->MEMB_AVATAR ." <br /><br /> <span style='font-weight:bold'>Director of the Imperial Security Bureau</span> <br /> " . $ObjAvatar->MEMB_NAME; ?>
</div>
</td>
<td style="width:50%"><br />
<?php $ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Vizier", "Commission for the Preservation of the New Order", "Coalition for Infrastructure")); ?>
<div style="text-align:center">
<?php echo $ObjAvatar->MEMB_AVATAR ." <br /><br /> <span style='font-weight:bold'>Vizier for Infrastructure</span> <br /> " . $ObjAvatar->MEMB_NAME; ?>
</div>
</td>
</tr>
<tr>
<td style="width:50%"><br />
<?php $ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Vizier", "Commission for the Preservation of the New Order", "Coalition for Diplomacy")); ?>
<div style="text-align:center">
<?php echo $ObjAvatar->MEMB_AVATAR ." <br /><br /> <span style='font-weight:bold'>Vizier for Diplomacy</span> <br /> " . $ObjAvatar->MEMB_NAME; ?>
</div>
</td>
<td style="width:50%"><br />
<?php $ObjAvatar = Position::getAvatarByPosition(Position::getPositionIDByName("Vizier", "Commission for the Preservation of the New Order", "Coalition for Culture")); ?>
<div style="text-align:center">
<?php echo $ObjAvatar->MEMB_AVATAR ." <br /><br /> <span style='font-weight:bold'>Vizier for Culture</span> <br /> " . $ObjAvatar->MEMB_NAME; ?>
</div>
</td>
</tr>
</table>
<?php }elseif($mode == 4){ ?>
<div style="text-align:center;font:20px bold">REGIONAL GOVERNMENT</div>
<?php }elseif($mode == 5){ ?>
<div style="text-align:center;font:20px bold">MINISTRY OF INDUSTRY</div>
<?php }elseif($mode == 6){ ?>
<div style="text-align:center;font:20px bold">IMPERIAL INTELLIGENCE</div>
<?php }elseif($mode == 7){ ?>
<div style="text-align:center;font:20px bold">ORDER OF THE SITH</div>
<?php } ?>
</td>
</tr></table>
<?php#require('../..#requires/footer.php');
?>