Your IP : 216.73.216.11


Current Path : /home/semix18/public_html/optimum-wycena.pl/modules/Credits/
Upload File :
Current File : /home/semix18/public_html/optimum-wycena.pl/modules/Credits/admin.php

<?php

if (!defined('LOADED_AS_ADMIN_MODULE'))
{ 
		require_once('../../core/Dobi.php');  
		Dobi::exception('dobiExcDirectAccess', 1, '', 'direct');
}

class CreditsAdmin implements DobiAdminModule, action_view
{	
	private $credits_current_action_to_run;
	
	public function __construct($credits_current_action_to_run)
	{
		$this->credits_current_action_to_run = $credits_current_action_to_run;
	}
	
	public function _defaultAction() 
	{
	    return $this->view();	 
	}
	
	public function _executeAction() 
	{
	    if (!Registry::getObject('session')->getUserAccess(LA_INFORMATION))
	    {
	   		echo '<span style="font-weight: bold;">'._ACCESS_DENIED_.'</span> ' . _ACCESS_DENIED_MSG_;
			return;   
	    }	
	   $go = $this->credits_current_action_to_run;
	   $this->$go();	  
	}
	
    public function view()
    {
		echo '<p style="display: block; font-weight: bold; font-size: 110%;">TinyMCE (<a href="http://tinymce.moxiecode.com/">http://tinymce.moxiecode.com/</a>)<br /><br /></p>';
		echo _CREDITS_TINYMCE_HTML_;
	}	
}

?>