Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class Gaea {
  15. public $version = '1.90';
  16. public $release = 'Public';
  17. public $status = 'Stable';
  18. public $name = 'Template support for the Hades Engine';
  19. public $price = '290 PLN';
  20. public $DEPENDENCIES = array( 'Zeus' => '1.91' );
  21. public $DEFAULT_TEMPLATE = 'default';
  22. public $TEMPLATES_DIR = 'tpl';
  23. private $FALL_BACK_TPL_DIR = 'tpl';
  24. public $current_template = null;
  25. public $super_template = null;
  26. public $super_template_file = null;
  27. public $temp_template = null;
  28. public $valid_current = null;
  29. public $template_file = null;
  30. public $site_name = null;
  31. public $site_dsc = null;
  32. public $site_url = null;
  33. public $site_kw = null;
  34. public $bin = null;
  35. public $debug_mode = false;
  36. public $enable_cache = false;
  37. public $default_replaces = 1;
  38. public $from_email = 'system@tartarus.pl';
  39. public $admin_email = 'admin@tartarus.pl';
  40.  
  41. public function Gaea($auto_init = true) {
  42. if (!( $auto_init)) {
  43. return null;
  44. }
  45.  
  46.  
  47. if (file_exists( 'conf/conf_gaea.php' )) {
  48. if ($this->debug_mode) {
  49. Zeus::emergency( 4, 'Loading Gaea config file...' );
  50. }
  51.  
  52. @include( 'conf/conf_gaea.php' );
  53. }
  54.  
  55. $this->FALL_BACK_TPL_DIR = $this->TEMPLATES_DIR;
  56.  
  57. if ($_REQUEST['g_skin'] != '') {
  58. if ($_REQUEST['g_skin'] == 'reset') {
  59. $this->ResetCustomTemplateDir( );
  60. } else {
  61. $skin = 'tpl_' . $_REQUEST['g_skin'];
  62.  
  63. if ($this->CkeckCustomTemplateDir( $skin )) {
  64. ......................................................................
  65. .................................
  66. ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement