Changeset 61 for trunk/index.php


Ignore:
Timestamp:
Apr 28, 2021, 6:11:27 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Limit display of meet and event to defined time interval.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r56 r61  
    235235
    236236    // Meets
    237     $DbResult = $this->Database->query('SELECT `Id`,`Time` FROM `MeetItem` WHERE (`Hidden`=0)');
     237    $DbResult = $this->Database->query('SELECT `Id`,`Time` FROM `MeetItem` WHERE '.GetDefaultMeetFilter());
    238238    while ($DbRow = $DbResult->fetch_array())
    239239    {
     
    247247
    248248    // Events
    249     $DbResult = $this->Database->query('SELECT `Id`,`TimeFrom` FROM `Event` WHERE (`Hidden`=0)');
     249    $DbResult = $this->Database->query('SELECT `Id`,`TimeFrom` FROM `Event` WHERE '.GetDefaultEventFilter());
    250250    while ($DbRow = $DbResult->fetch_array())
    251251    {
Note: See TracChangeset for help on using the changeset viewer.