Line | |
---|
1 | <h2>Úspìnì vyøeené chyby</h2>
|
---|
2 | <table class="table-style01" style="width:100%;">
|
---|
3 | <tr>
|
---|
4 | <th>Datum</th>
|
---|
5 | <th style="width: 200px;">Jméno</th>
|
---|
6 | <th>Typ</th>
|
---|
7 | <th>Frakce</th>
|
---|
8 | <th>Status</th>
|
---|
9 | <th style="width : 80px;">Screen</th>
|
---|
10 | <th style="width : 80px;">Poslal</th>
|
---|
11 | <th style="width : 110px;"></th>
|
---|
12 | </tr>
|
---|
13 | <?
|
---|
14 | $chyby = mysql_query("SELECT `jmeno`,`typ`,`frakce`,`status`,`datum`,`postava`,`screenshot` FROM `chyby` WHERE `status` = '3' order by `id` DESC");
|
---|
15 | while($c = mysql_fetch_array($chyby)) {
|
---|
16 | echo '
|
---|
17 | <tr>
|
---|
18 | <td>'.date("d.m.y",$c["datum"]).'</td>
|
---|
19 | <td>'.zmensii(htmlspecialchars($c["jmeno"])).'</td>
|
---|
20 | <td>'.getTyp($c["typ"]).'</td>
|
---|
21 | <td>'.getFrakce($c["frakce"]).'</td>
|
---|
22 | <td style="text-align: center;">'.getStatus($c["status"]).'</td>
|
---|
23 | <td style="text-align: center;">'.getScr($c["screenshot"]).'</td>
|
---|
24 | <td style="text-align: center;">'.htmlspecialchars($c["postava"]).'</td>
|
---|
25 | <td style="text-align: center;"><a href="http://'.$_SERVER["SERVER_NAME"].substr($_SERVER["PHP_SELF"], 0, -10).'/chyba/'.diatrika($c["jmeno"]).'/">Více</a></td>
|
---|
26 | </tr>
|
---|
27 | ';
|
---|
28 | }
|
---|
29 | ?>
|
---|
30 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.