Guest User

mkm

a guest
Feb 20th, 2013
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <?php
  2.  
  3. if (!defined('BASEPATH')) exit('No direct script access allowed');
  4.  
  5. class Validator extends MX_Controller{
  6.  
  7.     function index()
  8.     {
  9.  
  10.     }
  11.     function validator()
  12.     {
  13.         $array = $this->uri->uri_to_assoc(3);
  14.         $data['response'] = $array['value'];
  15.         $this->load_view($data);
  16.     }
  17.  
  18.     function load_view($data = null)
  19.     {
  20.         $data['module'] = "validator";
  21.         $data['view_file'] = "validator";
  22.  
  23.         echo Modules::run('template/admin', $data);
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment