Advertisement
Guest User

Untitled

a guest
Sep 8th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.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.0.7.0
  8. * @ Author : DeZender
  9. * @ Release on : 22.06.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if (!(defined( '_PS_VERSION_' ))) {
  15. exit( );
  16. }
  17.  
  18. if (!(function_exists( 'pr' ))) {
  19. function pr($var, $pre = true)
  20. {
  21. if ($pre) {
  22. echo '<pre>';
  23. print_r( $var );
  24. echo '</pre>';
  25. }
  26. else {
  27. print_r( $var );
  28. }
  29. }
  30. }
  31.  
  32. if (!(function_exists( 'file_log' ))) {
  33. function file_log($filename, $data)
  34. {
  35. file_put_contents( _PS_MODULE_DIR_ . 'ngmercadolivre/' . $filename, $data );
  36. }
  37. }
  38.  
  39. if (!(class_exists( 'ngmercadolivreException' ))) {
  40. class ngmercadolivreException extends Exception
  41. { }
  42.  
  43. }
  44.  
  45. if (!(class_exists( 'base_ngmercadolivre', false ))) {
  46. class base_ngmercadolivre extends NgModule
  47. {
  48. private static $whatchdog_interval = 600;
  49. private static $sleep_time = 5;
  50. private static $notification_handler_duration = 86400;
  51. protected $tabs = array( array(
  52. 'name' => 'Mercado Livre',
  53. 'className' => 'mercadolivre',
  54. 'active' => 1,
  55. 'childs' => array(
  56. array(
  57. 'active' => 1,
  58. 'name' => 'Produtos',
  59. 'className' => 'AdminNgMercadoLivreProducts'
  60. ),
  61. array(
  62. 'active' => 1,
  63. 'name' => 'Anúncios',
  64. 'className' => 'AdminNgMercadoLivreItems'
  65. ),
  66. array(
  67. 'active' => 1,
  68. 'name' => 'Perguntas',
  69. 'className' => 'AdminNgMercadoLivreQuestions'
  70. ),
  71. array(
  72. 'active' => 1,
  73. 'name' => 'Pedidos',
  74. 'className' => 'AdminNgMercadoLivreOrders'
  75. ),
  76. array(
  77. 'active' => 1,
  78. 'name' => 'Qualificações',
  79. 'className' => 'AdminNgMercadoLivreFeedbacks'
  80. ),
  81. array(
  82. 'active' => 1,
  83. 'name' => 'Templates',
  84. 'className' => 'AdminNgMercadoLivreTemplate'
  85. ),
  86. array(
  87. 'active' => 1,
  88. 'name' => 'Notificações',
  89. 'className' => 'AdminNgMercadoLivreNotifications'
  90. ),
  91. array(
  92. 'active' => 0,
  93. 'name' => 'Imagens',
  94. 'className' => 'AdminNgMercadoLivreProductPictures'
  95. ),
  96. array(
  97. 'active' => 0,
  98. 'name' => 'Tradutor',
  99. 'className' => 'AdminNgMercadoLivreTranslator'
  100. ),
  101. array(
  102. 'active' => 0,
  103. 'name' => 'Download de Histórico de Anúncios',
  104. 'className' => 'AdminNgMercadoLivreHistoryDownload'
  105. ................................................
  106. ...........................
  107. .......
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement