33 lines
669 B
PHP
33 lines
669 B
PHP
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class User extends CI_Controller {
|
|
|
|
public function index()
|
|
{
|
|
// echo "ameye kvkgkg";
|
|
$this->load->view('users/view_index');
|
|
}
|
|
|
|
public function registration(){
|
|
$this->load->view('users/view_registration');
|
|
}
|
|
|
|
public function login()
|
|
{
|
|
$submit = NULL;
|
|
extract($_POST);
|
|
if ($submit)
|
|
{
|
|
|
|
redirect('member');
|
|
}
|
|
// redirect('member');
|
|
$this->load->view('users/view_index');
|
|
}
|
|
|
|
|
|
|
|
}
|