SHARE
TWEET

Untitled

a guest Jan 14th, 2020 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function index()
  2.     {
  3.         $asociados = $this->asociacion_model->view_all('inst_id,inst_nombre','v_inst_ml_arc',FALSE,'inst_nombre','inst_nombre')->result_array();
  4.  
  5.         if ($asociados) {
  6.            
  7.             foreach ($asociados as $value) {
  8.  
  9.                 $ml = $this->asociados->view_all('*','v_inst_ml_arc',array('inst_id' => $value['inst_id']),FALSE,FALSE)->result_array();
  10.  
  11.                 $asociados[$value['inst_nombre']] = $ml;
  12.             }
  13.  
  14.             $this->data['asociados'] = $asociados;
  15.  
  16.         }else{
  17.  
  18.             $this->data['asociados'] = FALSE;
  19.         }
  20.        
  21.         $this->data['message'] = (validation_errors() ? validation_errors() : ($this->ion_auth->errors() ? $this->ion_auth->errors() : $this->session->flashdata('message')));
  22.  
  23.         $this->template->webpage_render('webpage/asociados', $this->data);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top