Changeset 585


Ignore:
Timestamp:
May 15, 2009, 10:33:38 AM (15 years ago)
Author:
george
Message:
  • Přidáno: Stránka projektu HoF Client.
Location:
trunk
Files:
4 added
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r584 r585  
    4646  array('link' => '?page=dotation', 'Text' => 'Dotace'),
    4747  array('link' => '?page=teamspeak', 'Text' => 'Team speak'),
     48  array('link' => '?page=client', 'Text' => 'HoF Client'),
    4849  array('link' => '?page=gmlog', 'Text' => 'GM log'),
    4950  array('link' => '?page=search', 'Text' => 'Vyhledávání'),   
  • trunk/pages/autori.php

    r577 r585  
    11<?php
    22
    3 include("inc/db.php");
    4 
    53echo('<h2 align="center">Autoři</h2>');
    6 
    74
    85echo('Aktivní programátoři: Barny, Chronos<br />');
  • trunk/rss.php

    r579 r585  
    11<?php
    22
    3 header('Content-Type: text/xml');
     3Header('Content-Type: text/xml');
    44
    55include('inc/db.php');
     
    1515    $Config['Web']['Title'] .= ' - články';
    1616    $DbResult = $db->query('SELECT UNIX_TIMESTAMP(date), articles.* FROM articles ORDER BY date DESC LIMIT '.$NewsCount);
    17     while($Row = $DbResult->fetch_array())
     17    while($Row = $DbResult->fetch_assoc())
    1818    {
    1919      $Items[] = array(
    2020        'Title' => $Row['title'],
    2121        'Link' => 'http://'.$_SERVER['SERVER_NAME'].$Config['Web']['BaseURL'],
    22         'Description' => $Row['text']." (".$Row['autor'].")",
     22        'Description' => $Row['text'].' ('.$Row['autor'].')',
    2323        'Time' => $Row['UNIX_TIMESTAMP(date)'],
    2424      );
     
    3030    $db->select_db($Config['Mangos']['DatabaseCharacters']);
    3131    $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_array())
     32    while($Row = $DbResult->fetch_assoc())
    3333    {
    3434      $Items[] = array(
     
    4545    $Config['Web']['Title'] .= ' - finanční příspěvky';
    4646    $DbResult = $db->query('SELECT UNIX_TIMESTAMP(time), operation, description, money FROM finance ORDER BY time DESC LIMIT '.$NewsCount);
    47     while($Row = $DbResult->fetch_array())
     47    while($Row = $DbResult->fetch_assoc())
    4848    {
    4949      $Items[] = array
Note: See TracChangeset for help on using the changeset viewer.