Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for SourceGuardian & phpSHIELD)
- *
- * @ Version : 2.0.0.4
- * @ Author : DeZender
- * @ Release on : 21.10.2015
- * @ Official site : http://DeZender.Net
- *
- */
- class Users {
- public function __construct() {
- parent::__construct();
- $this->load->model("setting_model");
- $this->load->model("device_model");
- $this->lang->load("all", $this->my_usession->userdata("language"));
- }
- public function index() {
- if ($this->my_usession->logged_in) {
- $exdate = date("Y-m-d");
- $stepone = $this->setting_model->custom_hash($this->setting_model->sidik(), 16);
- if ($this->setting_model->tegdis()) {
- $sid = $this->setting_model->tegasdis();
- $expl = explode(".", $this->setting_model->dpoison($sid, "gandaria8"));
- if ($this->setting_model->dpoison($expl[0]) == $stepone) {
- $exdate = $this->setting_model->dpoison($expl[2]) == "Unlimited" ? "Unlimited" : ($this->setting_model->dpoison($expl[2]));
- }
- else {
- $exdate = $this->setting_model->tegetad() + 30 * 86400;
- }
- }
- else {
- $exdate = $this->setting_model->tegetad() + 30 * 86400;
- }
- $data["title"] = "Home";
- if ($exdate == "Unlimited") {
- $data["kadal"] = "aman";
- }
- else {
- $tanggalan = $exdate + 86400;
- $today = strtotime(date("Y-m-d"));
- $selisih = ($tanggalan - $today) / 86400;
- if (14 <= $selisih) {
- $data["kadal"] = "aman";
- }
- else {
- $data["kadal"] = $selisih;
- }
- }
- $this->load->view("users/index", $data);
- }
- else {
- redirect("users/login");
- }
- }
- public function login() {
- if ($this->my_usession->logged_in) {
- redirect("users/index");
- }
- else {
- $data["title"] = "User Login";
- $this->load->view("users/login", $data);
- }
- }
- public function ext_is_unique_username() {
- $cond = (array("username" => $_POST["username"]));
- ........................................................................
- ...............................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement