Changeset 57 for trunk/includes/global_function.php
- Timestamp:
- Feb 3, 2009, 7:54:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global_function.php
r49 r57 106 106 ); 107 107 108 $Moderators = array(' překladatel', 'moderátor', 'administrátor');108 $Moderators = array('Překladatel', 'Moderátor', 'Administrátor'); 109 109 110 110 function WriteLog($Text, $Type) … … 119 119 } 120 120 121 122 121 $client_files = array 123 122 ( … … 131 130 ); 132 131 132 function HumanDate($SQLDateTime) 133 { 134 $DateTimeParts = explode(' ', $SQLDateTime); 135 $DateParts = explode('-', $DateTimeParts[0]); 136 return(($DateParts[2] * 1).'.'.($DateParts[1] * 1).'.'.($DateParts[0] * 1)); 137 } 138 139 133 140 ?>
Note:
See TracChangeset
for help on using the changeset viewer.