[ Avaa Bypassed ]




Upload:

Command:

www-data@18.216.67.249: ~ $
<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Auth_Model
 *
 * @author Nafeesa
 */
if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Role_Model extends MY_Model {
    
    function __construct() {
        parent::__construct();
    }
               
    function duplicate_check($name, $id = null ){           
           
        if($id){
            $this->db->where_not_in('id', $id);
        }
        $this->db->where('name', $name);
        return $this->db->get('roles')->num_rows();            
    }
}

Filemanager

Name Type Size Permission Actions
Administrator_Model.php File 4.26 KB 0777
Emailsetting_Model.php File 1.53 KB 0777
Emailtemplate_Model.php File 1.41 KB 0777
Feedback_Model.php File 1.04 KB 0777
Openinghour_Model.php File 1.54 KB 0777
Payment_Model.php File 1.53 KB 0777
Role_Model.php File 739 B 0777
School_Model.php File 1.72 KB 0777
Setting_Model.php File 759 B 0777
Sms_Model.php File 1.5 KB 0777
Smstemplate_Model.php File 1.38 KB 0777
Superadmin_Model.php File 1.27 KB 0777
Year_Model.php File 1.28 KB 0777
index.html File 131 B 0777