- Timestamp:
- Mar 24, 2009, 5:44:56 PM (16 years ago)
- Location:
- www
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
www/global.php
r168 r170 194 194 return($DbRow['Id']); 195 195 } 196 196 197 function RemoveDiacritic($Text) 198 { 199 return(str_replace( 200 array("á","č","ď","é","ě","í","ľ","ň","ó","ř","š","ť","ú","ů","ý","ž","Á","Č","Ď","É","Ě","Í","Ľ","Ň","Ó","Ř","Š","Ť","Ú","Ů","Ý","Ž"), 201 array("a","c","d","e","e","i","l","n","o","r","s","t","u","u","y","z","A","C","D","E","E","I","L","N","O","R","S","T","U","U","Y","Z"), $Text)); 202 } 203 197 204 ?> -
www/jidelna/index.php
r149 r170 13 13 14 14 //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>'; 16 16 $DbResult = $this->Database->select('Meals', '*, UNIX_TIMESTAMP(Date)','Date >= NOW() ORDER BY Date'); 17 17 while($Row = $DbResult->fetch_array()) 18 18 { 19 19 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)) 21 21 { 22 22 $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 62 62 $Output = '<form action="menuedit.php?action=savemenu" method="post"> 63 63 <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>'; 65 65 for($I = 0; $I < $this->DayCount; $I++) 66 66 { -
www/jidelna/tisk.php
r149 r170 34 34 if($Row['Status'] == 0) echo(' <br><br> '); 35 35 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)) 37 37 { 38 38 echo('<br>'.$Status[$Row['Status']].'<br> '); -
www/user.php
r169 r170 66 66 { 67 67 $this->Database->delete('UserOnline', 'Id='.$DbRow['Id']); 68 $this->System->Modules['Log']->NewRecord('User', 'Logout');68 if($DbRow['Id'] != $this->AnonymousUserId) $this->System->Modules['Log']->NewRecord('User', 'Logout'); 69 69 } 70 70 //$this->LoadPermission($this->User['Role']);
Note:
See TracChangeset
for help on using the changeset viewer.