-
Notifications
You must be signed in to change notification settings - Fork 1
/
wappen.php
83 lines (73 loc) · 2.44 KB
/
wappen.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php
include 'header.php';
?>
<!--<div class="input-group">
<span class="input-group-addon">Filter</span>
<input id="filter" type="text" class="form-control" onkeyup="filter()" placeholder="Filtertext...">
</div><br />-->
Häufig verwendete Abkürzungen:<br />
<ul>
<li>*FDR: Fliehkraft-Drehzahl-Regler</li>
<li>*ttW: tech Geräte in Reihenfolge (Dreieck Zirkel Rad Lineal *FDR) </li>
<li>wp westfalen (!): Niedersachsenross</li>
<li>wp württemberg [L]: 3 Löwen</li>
<li>wp württemberg [G]: 3 Geweihstangen</li>
<li>Logo Eisenbahntechnik: Rad geflügelt (Blitze)</li>
</ul>
<table id="wtable" class="table table-hover table-responsive">
<script src="scripts/qfilter.js"></script>
<tr class="active">
<th>Korporation<!--<br/><input type="text" id="filterName" onkeyup="filter()" placeholder="Filter...">--></th>
<th>Helmzier<!--<br/><input type="text" id="filterOrt" onkeyup="filter()" placeholder="Filter...">--></th>
<th>Felder</th>
<th>Ungeteilt</th>
<th>Rechts</th>
<th>Oben</th>
<th>Oben Rechts</th>
<th>Oben Links</th>
<th>Mittelbalken</th>
<th>Herzschild</th>
<th>Vierung</th>
<th>Unten Links</th>
<th>Unten Rechts</th>
<th>Unten</th>
<th>Links</th>
<th>Rand</th>
</tr>
<?php
$mysqli = new mysqli($sccdbhost, $sccdbuser, $sccdbpassword, $sccdbname);
$mysqli->set_charset("utf8");
/* check connection */
if ($mysqli->connect_errno) {
die('Connect failed: '.$mysqli->connect_error.'\n');
}
$sql = "SELECT * FROM wappen";
$statement = $mysqli->prepare($sql);
$statement->execute();
$result = $statement->get_result();
while($row = $result->fetch_object()) {
echo "<tr id='anker".$row->id."'>";
if (empty($row->korporation)) {
echo "<td>".$row->korporation_name."</td>";
} else {
echo "<td><a href='details.php?kid=".$row->korporation."'>".$row->korporation_name."</a></td>";
}
echo "<td>".$row->helmzier."</td>";
echo "<td>".$row->felder."</td>";
echo "<td>".$row->ungeteilt."</td>";
echo "<td>".$row->rechts."</td>";
echo "<td>".$row->oben."</td>";
echo "<td>".$row->oben_rechts."</td>";
echo "<td>".$row->oben_links."</td>";
echo "<td>".$row->mittelbalken."</td>";
echo "<td>".$row->herzschild."</td>";
echo "<td>".$row->vierung."</td>";
echo "<td>".$row->unten_links."</td>";
echo "<td>".$row->unten_rechts."</td>";
echo "<td>".$row->unten."</td>";
echo "<td>".$row->links."</td>";
echo "<td>".$row->rand."</td>";
echo "</tr>";
}
?>
</table>