Advertisement
Guest User

Untitled

a guest
Dec 5th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 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. if (!defined('DATALIFEENGINE')) {
  15. return null;
  16. }
  17.  
  18. if ($do == 'filter') {
  19. function FilterCat($data, $cat_list)
  20. {
  21. $flag_checkCatFunction = false;
  22.  
  23. if (substr_count($data[1], ',')) {
  24. $cat_array = array();
  25. $cat_array = explode(',', $data[1]);
  26.  
  27. foreach ($cat_array as $value) {
  28. if (in_array($value, $cat_list)) {
  29. $flag_checkCatFunction = true;
  30.  
  31. break;
  32. }
  33. }
  34. } else {
  35. if (in_array($data[1], $cat_list)) {
  36. $flag_checkCatFunction = true;
  37. }
  38. }
  39.  
  40. return ($flag_checkCatFunction == true ? $data[2] : '');
  41. .............................................................................
  42. ........................................
  43. ...............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement