Changeset 850 for trunk/Modules/News
- Timestamp:
- Jan 17, 2016, 8:15:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/News/News.php
r839 r850 29 29 function ShowBox() 30 30 { 31 $Output = '<strong><a href="'.$this->System->Link('/news/').'">'.T('News').':</a></strong><div class="NewsBox">'; 31 $Count = 6; 32 $Output = '<strong><a href="'.$this->System->Link('/news/').'">'.T('News').':</a></strong>'. 33 '<div class="NewsBox">'; 32 34 $DbResult = $this->Database->query('SELECT `News`.`Time`, `User`.`Name`, `News`.`Text`,`News`.`Title`, `News`.`Id` '. 33 ' FROM `News` JOIN `User` ON `User`.`ID` = `News`.`User` ORDER BY `Time` DESC LIMIT 10');35 ' FROM `News` JOIN `User` ON `User`.`ID` = `News`.`User` ORDER BY `Time` DESC LIMIT '.$Count); 34 36 while($DbRow = $DbResult->fetch_assoc()) 35 37 {
Note:
See TracChangeset
for help on using the changeset viewer.