Changeset 203 for trunk/otevreno.php


Ignore:
Timestamp:
Apr 30, 2009, 11:53:58 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Validace HTML stránky otvírací doby subjektů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/otevreno.php

    r164 r203  
    1111  function Show()
    1212  {
    13     $Output = '<div align="center">';
     13    $Output = '<div class="Centred">';
    1414    $DbResult = $this->Database->query('SELECT SubjectOpenTime.*, DATE_FORMAT(SubjectOpenTime.UpdateTime, "%e.%c.%Y") as UpdateTime, Subject.Name as Name FROM SubjectOpenTime JOIN Subject ON Subject.Id = SubjectOpenTime.Subject ORDER BY Name');
    1515    while($Subject = $DbResult->fetch_assoc())
     
    2929      }
    3030
    31           $Output .= '<table class="WideTable">
     31            $Output .= '<table class="WideTable">
    3232<tr><th>Den</th><th>Čas</th></tr>';
    3333      foreach($this->DaysOfWeek as $DayIndex => $DayOfWeek)
     
    4646      }
    4747      $Output .= '</table>Aktualizováno: '.$Subject['UpdateTime'].'<br />';
    48       if($Subject['Notice'] != '') $Output .= '</table>Poznámka: '.$Subject['Notice'].'<br />';
     48      if($Subject['Notice'] != '') $Output .= 'Poznámka: '.$Subject['Notice'].'<br />';
    4949      $Output .= '<br />';
    5050    }
     51    $Output .= '</div>';
    5152    return($Output);
    5253  }
Note: See TracChangeset for help on using the changeset viewer.