Advertisement
Guest User

Untitled

a guest
Mar 14th, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 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.3.0
  8. * @ Author : DeZender
  9. * @ Release on : 17.05.2011
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class register extends MY_Controller {
  15. private $soft_short_name = 'NS';
  16.  
  17. function __construct() {
  18. parent::__construct( );
  19. $this->vals['profile'] = $this->getUserInfo( );
  20.  
  21. if (!( $this->userLogged( 4 ))) {
  22. header( 'Location:./index.php?c=signIn' );
  23. exit( );
  24. }
  25.  
  26. }
  27.  
  28. function checkActivated() {
  29. if (!( method_exists( $this, 'getRegisteredInfo' ))) {
  30. return 0;
  31. }
  32.  
  33. $license = $this->getRegisteredInfo( );
  34.  
  35. if (!( isset( $license['encode'] ))) {
  36. return 0;
  37. }
  38.  
  39. if (strpos( $license['data'], $license['encode'] ) !== false) {
  40. if (10 < strlen( $license['data'] )) {
  41. return 1;
  42. }
  43. }
  44.  
  45. return 0;
  46. }
  47.  
  48. function is_licensekey($licensekey) {
  49. if (preg_match( '/^[A-Z]{2}LCY\-[A-Z0-9]{4}\-[A-Z0-9]{4}\-[A-Z0-9]{4}$/i', $licensekey )) {
  50. return true;
  51. }
  52.  
  53. return false;
  54. }
  55. .........................................
  56. .....................
  57. ........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement