-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.php
34 lines (33 loc) · 1.04 KB
/
test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?
require_once("conf/config.php");
includeHeader("test");
?>
<div class="row-fluid">
<div class="span12">
<div class="hero-unit">
<h1>Tournament Builder</h1>
<p>Tournament Builder lets you build Coowesomazing tournaments easily</p>
<p><a href="create.php" class="btn btn-primary btn-large">Create a Tournament »</a></p>
</div>
<div class="row-fluid">
<?php
$list_of_tournaments = $db->select("Tournament","*","","","","9");
echo $test;
echo "test";
for ($x=1; $x<=9; $x++)
{
if (($x%3)==0) {
echo "<div class=\"row-fluid\">\n";
}
echo "<div class=\"span4\">\n";
echo "<h2>Tournament: $x </h2>\n";
echo "<p>Tournament Description: $x </p>\n";
echo "<p><a class=\"btn\" href=\"#\">View details »</a></p>\n";
echo "</div>";
if (($x%3)==0) {
echo "</div> <!--/row-->\n";
}
}
?>
</div>
<?require_once("inc/footer.php")?>