projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d25700d
)
EventView.php
author
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 11:05:31 +0000
(19:05 +0800)
committer
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 11:05:31 +0000
(19:05 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
5aa2d7c
..
b0f62a4
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-78,18
+78,10
@@
class Pman_Admin_EventView extends Pman
$filesJ = json_decode(file_get_contents($file));
echo '<br /><PRE>Images Preview</PRE>';
$filesJ = json_decode(file_get_contents($file));
echo '<br /><PRE>Images Preview</PRE>';
- // should be change to event dir
- $path = $ff->baseURL. "/Images/Thumb/150/{$ev->on_id}";
+
foreach($filesJ->FILES as $f){
$ip = $ff->baseURL."/image/events/". $f->tmp_name;
foreach($filesJ->FILES as $f){
$ip = $ff->baseURL."/image/events/". $f->tmp_name;
- //$img = getimagesize($ip);
-// header("Content-type: image/jpeg");
- //readfile($ip);
-// addslashes($ip);
echo "<img src=\"{$ip}\" width=\"150\"/>";
echo "<img src=\"{$ip}\" width=\"150\"/>";
- //$path = $ff->baseURL. "Images/Thumb/150/$ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
- //echo '<img src="'.$path.'" />';
- print_r($ip);
}
}