Advertisement
Guest User

Untitled

a guest
Mar 1st, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. <?php
  2. /*
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.5.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 22.06.2018
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. session_name('mkwsp5');
  15. session_start();
  16. require_once 'includes/System.class.php';
  17. $loginSys = new LoginSystem();
  18.  
  19. if (!$loginSys->isLoggedIn()) {
  20. echo '<script type="text/javascript">window.location="login.php"; </script>';
  21.  
  22. exit();
  23. }
  24.  
  25. require 'includes/class.mysql.php';
  26. require 'includes/funciones.php';
  27. $db = Database::getInstance();
  28. $token = _obfuscated_0D362234395B373B153C0222352A3228273B24312D0B01_(_obfuscated_0D0C3F0F5B0B2C0B1B2913240D265B1C1E031D19383101_('tokenlic'));
  29.  
  30. if ($token['vencimiento'] < date('Y-m-d')) {
  31. $loginSys->logout();
  32. echo '<script type="text/javascript">window.location="logout.php?msg=errorlicencia"; </script>';
  33. }
  34.  
  35. if ($token['licencia'] !== _obfuscated_0D0C3F0F5B0B2C0B1B2913240D265B1C1E031D19383101_('userlic')) {
  36. $loginSys->logout();
  37. echo '<script type="text/javascript">window.location="login.php?msg=errorlicencia"; </script>';
  38.  
  39. exit();
  40. }
  41.  
  42. $conn = $db->dameQuery("SELECT chat,estado FROM login WHERE id='" . $_SESSION['idusername'] . "' limit 1");
  43. $rowchat = mysqli_fetch_assoc($conn);
  44. ..............................................................
  45. ....................................
  46. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement