EventView.php
authorChris <chris@roojs.com>
Fri, 12 Oct 2012 08:25:58 +0000 (16:25 +0800)
committerChris <chris@roojs.com>
Fri, 12 Oct 2012 08:25:58 +0000 (16:25 +0800)
EventView.php

index 97ba04e..7646222 100644 (file)
@@ -78,7 +78,10 @@ class Pman_Admin_EventView extends Pman
         $filesJ = json_decode(file_get_contents($file));
         echo '<br /><PRE>Images Preview</PRE>';
         
+                
         foreach($filesJ->FILES as $f){
+            $path = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
+            echo '<img src="'.$path.'" />';
             print_r($f);
         }