Changeset 81
- Timestamp:
- Jan 1, 2017, 12:31:23 AM (8 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r80 r81 65 65 $Table = $Measure['DataTable']; 66 66 $Type = $Measure['DataType']; 67 $Manager->Execute('ALTER TABLE `'.$Table.'` CHANGE `time` `Time` DATETIME NULL DEFAULT NULL;'); 68 $Manager->Execute('ALTER TABLE `'.$Table.'` CHANGE `measure` `Measure` SMALLINT(11) NOT NULL DEFAULT "0";'); 67 $Manager->Execute('DELETE FROM `'.$Table.'` WHERE CAST(`time` AS CHAR(20))="0000-00-00 00:00:00"'); 68 $Manager->Execute('ALTER TABLE `'.$Table.'` CHANGE `time` `Time` DATETIME NULL DEFAULT NULL'); 69 $Manager->Execute('ALTER TABLE `'.$Table.'` CHANGE `measure` `Measure` SMALLINT(11) NOT NULL DEFAULT "0"'); 69 70 $Manager->Execute('ALTER TABLE `'.$Table.'` CHANGE `min` `Min` '.$Type.' NOT NULL DEFAULT "0"'); 70 71 $Manager->Execute('ALTER TABLE `'.$Table.'` CHANGE `avg` `Avg` '.$Type.' NOT NULL DEFAULT "0"'); -
trunk/Application/View.php
r69 r81 19 19 $Output .= $Content; 20 20 $Output .= '<br/><div style="text-align: center; font-size: small;">Verze: '.$Revision.' ('.HumanDate($ReleaseTime).')'. 21 ' <a href="http://svn.zdechov.net/trac/ statistic/browser/trunk">Zdrojový kód</a> '.22 '<a href="http://svn.zdechov.net/trac/ statistic/log/trunk?verbose=on">Historie změn</a></div>';21 ' <a href="http://svn.zdechov.net/trac/estetistic/browser/trunk">Zdrojový kód</a> '. 22 '<a href="http://svn.zdechov.net/trac/estetistic/log/trunk?verbose=on">Historie změn</a></div>'; 23 23 $Output .= '</body></html>'; 24 24 echo($Output);
Note:
See TracChangeset
for help on using the changeset viewer.