Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/application/controllers/Tools/Encoder.php
2018-10-16 18:28:42 +02:00

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']);
}
}