Changeset 316 for administrace
- Timestamp:
- Mar 23, 2008, 12:00:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/rss_tickets.php
r315 r316 1 1 <?php 2 header("Content-Type: text/xml");2 Header("Content-Type: text/xml"); 3 3 4 4 include_once('../global.php'); 5 5 include_once('rss_generator.php'); 6 6 7 $NewsCount = 15;8 9 7 // Get news from database by selected categories 10 8 $Items = array(); 11 9 $Database->select_db('characters'); 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`");10 $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`"); 13 11 while($Row = $DbResult->fetch_array()) 14 12 { … … 22 20 23 21 echo(GenerateRSS(array( 24 'Title' => 'WoW GM ádanky',22 'Title' => 'WoW GM ¾ádanky', 25 23 'Link' => 'http://wow.zdechov.net/administrace/', 26 'Description' => 'Po adavky hráèù na GM',24 'Description' => 'Po¾adavky hráèù na GM', 27 25 'WebmasterEmail' => 'wow@zdechov.net', 28 26 'Items' => $Items)));
Note:
See TracChangeset
for help on using the changeset viewer.