mirror of
https://github.com/dyzulk/dyzulk-apps.git
synced 2026-01-26 13:22:02 +07:00
Update & Security
This commit is contained in:
29
application/controllers/Account.php
Normal file
29
application/controllers/Account.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Account extends CI_Controller {
|
||||
|
||||
|
||||
public function index()
|
||||
|
||||
{
|
||||
$data['title'] = 'My Account';
|
||||
$data['user'] = $this->db->get_where('users_account', ['email' => $this->session->userdata('email')])->row_array();
|
||||
|
||||
$this->load->view('partials/01header', $data);
|
||||
$this->load->view('account', $data);
|
||||
}
|
||||
|
||||
|
||||
public function security()
|
||||
|
||||
{
|
||||
$data['title'] = 'Security';
|
||||
$data['user'] = $this->db->get_where('users_account', ['email' => $this->session->userdata('email')])->row_array();
|
||||
|
||||
$this->load->view('partials/01header', $data);
|
||||
$this->load->view('security', $data);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user