Changeset 816 for trunk/alert.php


Ignore:
Timestamp:
Feb 22, 2015, 11:20:50 PM (10 years ago)
Author:
chronos
Message:
  • Modified: Tabs converted to spaces.
  • Modified: Remove spaces from end of lines.
  • Added: Code format script.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/alert.php

    r700 r816  
    1414
    1515    $Output = 'SERVERALERT:'."\n";
    16    
     16
    1717    $Output .= 'Toto jsou aktuality z projektu wowpreklad.zdechov.net:'."\n"."\n";
    1818
    1919    $Database = new mysqli($Config['Database']['Host'],$Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']);
    2020    $Database->query('SET NAMES "'.$Config['Database']['Charset'].'"');
    21                 $DbResult = $Database->query('SELECT `News`.`Time`, `News`.`Text`, `News`.`Title`, '.
    22                                 '`User`.`Name` AS `User` FROM `News` JOIN `User` ON `User`.`Id`=`News`.`User` ORDER BY `News`.`Time` DESC ');
     21    $DbResult = $Database->query('SELECT `News`.`Time`, `News`.`Text`, `News`.`Title`, '.
     22        '`User`.`Name` AS `User` FROM `News` JOIN `User` ON `User`.`Id`=`News`.`User` ORDER BY `News`.`Time` DESC ');
    2323    while($Article = $DbResult->fetch_assoc())
    2424    {
Note: See TracChangeset for help on using the changeset viewer.