Show game_index.tpl.html syntax highlighted
<?php include 'includes/astrum_frontend_header.tpl.html'; ?>
<?php include 'includes/astrum_frontend_leftcolumn.tpl.html'; ?>
<div id="astrum_content_container">
<p>
The <strong>Astrum Futura</strong> game in progress is:
</p>
<table class="astrum_table_list" id="astrum_table_game_list">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<?php echo $this->game['name']; ?>
</td>
<td>
<?php echo $this->game['description']; ?>
</td>
</tr>
</tbody>
</table>
<?php if($this->user['is_player'] == 1): ?>
<p><a href="<?php echo $this->URLROOT ?>/game/enter">Enter Game</a></p>
<?php else: ?>
<p>
Complete form to join game:
<p>
<div class="astrum_form_narrow_holder">
<form id="astrum_form_game_join" action="<?php echo $this->URLROOT ?>/game/join" method="post" accept-charset="utf8">
<div>
<span>Player Name:</span>
<span><input type="text" name="astrum_form_game_name" value="" /></span>
</div>
<div>
<span>Fleet Name:</span>
<span><input type="text" name="astrum_form_game_fleet" value="" /></span>
</div>
<div>
<span></span>
<span><input type="submit" name="astrum_form_game_submit" value="Submit" /></span>
</div>
</form>
</div>
<?php endif; ?>
<p class="astrum_notice">
<strong>Astrum Futura</strong> is currently in development. This is not yet a playable game.
</p>
</div><!--EOF:astrum_content_container-->
<!--TODO:astrum_content_right-->
<?php include 'includes/astrum_frontend_footer.tpl.html'; ?>
See more files for this project here