Advertisement
Guest User

Untitled

a guest
Feb 9th, 2022
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 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. require_once 'inc/filter.php';
  15. require_once 'inc/lfmsql.php';
  16. include 'inc/config.php';
  17. lfmsql_connect($dbhost, $dbuser, $dbpass);
  18. lfmsql_select_db($dbname) or exit('Unable to select database');
  19. require_once 'inc/funcs.php';
  20. $getsplashlist = lfmsql_query('SELECT value FROM `' . $prefix . "supersplash` WHERE field='splashlist'");
  21.  
  22. if (lfmsql_num_rows($getsplashlist) < 1) {
  23. header('Location:index.php?rid=' . $_GET['rid']);
  24.  
  25. exit();
  26. }
  27.  
  28. $splashlist = lfmsql_result($getsplashlist, 0, 'value');
  29.  
  30. if (strlen($splashlist) < 1) {
  31. header('Location:index.php?rid=' . $_GET['rid']);
  32.  
  33. exit();
  34. }
  35.  
  36. $getsplashid = lfmsql_query('SELECT id FROM ' . $prefix . "promotion WHERE type='splashpage' AND id IN (" . $splashlist . ') ORDER BY RAND() LIMIT 1') or exit(lfmsql_error());
  37.  
  38. if (lfmsql_num_rows($getsplashid) < 1) {
  39. header('Location:index.php?rid=' . $_GET['rid']);
  40. ..........................................................
  41. ....................................
  42. ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement