Welcome.php
1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* map to /index.php/welcome/<method_name>
* @see https://codeigniter.com/user_guide/general/urls.html
*/
public function desk()
{
echo '';
}
public function index()
{
$this->load->view('welcome/work');
}
public function work()
{
$this->load->view('welcome/work');
}
public function user()
{
$this->load->view('welcome/user');
}
public function loan()
{
$this->load->view('welcome/loan');
}
public function finance()
{
$this->load->view('welcome/finance');
}
public function data()
{
$this->load->view('welcome/data');
}
public function perm()
{
$this->load->view('welcome/perm');
}
}