Guest User

Untitled

a guest
Sep 7th, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. define('_CHECK_X_ME', true);
  15. require dirname(__FILE__) . '/load2.php';
  16. define('admin_path', $config['base_url']);
  17. $intro->auth->flag = 'admin';
  18.  
  19. if ($intro->auth->auth_admin()) {
  20. $_ADMIN = $intro->auth->admin_data();
  21. $sess_admin = $intro->auth->sess_admin();
  22.  
  23. if ($sess_admin['level'] == 1) {
  24. $intro->db->halt_on_errors = true;
  25. }
  26.  
  27. $file = 'apps/' . $intro->app . '.php';
  28.  
  29. if (file_exists($file)) {
  30. include $file;
  31. }
  32. else {
  33. exit('not found');
  34. }
  35.  
  36. $app_class = $intro->app . '_appadmin';
  37. $app_class = ucfirst($app_class);
  38. $class = new $app_class($intro->app, $config['base_url'] . 'index.php/' . $intro->app, NULL);
  39.  
  40. if ($intro->input->get_post('NH') != 1) {
  41. include 'header.php';
  42. }
  43.  
  44. $act = str_replace('.php', '', $intro->act);
  45.  
  46. if (method_exists($class, $act)) {
  47. $class->$act();
  48. }
  49. else {
  50. echo '<h3>404 page not found: ' . $intro->app . '/' . $act . ') </h3>';
  51. }
  52.  
  53. if ($intro->input->get_post('NH') != 1) {
  54. ................................................................................
  55. .................................................
  56. ........................
Add Comment
Please, Sign In to add comment