32 lines
675 B
PHP
32 lines
675 B
PHP
<?php
|
|
require_once 'db.php';
|
|
$tables = $db->query('select * from tables');
|
|
include 'header.php';
|
|
?>
|
|
<h1>nomi pinball</h1>
|
|
<img src="coinslotlogo.png" alt="coin slot logo">
|
|
<hr>
|
|
<p>
|
|
<a href="/random/">pick a table to play</a> ~
|
|
<a href="/creatematch/">start a match</a>
|
|
</p>
|
|
|
|
<pre>* keep tables up-to-date
|
|
* table picker
|
|
* track players
|
|
* team picker
|
|
* ifpa integration - their API is currently read-only
|
|
* stream games onto a TV
|
|
* keep track of ranking from each game
|
|
* show ranking table
|
|
* show tournament rankings as we go
|
|
</pre>
|
|
|
|
<ul>
|
|
<?php foreach ($tables as $table) { ?>
|
|
<li><?=$table['name']?></li>
|
|
<?php } ?>
|
|
</ul>
|
|
|
|
<?php include 'footer.php'; ?>
|