Exemple #1
0
    ?>
</span>
												<br />
												<a class="nav" href="<?php 
    echo $PlayerNameLink;
    ?>
"><?php 
    echo $ThisPlayer->getDisplayName();
    ?>
</a>
											</div>
										</td>
										<td>
											<div class="topcenterOne noWrap">
												Race: <a href="<?php 
    echo Globals::getCouncilHREF($ThisPlayer->getRaceID());
    ?>
"><?php 
    echo $ThisPlayer->getColouredRaceName($ThisPlayer->getRaceID());
    ?>
</a><br />
												
												Turns : <span id="turns">
													<span class="<?php 
    switch ($ThisPlayer->getTurnsLevel()) {
        case 'NONE':
        case 'LOW':
            echo 'red';
            break;
        case 'MEDIUM':
            echo 'yellow';
Exemple #2
0
	Below you may decide to declare War or make Peace with other races within the Universe.<br />Remember that Peace votes are subject to veto by corresponding Racial President.<br />Choose wisely, for the fate of your race may lie with your decision.
</div><br /><br />

<table class="standard center" width="50%">
	<tr>
		<th>Race</th>
		<th>Treaty</th>
	</tr><?php 
foreach ($VoteRaceHrefs as $RaceID => $FormHref) {
    ?>
		<tr>
			<td align="center"><img src="<?php 
    echo Globals::getRaceHeadImage($RaceID);
    ?>
" width="60" height="64" /><br /><a href="<?php 
    echo Globals::getCouncilHREF($RaceID);
    ?>
"><?php 
    echo $ThisPlayer->getColouredRaceName($RaceID);
    ?>
</a></td>
			<td align="center">
				<form method="POST" action="<?php 
    echo $FormHref;
    ?>
">
					<input type="submit" name="action" value="Peace" id="InputFields" />
					&nbsp;
					<input type="submit" name="action" value="War" id="InputFields" />
				</form>
			</td>