Last change
on this file since 651 was 651, checked in by aleg, 16 years ago |
Změněná cesta k GM a Char logům pro realmy 4 a 7.
|
File size:
1.4 KB
|
Line | |
---|
1 | <?
|
---|
2 | if(isset($_POST["sok"])) {
|
---|
3 | echo '<h2>Hledaný výraz "'.htmlspecialchars(zmensi($_POST["hledat"])).'"</h2>';
|
---|
4 | $retezec = addslashes(mysql_real_escape_string($_POST["hledat"]));
|
---|
5 | $sq = mysql_query("SElECT * FROM `chyby` WHERE `jmeno` LIKE '%$retezec%' order by `id` DESC");
|
---|
6 | if(mysql_num_rows($sq) >= 1) {
|
---|
7 | echo '
|
---|
8 | <table class="table-style01" style="width:100%;">
|
---|
9 | <tr>
|
---|
10 | <th>Datum</th>
|
---|
11 | <th style="width: 200px;">Jméno</th>
|
---|
12 | <th>Typ</th>
|
---|
13 | <th>Frakce</th>
|
---|
14 | <th style="width : 80px;">Status</th>
|
---|
15 | <th style="width : 80px;">Screen</th>
|
---|
16 | <th style="width : 80px;">Poslal</th>
|
---|
17 | <th style="width : 110px;"></th>
|
---|
18 | </tr>
|
---|
19 | ';
|
---|
20 | while($c = mysql_fetch_array($sq)) {
|
---|
21 | echo '
|
---|
22 | <tr>
|
---|
23 | <td>'.date("d.m.y",$c["datum"]).'</td>
|
---|
24 | <td>'.zmensii(htmlspecialchars($c["jmeno"])).'</td>
|
---|
25 | <td>'.getTyp($c["typ"]).'</td>
|
---|
26 | <td>'.getFrakce($c["frakce"]).'</td>
|
---|
27 | <td style="text-align: center;">'.getStatus($c["status"]).'</td>
|
---|
28 | <td style="text-align: center;">'.getScr($c["screenshot"]).'</td>
|
---|
29 | <td style="text-align: center;">'.htmlspecialchars($c["postava"]).'</td>
|
---|
30 | <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>
|
---|
31 | </tr>
|
---|
32 | ';
|
---|
33 | }
|
---|
34 |
|
---|
35 |
|
---|
36 | } else
|
---|
37 | {
|
---|
38 | echo "Na tento hledaný výraz nebylo nic nalezeno.";
|
---|
39 | }
|
---|
40 | }
|
---|
41 | ?>
|
---|
42 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.