66 lines
1.8 KiB
PHP
66 lines
1.8 KiB
PHP
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Tools 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 index() {
|
|
$this->load->view('tools/view_equations');
|
|
// redirect("auth/index");
|
|
}
|
|
|
|
public function basic1() {
|
|
$this->load->view('tools/view_basic1');
|
|
// redirect("auth/index");
|
|
}
|
|
|
|
public function grace() {
|
|
$this->load->view('tools/view_quad1');
|
|
// redirect("auth/index");
|
|
}
|
|
|
|
public function simul1() {
|
|
$this->load->view('tools/view_simul1');
|
|
$this->load->view('tools/tools_footer');
|
|
}
|
|
|
|
|
|
public function math1() {
|
|
$this->load->view('tools/view_math1');
|
|
$this->load->view('tools/tools_footer');
|
|
// redirect("auth/index");
|
|
}
|
|
|
|
public function math0() {
|
|
$this->load->view('tools/view_math0');
|
|
$this->load->view('tools/tools_footer');
|
|
// redirect("auth/index");
|
|
}
|
|
public function math3() {
|
|
$this->load->view('tools/view_math3');
|
|
$this->load->view('tools/tools_footer');
|
|
// redirect("auth/index");
|
|
}
|
|
public function exp1() {
|
|
$this->load->view('tools/view_exp1');
|
|
$this->load->view('tools/tools_footer');
|
|
// redirect("auth/index");
|
|
}
|
|
|
|
}
|