Beispiel #1
0
 private static function images()
 {
     $rs = 'NONE';
     if (!empty($_POST['call'])) {
         $args = GALLERY::dirLoad($_POST['call']);
         CHECK::is_array_exist($args);
         if (CHECK::is_pass()) {
             foreach ($args as $filePath) {
                 VIEW::newBlock('TAG_GALLERY_IMAGE');
                 VIEW::assign('IMAGES_PATH', CORE::$cfg['dns'] . $filePath);
             }
             new VIEW('ogs-admin-gallery-image-tpl.html', array('IMAGE' => self::$temp_option["IMAGE"]), true, 1);
             $rs = VIEW::$output;
         }
     }
     echo $rs;
 }