Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
- *
- * @ Version : 1.1.3.0
- * @ Author : DeZender
- * @ Release on : 17.05.2011
- * @ Official site : http://DeZender.Net
- *
- */
- class register extends MY_Controller {
- private $soft_short_name = 'NS';
- function __construct() {
- parent::__construct( );
- $this->vals['profile'] = $this->getUserInfo( );
- if (!( $this->userLogged( 4 ))) {
- header( 'Location:./index.php?c=signIn' );
- exit( );
- }
- }
- function checkActivated() {
- if (!( method_exists( $this, 'getRegisteredInfo' ))) {
- return 0;
- }
- $license = $this->getRegisteredInfo( );
- if (!( isset( $license['encode'] ))) {
- return 0;
- }
- if (strpos( $license['data'], $license['encode'] ) !== false) {
- if (10 < strlen( $license['data'] )) {
- return 1;
- }
- }
- return 0;
- }
- function is_licensekey($licensekey) {
- if (preg_match( '/^[A-Z]{2}LCY\-[A-Z0-9]{4}\-[A-Z0-9]{4}\-[A-Z0-9]{4}$/i', $licensekey )) {
- return true;
- }
- return false;
- }
- .........................................
- .....................
- ........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement