Ignore:
Timestamp:
Apr 7, 2020, 12:55:39 AM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved code formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Event/EventPage.php

    r52 r55  
    7979      '(SELECT EventSource.URL FROM EventSource WHERE EventSource.Id = Event.Source) AS SourceURL FROM Event) AS T WHERE (T.Hidden=0) AND '.
    8080      $Where.$Order['SQL'].$PageList['SQLLimit']);
    81     while($Event = $DbResult->fetch_assoc())
     81    while ($Event = $DbResult->fetch_assoc())
    8282    {
    8383      $Output .= '<tr>'.
     
    102102      $Output .= '<div><a href="'.$this->System->Link('/udalosti/rss/').'"><img src="'.$this->System->Link('/images/rss20.png').'" alt="rss20"/></a></div>';
    103103    }
    104     return($Output);
     104    return $Output;
    105105  }
    106106}
     
    138138    $this->Title = 'Událost - Události - '.$this->Title;
    139139    $Output = '';
    140     if(count($this->System->PathItems) > 2)
     140    if (count($this->System->PathItems) > 2)
    141141    {
    142142      $id = $this->System->PathItems[2] * 1;
     
    199199    $DbResult = $this->Database->select('Event', '*, (SELECT EventSource.Name FROM EventSource WHERE EventSource.Id = Event.Source) AS SourceName, '.
    200200      '(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())
    202202    {
    203203      $Title = $Event['Title'];
Note: See TracChangeset for help on using the changeset viewer.