"adminBlock", 'order' => 999); class adminBlock extends block { public function admin() { return; $data = $this->data; $preset['style'] = $data['style']; $preset['layout'] = $data['layout']; $preset['effect'] = $data['effect']; $preset['count']= array('font_count_size' => $data['count']['font_count_size']); ?>
Current Preset:
"; print_R($set); echo ""; $args = array('preview' => true, 'load_type' => 'inline', 'echo' => false, 'compile' => true, ); $stylename = $set['style']['mbs-style']; $style = styles::getStyle($stylename); $collection = new collection(0 ); $collection->setStyle($style); foreach($set as $blockname => $blockdata) { $collection->setData($blockname, $blockdata); } echo $collection->display($args); } } ?>