You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
agng/ag/turnier_auswahl.php

44 lines
1.1 KiB

14 years ago
<?php
/*
*
* @copyright (c) 2010 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include_once('path.inc.php'); // get the path ;)
include_once(ROOT_PATH.'/include/tournament.inc.php');
14 years ago
?>
14 years ago
<SCRIPT language="JavaScript">
function kampf(type_id){
window.open("./turnier2.php?charm=1&type_id="+type_id,"","status=no,hotkeys=no,Height=600,Width=929,scrollbars=yes");
14 years ago
}
</SCRIPT>
<table cellpadding="0" cellspacing="0" width="100%">
<!-- MSTableType="layout" -->
<tr>
<th valign="top" colspan="3" align="center">Turnier Auswahl</th>
</tr>
<?php
$tournament_types = getTournamentTypes();
foreach ($tournament_types as $tournament_type) {
?>
14 years ago
<tr>
<td valign="top" align="center">
<a href='javascript:kampf("<?php echo $tournament_type['id']; ?>");'>
<img border="0" src="<?php echo $tournament_type['icon']; ?>" title="Das Turnier ist einmal die Woche, Sonntags um 15 Uhr. (64 Spieler)" width="150" height="150" />
14 years ago
</a>
</td>
<td align="center">Hier kommt noch info hin (to be programmed)</td>
14 years ago
</tr>
<?php
}
?>
14 years ago
</table>