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

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Meet/MeetPage.php

    r49 r55  
    8484      '(SELECT MeetSource.URL FROM MeetSource WHERE MeetSource.Id = MeetItem.Source) AS SourceURL FROM MeetItem) AS T WHERE (T.Hidden=0) AND '.
    8585      $Where.$Order['SQL'].$PageList['SQLLimit']);
    86     while($MeetItem = $DbResult->fetch_assoc())
     86    while ($MeetItem = $DbResult->fetch_assoc())
    8787    {
    8888      $Output .= '<tr>'.
     
    109109      $Output .= '<div><a href="'.$this->System->Link('/seznamka/rss/').'"><img src="'.$this->System->Link('/images/rss20.png').'" alt="rss20"/></a></div>';
    110110    }
    111     return($Output);
     111    return $Output;
    112112  }
    113113}
     
    145145    $this->Title = 'Inzerát - Seznamka - '.$this->Title;
    146146    $Output = '';
    147     if(count($this->System->PathItems) > 2)
     147    if (count($this->System->PathItems) > 2)
    148148    {
    149149      $id = $this->System->PathItems[2] * 1;
     
    211211    $DbResult = $this->Database->select('MeetItem', '*, (SELECT MeetSource.Name FROM MeetSource WHERE MeetSource.Id = MeetItem.Source) AS SourceName, '.
    212212      '(SELECT MeetSource.URL FROM MeetSource WHERE MeetSource.Id = MeetItem.Source) AS SourceURL', '`Hidden`=0 ORDER BY `Time` DESC LIMIT 30');
    213     while($MeetItem = $DbResult->fetch_assoc())
     213    while ($MeetItem = $DbResult->fetch_assoc())
    214214    {
    215215      $Title = $MeetItem['Name'];
Note: See TracChangeset for help on using the changeset viewer.