26 lines
898 B
PHP
26 lines
898 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Encoder extends MY_Controller {
|
|
|
|
public function __construct() {
|
|
parent::__construct('tools');
|
|
}
|
|
|
|
public function base64() {
|
|
$this->load->view('header', ['active' => 'base64-encoder', 'title' => lang('base64_site_title')]);
|
|
// $this->load->view('encoder', ['type' => 'base64']);
|
|
$this->load->view('tools/encoders/base64');
|
|
$this->load->view('footer');
|
|
// $this->load->view('encoder_end', ['type' => 'base64']);
|
|
}
|
|
|
|
public function url() {
|
|
$this->load->view('header', ['active' => 'url-encoder', 'title' => lang('url_site_title')]);
|
|
// $this->load->view('encoder', ['type' => 'url']);
|
|
$this->load->view('tools/encoders/url');
|
|
$this->load->view('footer');
|
|
// $this->load->view('encoder_end', ['type' => 'url']);
|
|
}
|
|
}
|