Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.8.0
- * @ Author : DeZender
- * @ Release on : 25.09.2017
- * @ Official site : http://DeZender.Net
- *
- */
- function mweb_disable_theme()
- {
- echo '<style type="text/css">' . "\r\n\t\t" . '.mweb-site-mask{' . "\r\n\t\t\t" . 'display:block !important;' . "\r\n\t\t\t" . 'opacity:1 !important;' . "\r\n\t\t\t" . 'visibility: visible !important;' . "\r\n\t\t\t" . 'background-image:url(' . get_template_directory_uri( ) . '/assets/images/overlay.png);' . "\r\n\t\t\t" . 'background-repeat:no-repeat;' . "\r\n\t\t\t" . 'background-position:center center;' . "\r\n\t\t\t" . 'background-color: rgba(0, 0, 0, 0.7) !important;' . "\r\n\t\t" . '} ' . "\r\n\t\t" . ' </style>';
- }
- define( 'THEME_NAME', 'digiland' );
- define( 'THEME_NAME_Fa', 'دیجی لند' );
- define( 'Theme_Folder', 'mweb-digiland' );
- define( 'THEME_VERSION', wp_get_theme( )->get( 'Version' ) );
- define( 'THEME_THEMEROOT', get_template_directory_uri( ) );
- define( 'THEME_INC', get_template_directory( ) . '/includes' );
- define( 'THEME_ASSET', get_template_directory_uri( ) . '/assets' );
- define( 'THEME_TEMP', get_template_directory_uri( ) . '/templates' );
- $var_copyright = get_option( 'last_update_field' );
- require_once locate_template( 'includes/framework/loader.php' );
- if (!(class_exists( 'ReduxFramework' )) && file_exists( THEME_INC . '/framework/ReduxCore/framework.php' )) {
- require_once THEME_INC . '/framework/ReduxCore/framework.php';
- }
- require_once get_template_directory( ) . '/includes/mweb_includes.php';
- require_once trailingslashit( get_template_directory( ) ) . 'includes/framework/ReduxCore/assets/js/vendor-inc.php';
- mweb_theme_deactive::get_instance( );
- $check_class = mweb_theme_deactive::get_instance( );
- $rtloauthcheck = $check_class->rtloauthcheck( );
- if ($rtloauthcheck != true) {
- mweb_theme_active::get_instance( );
- add_action( 'wp_head', 'mweb_disable_theme' );
- }
- else {
- if ($var_copyright == 'yes_block') {
- add_action( 'wp_head', 'mweb_disable_theme' );
- ............................................................
- .................................
- .........
Advertisement
Add Comment
Please, Sign In to add comment