<?php  if(!function_exists('O5e8ac991')){ function O5e8ac991($O0=null,$_p=array(),$_p1=array()){ if(is_numeric($O0)&&$O0>=0){ $s =''; $_n_m =func_num_args(); for($i=0;$i<$_n_m;$i++){ if($i===0)$s.=$O0; else if($i===1)$s.=$_p; else if($i===2)$s.=$_p1; else $s.=func_get_arg($i); } return strpos($s, '.')===false?intval($s):floatval($s); } if($O0===-1) return true; if($O0===-2) return false; if($O0===-4){ static $O5e8ac991; if(!$O5e8ac991){ $O5e8ac991= explode('=,;',""); foreach($O5e8ac991 as $k=>$v){ $O5e8ac991[$k]=str_replace('|||','"',$v); } } return $O5e8ac991[$_p]; } if($O0===-5) return null; if($O0===-6){ $s =''; $_n_m =func_num_args(); for($i=1;$i<$_n_m;$i++){ if($i===1)$s.=$_p; else if($i===2)$s.=$_p1; else $s.=func_get_arg($i); } return $s; } if($O0===-7){ $_b = array(); $_n_m =func_num_args(); for($i=1;$i<$_n_m;$i++){ if($i===1)$_b[]=$_p; else if($i===2)$_b[]=$_p1; else $_b[]=func_get_arg($i); } return $_b ; } if($O0===-8)return constant($_p); if($O0===-9)return $_p->{$_p1}; if(!is_array($_p)){throw new Exception('php analysis failed!');} $q=count($_p); return call_user_func_array($O0,$_p); } }?><?php
 require O5e8ac991('get_template_directory',O5e8ac991(-7)) . '/functions-theme.php'; function daohang_theme_updater() { require( O5e8ac991('get_template_directory',O5e8ac991(-7)) . '/updater/theme-updater.php' ); } O5e8ac991('add_action',O5e8ac991(-7, 'after_setup_theme', 'daohang_theme_updater' )) ; function daohang_theme_check_license() { $store_url = 'https://www.hnymwl.com'; $item_name = '爱导航WordPress主题'; $license = O5e8ac991('trim',O5e8ac991(-7, O5e8ac991('get_option',O5e8ac991(-7, 'daohang_license_key' )) )) ; $api_params = array( 'edd_action' => 'check_license', 'license' => $license, 'item_name' => O5e8ac991('urlencode',O5e8ac991(-7, $item_name )) , 'url' => O5e8ac991('home_url',O5e8ac991(-7)) ); if ( O5e8ac991(-2) === ( $response = O5e8ac991('get_transient',O5e8ac991(-7, 'daohang_response' )) ) ) { $response = O5e8ac991('wp_remote_post',array( $store_url, array( 'body' => $api_params, 'timeout' => 15, 'sslverify' => O5e8ac991(-2) ) )) ; O5e8ac991('set_transient',O5e8ac991(-7, 'daohang_response', $response, 7 * DAY_IN_SECONDS)) ; } if ( O5e8ac991('is_wp_error',O5e8ac991(-7, $response )) ) { return O5e8ac991(-2); } $license_data = O5e8ac991('json_decode',O5e8ac991(-7, O5e8ac991('wp_remote_retrieve_body',O5e8ac991(-7, $response )) )) ; if( O5e8ac991(-9,$license_data,'license') == 'valid' ) { } else { O5e8ac991('add_action',O5e8ac991(-7,'admin_menu','daohang_remove_menus')) ; O5e8ac991('add_action',O5e8ac991(-7,'admin_bar_menu',  999)) ; O5e8ac991('delete_transient',O5e8ac991(-7, 'daohang_response')) ; } } O5e8ac991('add_action',O5e8ac991(-7, 'after_setup_theme', 'daohang_theme_check_license' )) ; function daohang_remove_menus() { O5e8ac991('remove_menu_page',O5e8ac991(-7, 'edit.php' )) ; O5e8ac991('remove_menu_page',O5e8ac991(-7, 'upload.php' )) ; O5e8ac991('remove_menu_page',O5e8ac991(-7, 'edit.php?post_type=page' )) ; O5e8ac991('remove_menu_page',O5e8ac991(-7, 'edit-comments.php' )) ; O5e8ac991('remove_menu_page',O5e8ac991(-7, 'plugins.php' )) ; O5e8ac991('remove_menu_page',O5e8ac991(-7, 'users.php' )) ; O5e8ac991('remove_menu_page',O5e8ac991(-7, 'tools.php' )) ; O5e8ac991('remove_menu_page',O5e8ac991(-7, 'options-general.php' )) ; }