PageRenderTime 49ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/solar27/templates_c/system/%%1F^1FB^1FBB9E9B%%page_gamesbrowser.html.php

https://bitbucket.org/sebs/mosolar
PHP | 465 lines | 448 code | 17 blank | 0 comment | 7 complexity | 0fccfee6ffec3b1fe2cccf0ea72257e6 MD5 | raw file
Possible License(s): LGPL-2.1, AGPL-3.0, BSD-3-Clause, LGPL-2.0, MIT, GPL-2.0
  1. <?php /* Smarty version 2.6.19, created on 2010-02-25 10:41:07
  2. compiled from page_gamesbrowser.html */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('block', 't', 'page_gamesbrowser.html', 2, false),array('modifier', 'round', 'page_gamesbrowser.html', 63, false),array('modifier', 'number_format', 'page_gamesbrowser.html', 187, false),array('modifier', 'date_format', 'page_gamesbrowser.html', 289, false),)), $this); ?>
  5. <?php ob_start(); ?>
  6. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Games Browser<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  7. <?php $this->_smarty_vars['capture']['page_title'] = ob_get_contents(); ob_end_clean(); ?>
  8. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  9. $this->_smarty_include(array('smarty_include_tpl_file' => "frame_header.html", 'smarty_include_vars' => array('title' => $this->_smarty_vars['capture']['page_title'])));
  10. $this->_tpl_vars = $_smarty_tpl_vars;
  11. unset($_smarty_tpl_vars);
  12. ?>
  13. <div align="center" style="background-image:url(images/system/div_bg.jpg);background-color:darkred;padding:10px;border:1px solid red">
  14. <div class="div_welcome_text" style="display:inline"><a class="div_welcome_link" href="login.php" style="color:yellow"><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>PLAY NOW<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></a></div>&nbsp;<b class="text_huge" style="color:red">|</b>&nbsp;
  15. <div class="div_welcome_text" style="display:inline"><a class="div_welcome2_link" href="take_a_tour.php"><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>TAKE A TOUR<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></a></div>&nbsp;<b class="text_huge" style="color:red">|</b>&nbsp;
  16. <div class="div_welcome_text" style="display:inline"><a class="div_welcome_link" href="scoreboard.php"><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>SCOREBOARD<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></a></div>&nbsp;<b class="text_huge" style="color:red">|</b>&nbsp;
  17. <div class="div_welcome_text" style="display:inline"><a class="div_welcome2_link" href="server_status.php"><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>SERVER STATUS<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></a></div>&nbsp;<b class="text_huge" style="color:red">|</b>&nbsp;
  18. <div class="div_welcome_text" style="display:inline"><a class="div_welcome_link" href="forum.php"><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>FORUM<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></a></div>
  19. </div>
  20. <br/>
  21. <!-- begin content -->
  22. <div align="center">
  23. <table width="720px" cellspacing="0" cellpadding="0" border="0" class="text_normal">
  24. <tr>
  25. <td bgcolor="darkred" style="padding:5px" nowrap><b><a class="link" href="preferences.php">Player Profile</a></b></td>
  26. <td bgcolor="#ca3333" style="padding:5px" nowrap>
  27. <table cellspacing="0" cellpadding="0" border="0">
  28. <tr><td><img src="images/common/star.gif" border="0">&nbsp;</td><td><b style="color:yellow">Browse Available Games</b></td></tr>
  29. </table>
  30. </td>
  31. <td width="100%">&nbsp;</td>
  32. </tr>
  33. </table>
  34. <div style="background-image:url(images/common/alpha1.png);border:1px solid darkred; padding:5px;color:#eaeaea;width:720px" align="left">
  35. <div class="text_big" style="color:white;padding:10px;margin:5px"><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Pick a game (You can play on each ones): <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></div>
  36. <?php unset($this->_sections['game']);
  37. $this->_sections['game']['name'] = 'game';
  38. $this->_sections['game']['loop'] = is_array($_loop=$this->_tpl_vars['games']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
  39. $this->_sections['game']['show'] = true;
  40. $this->_sections['game']['max'] = $this->_sections['game']['loop'];
  41. $this->_sections['game']['step'] = 1;
  42. $this->_sections['game']['start'] = $this->_sections['game']['step'] > 0 ? 0 : $this->_sections['game']['loop']-1;
  43. if ($this->_sections['game']['show']) {
  44. $this->_sections['game']['total'] = $this->_sections['game']['loop'];
  45. if ($this->_sections['game']['total'] == 0)
  46. $this->_sections['game']['show'] = false;
  47. } else
  48. $this->_sections['game']['total'] = 0;
  49. if ($this->_sections['game']['show']):
  50. for ($this->_sections['game']['index'] = $this->_sections['game']['start'], $this->_sections['game']['iteration'] = 1;
  51. $this->_sections['game']['iteration'] <= $this->_sections['game']['total'];
  52. $this->_sections['game']['index'] += $this->_sections['game']['step'], $this->_sections['game']['iteration']++):
  53. $this->_sections['game']['rownum'] = $this->_sections['game']['iteration'];
  54. $this->_sections['game']['index_prev'] = $this->_sections['game']['index'] - $this->_sections['game']['step'];
  55. $this->_sections['game']['index_next'] = $this->_sections['game']['index'] + $this->_sections['game']['step'];
  56. $this->_sections['game']['first'] = ($this->_sections['game']['iteration'] == 1);
  57. $this->_sections['game']['last'] = ($this->_sections['game']['iteration'] == $this->_sections['game']['total']);
  58. ?>
  59. <div align="center">
  60. <table class="text_normal" style="border:1px solid red; background-color:darkred;padding:6px;margin:5px" cellspacing="0" cellpadding="4" width="700" align="center">
  61. <tr>
  62. <td rowspan="3"><img src="images/system/<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['logo_img']; ?>
  63. .png" style="border:1px solid black"></td>
  64. <td nowrap><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Game Name:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  65. <td width="100%" colspan="3"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['name']; ?>
  66. </b></td>
  67. </tr>
  68. <tr>
  69. <td nowrap valign="top"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Description:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td colspan="3" style="margin:5px"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['description']; ?>
  70. </b></td>
  71. </tr>
  72. <tr>
  73. <td nowrap><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Connected players:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td nowrap><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['connected_players']; ?>
  74. / <?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['players_slot']; ?>
  75. </b></td>
  76. <td nowrap>&nbsp;<?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Reg'd players:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td width="100%"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['empires_count']; ?>
  77. / <?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['max_players']; ?>
  78. </b></td>
  79. </tr>
  80. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['need_restart'] == 1): ?>
  81. <tr>
  82. <TD colspan="5" class="text_big"><b style="color:yellow">*** <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>The current game has ended, the winner is:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <b style="color:yellow"><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['winner']; ?>
  83. </b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>, you can still visit the scoreboard and the starmap,
  84. A new game will start in:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <b style="color:yellow"><?php echo ((is_array($_tmp=$this->_tpl_vars['games'][$this->_sections['game']['index']]['restart_date']/60)) ? $this->_run_mod_handler('round', true, $_tmp) : round($_tmp)); ?>
  85. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>minutes<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b> ***</b></TD>
  86. </tr>
  87. <?php endif; ?>
  88. <tr>
  89. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['need_login'] == 1): ?>
  90. <td colspan="5" align="right" style="padding:0px;color:black">
  91. <table cellspacing="0" cellpadding="0" border="0">
  92. <tr>
  93. <td>
  94. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  95. <tr><td>
  96. <img src="images/system/icon_button_scoreboard.png" style="border:1px solid white;padding:0px">
  97. </td>
  98. <td><b><a class="link" style="margin:5px" target="_NEW" href="game/scoreboard.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  99. ">
  100. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Scoreboard<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  101. </a></b>
  102. </td></tr>
  103. </table>
  104. </td>
  105. <td>
  106. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  107. <tr><td>
  108. <img src="images/system/icon_button_starmap.png" style="border:1px solid white;padding:0px">
  109. </td>
  110. <td><b><a class="link" style="margin:5px" target="_NEW" href="game/starmap.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  111. ">
  112. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Starmap<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  113. </a></b>
  114. </td></tr>
  115. </table>
  116. </td>
  117. <td>
  118. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['need_restart'] == 0): ?>
  119. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  120. <tr><td>
  121. <img src="images/system/icon_button_continuegame.png" style="border:1px solid white;padding:0px">
  122. </td>
  123. <td><b><a class="link" style="margin:5px" href="login.php">
  124. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Login to play<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  125. </a></b>
  126. </td></tr>
  127. </table>
  128. <?php endif; ?>
  129. </td>
  130. </tr>
  131. </table>
  132. </td>
  133. </td>
  134. <?php endif; ?>
  135. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['join_game'] == 1): ?>
  136. <td colspan="5" align="right" style="padding:0px;color:black">
  137. <table cellspacing="0" cellpadding="0" border="0">
  138. <tr>
  139. <td>
  140. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  141. <tr><td>
  142. <img src="images/system/icon_button_scoreboard.png" style="border:1px solid white;padding:0px">
  143. </td>
  144. <td><b><a class="link" style="margin:5px" target="_NEW" href="game/scoreboard.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  145. ">
  146. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Scoreboard<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  147. </a></b>
  148. </td></tr>
  149. </table>
  150. </td>
  151. <td>
  152. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  153. <tr><td>
  154. <img src="images/system/icon_button_starmap.png" style="border:1px solid white;padding:0px">
  155. </td>
  156. <td><b><a class="link" style="margin:5px" target="_NEW" href="game/starmap.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  157. ">
  158. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Starmap<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  159. </a></b>
  160. </td></tr>
  161. </table>
  162. </td>
  163. <td>
  164. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['need_restart'] == 0): ?>
  165. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  166. <tr><td>
  167. <img src="images/system/icon_button_continuegame.png" style="border:1px solid white;padding:0px">
  168. </td>
  169. <td><b><a class="link" style="margin:5px" href="joingame.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  170. ">
  171. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Join game<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  172. </a></b>
  173. </td></tr>
  174. </table>
  175. <?php endif; ?>
  176. </td>
  177. </tr>
  178. </table>
  179. </td>
  180. <?php endif; ?>
  181. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['continue_game'] == 1): ?>
  182. <td align="right" style="color:yellow" colspan="5">
  183. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><i><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['gender']; ?>
  184. <b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['emperor']; ?>
  185. </b> <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>of empire<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['empire']; ?>
  186. </b>, <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Networth:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <b><?php echo ((is_array($_tmp=$this->_tpl_vars['games'][$this->_sections['game']['index']]['networth'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : smarty_modifier_number_format($_tmp)); ?>
  187. </b>, <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Rank:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?> <b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['game_rank']; ?>
  188. </b></i><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  189. </td>
  190. </tr><tr>
  191. <td colspan="5" align="right" style="padding:0px;color:black">
  192. <table cellspacing="0" cellpadding="0" border="0">
  193. <tr>
  194. <td>
  195. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  196. <tr><td>
  197. <img src="images/system/icon_button_scoreboard.png" style="border:1px solid white;padding:0px">
  198. </td>
  199. <td><b><a class="link" style="margin:5px" target="_NEW" href="game/scoreboard.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  200. ">
  201. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Scoreboard<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  202. </a></b>
  203. </td></tr>
  204. </table>
  205. </td>
  206. <td>
  207. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  208. <tr><td>
  209. <img src="images/system/icon_button_starmap.png" style="border:1px solid white;padding:0px">
  210. </td>
  211. <td><b><a class="link" style="margin:5px" target="_NEW" href="game/starmap.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  212. ">
  213. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Starmap<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  214. </a></b>
  215. </td></tr>
  216. </table>
  217. </td>
  218. <td>
  219. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['need_restart'] == 0): ?>
  220. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  221. <tr><td>
  222. <img src="images/system/icon_button_continuegame.png" style="border:1px solid white;padding:0px">
  223. </td>
  224. <td><b><a class="link" style="margin:5px" href="#" onclick="window.open('continuegame.php?GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  225. ','game','titlebar=no,status=no,toolbar=no,location=no,menubar=no,resizable=yes');return false;">
  226. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Continue game<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  227. </a></b>
  228. </td></tr>
  229. </table>
  230. <?php endif; ?>
  231. </td>
  232. <td>
  233. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['need_restart'] == 0): ?>
  234. <table style="margin:5px;padding:2px" cellspacing="0" cellpadding="0" border="0">
  235. <tr><td>
  236. <img src="images/system/icon_button_destroyempire.png" style="border:1px solid white;padding:0px">
  237. </td>
  238. <td><b><a class="link" style="margin:5px" href="gamesbrowser.php?DESTROY_EMPIRE&GAME=<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  239. ">
  240. <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Destroy your empire<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  241. </a></b>
  242. </td></tr>
  243. </table>
  244. <?php endif; ?>
  245. </td>
  246. </tr>
  247. </table>
  248. </td>
  249. <?php endif; ?>
  250. </tr>
  251. <?php if ($this->_tpl_vars['games'][$this->_sections['game']['index']]['history_game'] == 1): ?>
  252. <a name="history_<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  253. "></a>
  254. <tr>
  255. <td colspan="6">
  256. <a class="link" href="#history_<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  257. "
  258. onclick="ToggleLastScores('game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  259. _score_label','game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  260. _score_details');">
  261. <div id="game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  262. _score_label" style="border:1px solid #999999;background-color:#333333;padding:3px">
  263. + <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Show/Hide Your Last Scores<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></div></a>
  264. <div id="game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  265. _score_details" style="display:none;visibility:hidden;height:0px;" cellspacing="0" cellpadding="5" border="0">
  266. <table class="text_small"
  267. style="margin:5px;border:1px solid #cacaca;background-color:#330000;padding:5px;color:#999999"
  268. cellspacing="0" cellpadding="5" width="660">
  269. <tr>
  270. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Date<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  271. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Rank<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  272. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Empire name<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  273. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Networth<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  274. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Military<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  275. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Planets<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  276. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Population<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  277. <td><b><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Turns<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b></td>
  278. </tr>
  279. <?php unset($this->_sections['hist']);
  280. $this->_sections['hist']['name'] = 'hist';
  281. $this->_sections['hist']['loop'] = is_array($_loop=$this->_tpl_vars['games'][$this->_sections['game']['index']]['history']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
  282. $this->_sections['hist']['show'] = true;
  283. $this->_sections['hist']['max'] = $this->_sections['hist']['loop'];
  284. $this->_sections['hist']['step'] = 1;
  285. $this->_sections['hist']['start'] = $this->_sections['hist']['step'] > 0 ? 0 : $this->_sections['hist']['loop']-1;
  286. if ($this->_sections['hist']['show']) {
  287. $this->_sections['hist']['total'] = $this->_sections['hist']['loop'];
  288. if ($this->_sections['hist']['total'] == 0)
  289. $this->_sections['hist']['show'] = false;
  290. } else
  291. $this->_sections['hist']['total'] = 0;
  292. if ($this->_sections['hist']['show']):
  293. for ($this->_sections['hist']['index'] = $this->_sections['hist']['start'], $this->_sections['hist']['iteration'] = 1;
  294. $this->_sections['hist']['iteration'] <= $this->_sections['hist']['total'];
  295. $this->_sections['hist']['index'] += $this->_sections['hist']['step'], $this->_sections['hist']['iteration']++):
  296. $this->_sections['hist']['rownum'] = $this->_sections['hist']['iteration'];
  297. $this->_sections['hist']['index_prev'] = $this->_sections['hist']['index'] - $this->_sections['hist']['step'];
  298. $this->_sections['hist']['index_next'] = $this->_sections['hist']['index'] + $this->_sections['hist']['step'];
  299. $this->_sections['hist']['first'] = ($this->_sections['hist']['iteration'] == 1);
  300. $this->_sections['hist']['last'] = ($this->_sections['hist']['iteration'] == $this->_sections['hist']['total']);
  301. ?>
  302. <tr style="color:white">
  303. <td><?php echo ((is_array($_tmp=$this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['date'])) ? $this->_run_mod_handler('date_format', true, $_tmp) : smarty_modifier_date_format($_tmp)); ?>
  304. </td>
  305. <td><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['rank']; ?>
  306. </td>
  307. <td><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['empire_name']; ?>
  308. </td>
  309. <td><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['networth']; ?>
  310. </td>
  311. <td><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['military_might']; ?>
  312. </td>
  313. <td><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['planets']; ?>
  314. </td>
  315. <td><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['population']; ?>
  316. </td>
  317. <td><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['history'][$this->_sections['hist']['index']]['turns_played']; ?>
  318. </td>
  319. </tr>
  320. <?php endfor; else: ?>
  321. <tr>
  322. <td colspan="8" style="color:white"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>No games finished yet!<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td>
  323. </tr>
  324. <?php endif; ?>
  325. </table>
  326. </div>
  327. </td>
  328. </tr>
  329. <?php endif; ?>
  330. <tr>
  331. <td colspan="6">
  332. <a name="details_<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  333. "></a>
  334. <a class="link" href="#details_<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  335. "
  336. onclick="ToggleDetails('game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  337. _label','game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  338. _details');">
  339. <div id="game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  340. _label"
  341. style="border:1px solid #999999;background-color:#333333;padding:3px">
  342. + <?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Show/Hide Game Details<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
  343. </div>
  344. </a>
  345. <div id="game<?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['id']; ?>
  346. _details" style="display:none;visibility:hidden;height:0px;" cellspacing="0" cellpadding="5" border="0">
  347. <table class="text_small"
  348. style="margin:5px;border:1px solid #cacaca;background-color:#330000;padding:5px;color:#999999"
  349. cellspacing="0" cellpadding="5">
  350. <tr><td nowrap><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Victory Condition:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['victory_condition']; ?>
  351. </b></td></tr>
  352. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Maximum Game Duration:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['lifetime']; ?>
  353. </b></td></tr>
  354. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Time Elapsed:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['time_elapsed']; ?>
  355. </b></td></tr>
  356. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Premium Membership Required:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['premium_only']; ?>
  357. </b></td></tr>
  358. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Turns Per Day:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['turns_per_day']; ?>
  359. </b></td></tr>
  360. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Protection Turns:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['protection_turns']; ?>
  361. </b></td></tr>
  362. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Connected Players:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['connected_players']; ?>
  363. </b></td></tr>
  364. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Max Players Slots:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['players_slot']; ?>
  365. </b></td></tr>
  366. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Empires registered:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['empires_count']; ?>
  367. </b></td></tr>
  368. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Maximum Empires Limit:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['max_players']; ?>
  369. </b></td></tr>
  370. <tr><td><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Completed games:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></td><td style="color:white"><b><?php echo $this->_tpl_vars['games'][$this->_sections['game']['index']]['count']; ?>
  371. </b></td></tr>
  372. </table>
  373. </div>
  374. </td>
  375. </tr>
  376. </table>
  377. </div>
  378. <?php endfor; else: ?>
  379. <b class="text_big" style="color:yellow">&nbsp;<?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>*** No game available for now, the administrator have to create at least one game.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></b><br/><br/>
  380. <?php endif; ?>
  381. <!-- end loop -->
  382. <br/>
  383. </div>
  384. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  385. $this->_smarty_include(array('smarty_include_tpl_file' => "frame_footer.html", 'smarty_include_vars' => array()));
  386. $this->_tpl_vars = $_smarty_tpl_vars;
  387. unset($_smarty_tpl_vars);
  388. ?>