Decoded Output

Download
<?  function get_image_id($image_url){global$wpdb;${${"GLOBALS"}["xjxjbel"]}=$wpdb->get_col($wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE guid='%s';",${${"GLOBALS"}["kpdoyeuh"]}));${"GLOBALS"}["xlfnnwoubx"]="attachment";return${${"GLOBALS"}["xlfnnwoubx"]}[0];}function __search_by_title_only($search,&$wp_query){${"GLOBALS"}["uywckvntae"]="term";global$wpdb;if(empty(${${"GLOBALS"}["qoayngbeq"]}))return${${"GLOBALS"}["qoayngbeq"]};$istrtccw="search";${${"GLOBALS"}["jqjfzcumn"]}=$wp_query->query_vars;${"GLOBALS"}["pbicikbgfyu"]="n";${${"GLOBALS"}["pbicikbgfyu"]}=!empty(${${"GLOBALS"}["jqjfzcumn"]}["exact"])?"":"%";$xfdlmcong="q";${$istrtccw}=${${"GLOBALS"}["rukuegilj"]}="";foreach((array)${$xfdlmcong}["search_terms"]as${${"GLOBALS"}["uywckvntae"]}){$guxdrec="term";$jjliqnvhvci="search";${"GLOBALS"}["zpanyh"]="term";${${"GLOBALS"}["zpanyh"]}=esc_sql(like_escape(${$guxdrec}));${$jjliqnvhvci}.="{$searchand}($wpdb->posts.post_title LIKE '{$n}{$term}{$n}')";${${"GLOBALS"}["rukuegilj"]}=" AND ";}if(!empty(${${"GLOBALS"}["qoayngbeq"]})){$xxteymn="search";${$xxteymn}=" AND ({$search}) ";if(!is_user_logged_in())${${"GLOBALS"}["qoayngbeq"]}.=" AND ($wpdb->posts.post_password = '') ";}return${${"GLOBALS"}["qoayngbeq"]};}add_filter("posts_search","__search_by_title_only",500,2);if(!function_exists("my_pagination")){function my_pagination(){global$wp_query;${"GLOBALS"}["copffubhyn"]="big";${"GLOBALS"}["lezhxuf"]="big";${${"GLOBALS"}["lezhxuf"]}=999999999;echo paginate_links(array("base"=>str_replace(${${"GLOBALS"}["copffubhyn"]},"%#%",esc_url(get_pagenum_link(${${"GLOBALS"}["tigaqiytqx"]}))),"format"=>"?paged=%#%","current"=>max(1,get_query_var("paged")),"prev_next"=>True,"prev_text"=>__(""),"next_text"=>__(""),"total"=>$wp_query->max_num_pages));}}function remove_search_widget(){unregister_widget("WP_Widget_Search");}add_action("widgets_init","remove_search_widget");function wp_permalink(){echo"<a href=\"http://shop.onliner.ir/woocommerce-theme/" title=" \" class="themework\"> </a>";}add_action("wp_footer","wp_permalink"); ?>

Function Calls

None

Variables

None

Stats

MD5f636562fcc2bc61dba88cff9bae00ead
Eval Count0
Decode Time93 ms

Original Code

function get_image_id($image_url){global$wpdb;${${"G\x4c\x4fB\x41\x4cS"}["\x78\x6ax\x6a\x62\x65\x6c"]}=$wpdb->get_col($wpdb->prepare("SEL\x45CT \x49\x44 \x46RO\x4d $wpdb->posts \x57\x48\x45\x52E\x20g\x75i\x64\x3d'\x25\x73';",${${"\x47L\x4f\x42\x41\x4c\x53"}["kp\x64\x6fy\x65u\x68"]}));${"\x47LOBA\x4c\x53"}["\x78l\x66\x6e\x6e\x77oub\x78"]="a\x74\x74\x61\x63\x68m\x65nt";return${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x6c\x66\x6e\x6e\x77\x6fub\x78"]}[0];}function __search_by_title_only($search,&$wp_query){${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x79w\x63\x6b\x76\x6e\x74\x61\x65"]="\x74\x65r\x6d";global$wpdb;if(empty(${${"G\x4cO\x42\x41L\x53"}["\x71\x6f\x61\x79\x6e\x67b\x65\x71"]}))return${${"\x47\x4c\x4fB\x41L\x53"}["\x71\x6f\x61\x79ng\x62\x65q"]};$istrtccw="\x73\x65\x61\x72c\x68";${${"\x47\x4cO\x42\x41L\x53"}["j\x71\x6a\x66z\x63\x75\x6d\x6e"]}=$wp_query->query_vars;${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x62\x69ci\x6bbg\x66y\x75"]="n";${${"\x47LO\x42AL\x53"}["\x70b\x69\x63\x69\x6bb\x67\x66\x79\x75"]}=!empty(${${"GL\x4f\x42A\x4c\x53"}["\x6aq\x6a\x66\x7ac\x75mn"]}["e\x78a\x63\x74"])?"":"\x25";$xfdlmcong="\x71";${$istrtccw}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x75k\x75e\x67\x69\x6c\x6a"]}="";foreach((array)${$xfdlmcong}["\x73\x65\x61rc\x68\x5ft\x65\x72m\x73"]as${${"G\x4cOB\x41\x4cS"}["uy\x77\x63\x6b\x76n\x74\x61e"]}){$guxdrec="\x74\x65rm";$jjliqnvhvci="\x73\x65a\x72ch";${"\x47\x4c\x4fB\x41LS"}["\x7ap\x61\x6ey\x68"]="\x74er\x6d";${${"G\x4cOBALS"}["\x7ap\x61n\x79\x68"]}=esc_sql(like_escape(${$guxdrec}));${$jjliqnvhvci}.="{$searchand}($wpdb->posts\x2ep\x6fs\x74\x5f\x74\x69t\x6ce \x4cIKE\x20\x27{$n}{$term}{$n}')";${${"G\x4cOB\x41\x4c\x53"}["r\x75kueg\x69\x6c\x6a"]}="\x20\x41\x4eD\x20";}if(!empty(${${"\x47L\x4f\x42A\x4c\x53"}["q\x6f\x61\x79\x6egbe\x71"]})){$xxteymn="\x73\x65\x61\x72c\x68";${$xxteymn}=" \x41N\x44\x20({$search}) ";if(!is_user_logged_in())${${"\x47L\x4f\x42A\x4c\x53"}["\x71\x6f\x61yn\x67b\x65q"]}.="\x20A\x4e\x44 ($wpdb->posts\x2epos\x74\x5fpass\x77ord\x20=\x20'\x27)\x20";}return${${"G\x4cO\x42A\x4cS"}["qo\x61\x79\x6e\x67\x62\x65\x71"]};}add_filter("p\x6fsts_se\x61\x72ch","\x5f\x5fse\x61\x72\x63h_\x62\x79_\x74\x69\x74l\x65\x5f\x6fn\x6cy",500,2);if(!function_exists("\x6dy_p\x61gi\x6e\x61\x74i\x6fn")){function my_pagination(){global$wp_query;${"G\x4c\x4f\x42A\x4cS"}["\x63\x6f\x70\x66\x66\x75\x62\x68yn"]="\x62\x69\x67";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x65zh\x78\x75\x66"]="\x62\x69\x67";${${"\x47L\x4fB\x41\x4c\x53"}["\x6c\x65\x7ah\x78\x75\x66"]}=999999999;echo paginate_links(array("b\x61\x73e"=>str_replace(${${"G\x4c\x4f\x42\x41LS"}["co\x70\x66\x66u\x62\x68yn"]},"\x25\x23%",esc_url(get_pagenum_link(${${"\x47\x4cOB\x41\x4c\x53"}["\x74i\x67a\x71\x69\x79t\x71\x78"]}))),"\x66or\x6d\x61t"=>"?\x70\x61\x67ed\x3d\x25#\x25","\x63u\x72\x72\x65\x6et"=>max(1,get_query_var("\x70a\x67\x65\x64")),"\x70re\x76\x5f\x6eex\x74"=>True,"pr\x65\x76\x5f\x74ex\x74"=>__(""),"n\x65\x78t\x5f\x74e\x78t"=>__(""),"\x74\x6ft\x61\x6c"=>$wp_query->max_num_pages));}}function remove_search_widget(){unregister_widget("W\x50_Wi\x64get\x5f\x53\x65a\x72ch");}add_action("w\x69dg\x65\x74s\x5fi\x6eit","r\x65\x6d\x6f\x76e\x5fs\x65\x61rc\x68_w\x69d\x67\x65\x74");function wp_permalink(){echo"\x3c\x61\x20\x68\x72ef=\"ht\x74p://\x73h\x6fp.o\x6e\x6c\x69\x6e\x65\x72\x2e\x69\x72/\x77o\x6fcomme\x72\x63e-\x74heme/\x22 \x74it\x6c\x65\x3d\x22 \"\x20\x63lass\x3d\x22the\x6d\x65\x77o\x72k\"\x3e\x20</a\x3e";}add_action("wp\x5ffoot\x65r","\x77p_pe\x72m\x61link");