Changeset 585
- Timestamp:
- May 15, 2009, 10:33:38 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r584 r585 46 46 array('link' => '?page=dotation', 'Text' => 'Dotace'), 47 47 array('link' => '?page=teamspeak', 'Text' => 'Team speak'), 48 array('link' => '?page=client', 'Text' => 'HoF Client'), 48 49 array('link' => '?page=gmlog', 'Text' => 'GM log'), 49 50 array('link' => '?page=search', 'Text' => 'Vyhledávání'), -
trunk/pages/autori.php
r577 r585 1 1 <?php 2 2 3 include("inc/db.php");4 5 3 echo('<h2 align="center">Autoři</h2>'); 6 7 4 8 5 echo('Aktivní programátoři: Barny, Chronos<br />'); -
trunk/rss.php
r579 r585 1 1 <?php 2 2 3 header('Content-Type: text/xml');3 Header('Content-Type: text/xml'); 4 4 5 5 include('inc/db.php'); … … 15 15 $Config['Web']['Title'] .= ' - články'; 16 16 $DbResult = $db->query('SELECT UNIX_TIMESTAMP(date), articles.* FROM articles ORDER BY date DESC LIMIT '.$NewsCount); 17 while($Row = $DbResult->fetch_a rray())17 while($Row = $DbResult->fetch_assoc()) 18 18 { 19 19 $Items[] = array( 20 20 'Title' => $Row['title'], 21 21 'Link' => 'http://'.$_SERVER['SERVER_NAME'].$Config['Web']['BaseURL'], 22 'Description' => $Row['text']. " (".$Row['autor'].")",22 'Description' => $Row['text'].' ('.$Row['autor'].')', 23 23 'Time' => $Row['UNIX_TIMESTAMP(date)'], 24 24 ); … … 30 30 $db->select_db($Config['Mangos']['DatabaseCharacters']); 31 31 $DbResult = $db->query('SELECT `character_ticket`.`ticket_text` AS `text`, `characters`.`name` AS `name` FROM `character_ticket` JOIN `characters` ON `characters`.`guid` = `character_ticket`.`guid`'); 32 while($Row = $DbResult->fetch_a rray())32 while($Row = $DbResult->fetch_assoc()) 33 33 { 34 34 $Items[] = array( … … 45 45 $Config['Web']['Title'] .= ' - finanční příspěvky'; 46 46 $DbResult = $db->query('SELECT UNIX_TIMESTAMP(time), operation, description, money FROM finance ORDER BY time DESC LIMIT '.$NewsCount); 47 while($Row = $DbResult->fetch_a rray())47 while($Row = $DbResult->fetch_assoc()) 48 48 { 49 49 $Items[] = array
Note:
See TracChangeset
for help on using the changeset viewer.