Changeset 315
- Timestamp:
- Mar 22, 2008, 11:51:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/rss_tickets.php
r186 r315 1 <? 1 <?php 2 2 header("Content-Type: text/xml"); 3 3 … … 9 9 // Get news from database by selected categories 10 10 $Items = array(); 11 12 11 $Database->select_db('characters'); 13 $DbResult = $Database->query("SELECT character_ticket.ticket_text AS text, character.name AS name FROM character_ticket JOIN `character` ON character.guid = character_ticket.guid");12 $DbResult = $Database->query("SELECT `character_ticket`.`ticket_text` AS `text`, `characters.name` AS `name` FROM `character_ticket` JOIN `characters` ON `characters`.`guid` = `character_ticket`.`guid`"); 14 13 while($Row = $DbResult->fetch_array()) 15 14 { … … 23 22 24 23 echo(GenerateRSS(array( 25 'Title' => 'WoW GM lístky',24 'Title' => 'WoW GM ádanky', 26 25 'Link' => 'http://wow.zdechov.net/administrace/', 27 'Description' => 'Poadavky hráèù na GM WoW serveru Heroes of Fantasy',26 'Description' => 'Poadavky hráèù na GM', 28 27 'WebmasterEmail' => 'wow@zdechov.net', 29 28 'Items' => $Items)));
Note:
See TracChangeset
for help on using the changeset viewer.