Changeset 880 for trunk/alert.php
- Timestamp:
- Apr 7, 2020, 10:15:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/alert.php
r848 r880 15 15 $DbResult = $this->Database->query('SELECT `News`.`Time`, `News`.`Text`, `News`.`Title`, '. 16 16 '`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()) 18 18 { 19 19 $Output .= ('> '.HumanDate($Article['Time']).' '.$Article['Title']."\n".strip_tags($Article['Text'])."\n\n"); 20 20 } 21 return ($Output);21 return $Output; 22 22 } 23 23 }
Note:
See TracChangeset
for help on using the changeset viewer.