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 ionCube Encoder)
- *
- * @ Version : 1.1.6.0
- * @ Author : DeZender
- * @ Release on : 02.06.2013
- * @ Official site : http://DeZender.Net
- *
- */
- if (!( defined( 'Orivon' ))) {
- exit( 'Access Denied' );
- (bool)true;
- }
- class Authorization extends Systembase {
- public function getGroup() {
- $utl = $this->enable_Utility( );
- $sid = $utl->read_cookie( 'a_sid' );
- $ip = $utl->get_client_ip( );
- try {
- $db = $this->enable_DB( );
- $rs = $db->prepare( 'call session_select(:par_session_id,:par_ip)' );
- $rs->bindParam( ':par_session_id', $sid );
- $rs->bindParam( ':par_ip', $ip );
- $rs->execute( );
- $db = null;
- } catch (PDOException $e) {
- $db = null;
- return null;
- }
- $arr_rst = $rs->fetchAll( PDO::FETCH_ASSOC );
- if (isset( $arr_rst[0]['role_group'] )) {
- return $arr_rst[0]['role_group'];
- }
- return null;
- }
- ........................................................................
- ..................................
- ...............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement