Changeset 880 for trunk/alert.php


Ignore:
Timestamp:
Apr 7, 2020, 10:15:48 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved code formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/alert.php

    r848 r880  
    1515    $DbResult = $this->Database->query('SELECT `News`.`Time`, `News`.`Text`, `News`.`Title`, '.
    1616        '`User`.`Name` AS `User` FROM `News` JOIN `User` ON `User`.`Id`=`News`.`User` ORDER BY `News`.`Time` DESC ');
    17     while($Article = $DbResult->fetch_assoc())
     17    while ($Article = $DbResult->fetch_assoc())
    1818    {
    1919      $Output .= ('> '.HumanDate($Article['Time']).' '.$Article['Title']."\n".strip_tags($Article['Text'])."\n\n");
    2020    }
    21     return($Output);
     21    return $Output;
    2222  }
    2323}
Note: See TracChangeset for help on using the changeset viewer.