Changeset 377 for beta/inc/server.php
- Timestamp:
- Sep 16, 2008, 6:53:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/inc/server.php
r373 r377 127 127 foreach($gm_log as $row) 128 128 { 129 129 130 if (strpos($row,"Command:") == true) 130 131 { … … 140 141 else 141 142 {$sel_name = "";} 143 $date_arr = explode(" ",$edited_arr[0]); 144 $date = explode("-",$date_arr[0]); 145 $time_stp = explode(":",$date_arr[1]); 146 $time = mktime($time_stp[0],$time_stp[1],$time_stp[2],$date[1],$date[2],$date[0]); 147 $human_date = date ("d.m.Y H:i:s",$time); 142 148 echo " 143 149 <tr> 144 <td><font size=\"2\">".$ edited_arr[0]."</font></td>150 <td><font size=\"2\">".$human_date."</font></td> 145 151 <td>".$edited_arr[2]."</td> 146 152 <td>".$edited_arr[1]."</td> … … 157 163 $edited = str_replace(")", "", $edited); 158 164 $edited_arr = explode(";",$edited); 165 166 $date_arr = explode(" ",$edited_arr[0]); 167 $date = explode("-",$date_arr[0]); 168 $time_stp = explode(":",$date_arr[1]); 169 $time = mktime($time_stp[0],$time_stp[1],$time_stp[2],$date[1],$date[2],$date[0]); 170 $human_date = date ("d.m.Y H:i:s",$time); 171 159 172 echo " 160 173 <tr> 161 <td><font size=\"2\">".$ edited_arr[0]."</font></td>174 <td><font size=\"2\">".$human_date."</font></td> 162 175 <td>".$edited_arr[1]."</td> 163 176 <td>Send : ".$edited_arr[3].")</td> … … 175 188 $edited = str_replace(")", "", $edited); 176 189 $edited_arr = explode(";",$edited); 190 191 $date_arr = explode(" ",$edited_arr[0]); 192 $date = explode("-",$date_arr[0]); 193 $time_stp = explode(":",$date_arr[1]); 194 $time = mktime($time_stp[0],$time_stp[1],$time_stp[2],$date[1],$date[2],$date[0]); 195 $human_date = date ("d.m.Y H:i:s",$time); 177 196 echo " 178 197 <tr> 179 <td><font size=\"2\">".$ edited_arr[0]."</font></td>198 <td><font size=\"2\">".$human_date."</font></td> 180 199 <td>".$edited_arr[1]."</td> 181 200 <td>Trade : ".$edited_arr[3].")</td>
Note:
See TracChangeset
for help on using the changeset viewer.