Changeset 170 for www/jidelna


Ignore:
Timestamp:
Mar 24, 2009, 5:44:56 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Chyba názvu proměnné na stránce jídelníčku.
  • Opraveno: Nelogovat odhlášení anonymních uživatelů.
Location:
www/jidelna
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • www/jidelna/index.php

    r149 r170  
    1313
    1414    //echo('Dnes je '.HumanDate(date('Y-m-d')).'<br>');
    15     $Output = '<table align="center" border="1" cellspacing="0" cellpadding="5"><tr><th>Den</th><th>Datum</th><th>Polévka</th><th>Hlavní jídlo</th></tr>';
     15    $Output = '<table align="center" class="WideTable"><tr><th>Den</th><th>Datum</th><th>Polévka</th><th>Hlavní jídlo</th></tr>';
    1616    $DbResult = $this->Database->select('Meals', '*, UNIX_TIMESTAMP(Date)','Date >= NOW() ORDER BY Date');
    1717    while($Row = $DbResult->fetch_array())
    1818    {
    1919      if($Row['Status'] == 1) $Output .= '<tr><td>'.$Dny[date('w', $Row['UNIX_TIMESTAMP(Date)'])].'</td><td align="right">'.HumanDate($Row['Date']).'</td><td>'.$Row['Soup'].'</td><td>'.$Row['Meal'].'</td></tr>';
    20       else if(($Row['status' ] == 2) or ($Row['status'] == 3))
     20      else if(($Row['Status' ] == 2) or ($Row['Status'] == 3))
    2121      {
    2222        $Output .= '<tr><td>'.$Dny[date('w',$Row['UNIX_TIMESTAMP(Date)'])].'</td><td align="right">'.HumanDate($Row['Date']).'</td><td colspan="2" align="center">'.$Status[$Row['Status']].'</td></tr>';
  • www/jidelna/menuedit.php

    r149 r170  
    6262    $Output = '<form action="menuedit.php?action=savemenu" method="post">
    6363<fieldset><legend>Jídlo pro jednotlivé dny</legend>
    64 <table align="center" border="1" cellspacing="0" cellpadding="5"><tr><th>Den</th><th>Datum</th><th>Týden</th><th>Polévka</th><th>Hlavní jídlo</th><th>Stav</th></tr>';
     64<table align="center" class="WideTable"><tr><th>Den</th><th>Datum</th><th>Týden</th><th>Polévka</th><th>Hlavní jídlo</th><th>Stav</th></tr>';
    6565    for($I = 0; $I < $this->DayCount; $I++)
    6666    {
  • www/jidelna/tisk.php

    r149 r170  
    3434  if($Row['Status'] == 0) echo('&nbsp;<br><br>&nbsp;');
    3535  if($Row['Status'] == 1) echo('Polévka: '.$Row['Soup'].'<br><br>'.$Row['Meal']);
    36   else if(($Row['status'] == 2) or ($Row['status'] == 3))
     36  else if(($Row['Status'] == 2) or ($Row['Status'] == 3))
    3737  {
    3838    echo('<br>'.$Status[$Row['Status']].'<br>&nbsp;');
Note: See TracChangeset for help on using the changeset viewer.