source: trunk/pages/tickets.php

Last change on this file was 579, checked in by george, 16 years ago
  • Opraveno: Doplněny ikony pro povolání death knight a soubory přejmenovány dle minimanageru.
  • Upraveno: Přeformátování a pročištění různých stránek.
File size: 783 bytes
Line 
1<?php
2
3echo('<table border="1" width="555">
4 <tr>
5 <th>Podal</th>
6 <th>Podal</th>
7 <th>Text</th>
8 <th>Spravovat</th>
9 </tr>');
10
11$db->select_db($Config['Mangos']['DatabaseCharacters']);
12$load_tickets = $db->query('SELECT * FROM `character_ticket` ORDER BY `ticket_id` ASC');
13while($row = $load_tickets->fetch_assoc())
14{
15 $human_date = $server->HumanDate($row['ticket_lastchange']);
16 $player_name = $player->GuidToCharName($row['guid']);
17 echo('<tr>
18 <td align="center">'.$player_name.'</td>
19 <td align="center">'.$human_date.'</td>
20 <td><font size="2">'.$row['ticket_text'].'</font></td>
21 <td align="center"><a href="?ticket='.$row['ticket_id'].'">Spravovat</a></td>
22 </tr>');
23}
24echo('</table>');
25
26?>
Note: See TracBrowser for help on using the repository browser.