first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user