Вход Регистрация
Файл: upload/module/ad/include/component/block/sponsored.class.php
Строк: 37
<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 * 
 * 
 * @copyright        [PHPFOX_COPYRIGHT]
 * @author          Raymond_Benc
 * @package         Phpfox_Component
 * @version         $Id: sponsored.class.php 4383 2012-06-27 10:09:32Z Raymond_Benc $
 */
class Ad_Component_Block_Sponsored extends Phpfox_Component
{
    
/**
     * Class process method wnich is used to execute this component.
     */
    
public function process()
    {
        
$this->template()->assign(array(
                
'sHeader' => Phpfox::getPhrase('ad.sponsored'),
                
'aFooter' => array(
                    
Phpfox::getPhrase('ad.create_an_ad') => $this->url()->makeUrl('ad.add')
                )
            )
        );
        
        return 
'block';
    }
    
    
/**
     * Garbage collector. Is executed after this class has completed
     * its job and the template has also been displayed.
     */
    
public function clean()
    {
        ((
$sPlugin Phpfox_Plugin::get('ad.component_block_sponsored_clean')) ? eval($sPlugin) : false);
    }
}

?>
Онлайн: 2
Реклама