Changeset 55 for trunk/Modules/Event/EventPage.php
- Timestamp:
- Apr 7, 2020, 12:55:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Event/EventPage.php
r52 r55 79 79 '(SELECT EventSource.URL FROM EventSource WHERE EventSource.Id = Event.Source) AS SourceURL FROM Event) AS T WHERE (T.Hidden=0) AND '. 80 80 $Where.$Order['SQL'].$PageList['SQLLimit']); 81 while ($Event = $DbResult->fetch_assoc())81 while ($Event = $DbResult->fetch_assoc()) 82 82 { 83 83 $Output .= '<tr>'. … … 102 102 $Output .= '<div><a href="'.$this->System->Link('/udalosti/rss/').'"><img src="'.$this->System->Link('/images/rss20.png').'" alt="rss20"/></a></div>'; 103 103 } 104 return ($Output);104 return $Output; 105 105 } 106 106 } … … 138 138 $this->Title = 'Událost - Události - '.$this->Title; 139 139 $Output = ''; 140 if (count($this->System->PathItems) > 2)140 if (count($this->System->PathItems) > 2) 141 141 { 142 142 $id = $this->System->PathItems[2] * 1; … … 199 199 $DbResult = $this->Database->select('Event', '*, (SELECT EventSource.Name FROM EventSource WHERE EventSource.Id = Event.Source) AS SourceName, '. 200 200 '(SELECT EventSource.URL FROM EventSource WHERE EventSource.Id = Event.Source) AS SourceURL', '`Hidden`=0 ORDER BY `TimeFrom` DESC LIMIT 30'); 201 while ($Event = $DbResult->fetch_assoc())201 while ($Event = $DbResult->fetch_assoc()) 202 202 { 203 203 $Title = $Event['Title'];
Note:
See TracChangeset
for help on using the changeset viewer.