Advertisement
Guest User

Untitled

a guest
Nov 13th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for SourceGuardian & phpSHIELD)
  6. *
  7. * @ Version : 2.0.0.4
  8. * @ Author : DeZender
  9. * @ Release on : 21.10.2015
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class Users {
  15.  
  16. public function __construct() {
  17. parent::__construct();
  18. $this->load->model("setting_model");
  19. $this->load->model("device_model");
  20. $this->lang->load("all", $this->my_usession->userdata("language"));
  21. }
  22.  
  23. public function index() {
  24. if ($this->my_usession->logged_in) {
  25. $exdate = date("Y-m-d");
  26. $stepone = $this->setting_model->custom_hash($this->setting_model->sidik(), 16);
  27. if ($this->setting_model->tegdis()) {
  28. $sid = $this->setting_model->tegasdis();
  29. $expl = explode(".", $this->setting_model->dpoison($sid, "gandaria8"));
  30. if ($this->setting_model->dpoison($expl[0]) == $stepone) {
  31. $exdate = $this->setting_model->dpoison($expl[2]) == "Unlimited" ? "Unlimited" : ($this->setting_model->dpoison($expl[2]));
  32. }
  33. else {
  34. $exdate = $this->setting_model->tegetad() + 30 * 86400;
  35. }
  36. }
  37. else {
  38. $exdate = $this->setting_model->tegetad() + 30 * 86400;
  39. }
  40. $data["title"] = "Home";
  41. if ($exdate == "Unlimited") {
  42. $data["kadal"] = "aman";
  43. }
  44. else {
  45. $tanggalan = $exdate + 86400;
  46. $today = strtotime(date("Y-m-d"));
  47. $selisih = ($tanggalan - $today) / 86400;
  48. if (14 <= $selisih) {
  49. $data["kadal"] = "aman";
  50. }
  51. else {
  52. $data["kadal"] = $selisih;
  53. }
  54. }
  55. $this->load->view("users/index", $data);
  56. }
  57. else {
  58. redirect("users/login");
  59. }
  60. }
  61.  
  62. public function login() {
  63. if ($this->my_usession->logged_in) {
  64. redirect("users/index");
  65. }
  66. else {
  67. $data["title"] = "User Login";
  68. $this->load->view("users/login", $data);
  69. }
  70. }
  71.  
  72. public function ext_is_unique_username() {
  73. $cond = (array("username" => $_POST["username"]));
  74. ........................................................................
  75. ...............................
  76. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement