mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-04 06:42:27 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			575 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			575 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php  
 | 
						|
 | 
						|
 | 
						|
class ControllerCommonMenu extends Controller {
 | 
						|
 | 
						|
   protected function index() {
 | 
						|
 | 
						|
      $this->id = "menu";
 | 
						|
      $this->template = "common/menu.tpl";
 | 
						|
 | 
						|
      $db = Registry::get('db');
 | 
						|
 | 
						|
      $this->load->model('saas/customer');
 | 
						|
 | 
						|
      $this->data['admin_user'] = Registry::get('admin_user');
 | 
						|
      $this->data['auditor_user'] = Registry::get('auditor_user');
 | 
						|
      $this->data['readonly_admin'] = Registry::get('readonly_admin');
 | 
						|
 | 
						|
      $this->data['settings'] = $this->model_saas_customer->get_customer_settings_by_email();
 | 
						|
 | 
						|
      $this->render();
 | 
						|
   }
 | 
						|
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
 | 
						|
?>
 |