%PDF- %PDF-
Direktori : /home/devcapijob/.trash/modules.2/blocktop/ |
Current File : /home/devcapijob/.trash/modules.2/blocktop/index.php |
<?php /** * @version 1 * @package yassir * @copyright Copyright (C) 2011 Open Source Matters. All rights reserved. * @license sharware * * * @ blocktop MODULE */ class blocktopModule extends Module{ function display(){ $this->js=$this->param['js']; $this->css=$this->param['css']; $h=($this->param['height']!='')? 'style="height:'.$this->param['height'].'px"': ''; $inner=($this->param['inner']!='')? $this->param['inner'] : $this->getInner(); return '<div class="block_top" '.$h.'>'.$inner.'</div>'; } function getInner(){ $this->js = ''; return ''; } } ?>