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 class TrendWP { var $ayar = null; function __construct($ayar = null) { ..
Decoded Output download
<?php
class TrendWP {
var $ayar = null;
function __construct($ayar = null) {
if ($ayar) {
$this->ayar = $ayar;
}
}
function kontrol() {
$lisans_anahtar_gelen = $_POST['key'];
$lisans_kontrol = $this->lisans_sorgula( );
if ($lisans_kontrol == 1) {
if ($lisans_anahtar_gelen) {
$this->lisans_anahtar_guncelle( $lisans_anahtar_gelen );
$lisans_kontrol2 = $this->lisans_sorgula( );
if ($lisans_kontrol2 == 1) {
$this->lisans_guncelle( 1 );
exit( );
return null;
}
}
else {
$this->lisans_guncelle( 1 );
exit( );
return null;
}
}
if ($lisans_kontrol == 2) {
$this->lisans_guncelle( 2 );
exit( );
return null;
}
if ($lisans_kontrol == 3) {
$this->lisans_guncelle( 3 );
exit( );
}
}
function lisans_kontrol($lisans_1, $lisans_2 = '') {
$whmcsurl = $this->ayar['url'];
$licensing_secret_key = $this->ayar['guvenlik_kodu'];
$check_token = time( ) . md5( mt_rand( 1000000000, 9999999999 ) . $lisans_1 );
$checkdate = date( 'Ymd' );
$usersip = (isset( $_SERVER['SERVER_ADDR'] ) ? $_SERVER['SERVER_ADDR'] : $_SERVER['LOCAL_ADDR']);
$lisans_2days = 27;
$allowcheckfaildays = 15;
$lisans_2valid = false;
if ($lisans_2) {
$lisans_2 = str_replace( '
', '', $lisans_2 );
$localdata = substr( $lisans_2, 0, strlen( $lisans_2 ) - 32 );
$md5hash = substr( $lisans_2, strlen( $lisans_2 ) - 32 );
if ($md5hash == md5( $localdata . $licensing_secret_key )) {
$localdata = strrev( $localdata );
$md5hash = substr( $localdata, 0, 32 );
$localdata = substr( $localdata, 32 );
$localdata = base64_decode( $localdata );
$lisans_2results = unserialize( $localdata );
$originalcheckdate = $lisans_2results['checkdate'];
if ($md5hash == md5( $originalcheckdate . $licensing_secret_key )) {
$localexpiry = date( 'Ymd', mktime( 0, 0, 0, date( 'm' ), date( 'd' ) - $lisans_2days, date( 'Y' ) ) );
if ($localexpiry < $originalcheckdate) {
$lisans_2valid = true;
$results = $lisans_2results;
$validdomains = explode( ',', $results['validdomain'] );
if (!in_array( $_SERVER['SERVER_NAME'], $validdomains )) {
$lisans_2valid = false;
$lisans_2results['status'] = 'Invalid';
$results = array( );
}
$validips = explode( ',', $results['validip'] );
if (!in_array( $usersip, $validips )) {
$lisans_2valid = false;
$lisans_2results['status'] = 'Invalid';
$results = array( );
}
if ($results['validdirectory'] != dirname( __FILE__ )) {
$lisans_2valid = false;
$lisans_2results['status'] = 'Invalid';
$results = array( );
}
}
}
}
}
if (!$lisans_2valid) {
$postfields['licensekey'] = $lisans_1;
$postfields['domain'] = $_SERVER['SERVER_NAME'];
$postfields['ip'] = $usersip;
$postfields['dir'] = dirname( __FILE__ );
if ($check_token) {
$postfields['check_token'] = $check_token;
}
if (function_exists( 'curl_exec' )) {
$ch = curl_init( );
curl_setopt( $ch, CURLOPT_URL, $whmcsurl . 'modules/servers/licensing/verify.php' );
curl_setopt( $ch, CURLOPT_POST, 1 );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $postfields );
curl_setopt( $ch, CURLOPT_TIMEOUT, 30 );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
$data = curl_exec( $ch );
curl_close( $ch );
}
else {
$fp = fsockopen( $whmcsurl, 80, $errno, $errstr, 5 );
if ($fp) {
$querystring = '';
foreach ($postfields as $k => $v) {
$querystring .= '' . $k . '=' . urlencode( $v ) . '&';
}
$header = 'POST ' . $whmcsurl . 'modules/servers/licensing/verify.php HTTP/1.0
';
$header .= 'Host: ' . $whmcsurl . '
';
$header .= 'Content-type: application/x-www-form-urlencoded
';
$header .= 'Content-length: ' . @strlen( $querystring ) . '
';
$header .= 'Connection: close
';
$header .= $querystring;
$data = '';
@stream_set_timeout( $fp, 20 );
@fputs( $fp, $header );
$status = @socket_get_status( $fp );
while (( !@feof( $fp ) && $status )) {
$data .= @fgets( $fp, 1024 );
$status = @socket_get_status( $fp );
}
@fclose( $fp );
}
}
if (!$data) {
$localexpiry = date( 'Ymd', mktime( 0, 0, 0, date( 'm' ), date( 'd' ) - ( $lisans_2days + $allowcheckfaildays ), date( 'Y' ) ) );
if ($localexpiry < $originalcheckdate) {
$results = $lisans_2results;
}
else {
$results['status'] = 'Invalid';
$results['description'] = 'Remote Check Failed';
return $results;
}
}
preg_match_all( '/<(.*?)>([^<]+)<\/>/i', $data, $matches );
$results = array( );
foreach ($matches[1] as $k => $v) {
$results[$v] = $matches[2][$k];
}
if ($results['md5hash']) {
if ($results['md5hash'] != md5( $licensing_secret_key . $check_token )) {
$results['status'] = 'Invalid';
$results['description'] = 'MD5 Checksum Verification Failed';
return $results;
}
}
if ($results['status'] == 'Active') {
$results['checkdate'] = $checkdate;
$data_encoded = serialize( $results );
$data_encoded = base64_encode( $data_encoded );
$data_encoded = md5( $checkdate . $licensing_secret_key ) . $data_encoded;
$data_encoded = strrev( $data_encoded );
$data_encoded = $data_encoded . md5( $data_encoded . $licensing_secret_key );
$data_encoded = wordwrap( $data_encoded, 80, '
', true );
$results['localkey'] = $data_encoded;
}
$results['remotecheck'] = true;
}
unset( $postfields );
unset( $data );
unset( $matches );
unset( $whmcsurl );
unset( $licensing_secret_key );
unset( $checkdate );
unset( $usersip );
unset( $lisans_2days );
unset( $allowcheckfaildays );
unset( $md5hash );
return $results;
}
function tablo_kontrol() {
$pTableExist = @mysql_query( 'show tables like \'trendwp_lisans\'' );
if (!@mysql_fetch_array( $pTableExist )) {
if (!( @mysql_query( 'CREATE TABLE IF NOT EXISTS `trendwp_lisans` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tema` varchar(255) NOT NULL,
`lisans1` text NOT NULL,
`lisans2` text NOT NULL,
`kontrol` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;' ))) {
exit( 'TrendWP lisans tablosu oluturulamad!' );
(bool)true;
}
}
}
function lisans_anahtar_guncelle($lisans_1 = null, $lisans_2 = null) {
$this->tablo_kontrol( );
$lisans = mysql_fetch_array( @mysql_query( 'SELECT `id` FROM `trendwp_lisans` where `tema`=\'' . $this->ayar['kod'] . '\' order by id desc LIMIT 1' ) );
if (empty( $lisans['id'] )) {
@mysql_query( 'INSERT INTO `trendwp_lisans` (`tema` ,`lisans1` ,`lisans2` ,`kontrol`) VALUES (\'' . $this->ayar['kod'] . '\', \'' . $lisans_1 . '\', \'' . $lisans_2 . '\', now())' );
return null;
}
if (( $lisans_1 || $lisans_2 )) {
$sorgu = null;
if ($lisans_1) {
$sorgu .= 'lisans1=\'' . $lisans_1 . '\'';
}
if (( $lisans_1 && $lisans_2 )) {
$sorgu .= ',';
}
if ($lisans_2) {
$sorgu .= 'lisans2=\'' . $lisans_2 . '\'';
}
@mysql_query( 'UPDATE `trendwp_lisans` SET ' . $sorgu . ',`kontrol`=now() where `tema` = \'' . $this->ayar['kod'] . '\'' );
}
}
function lisans_guncelle($numm) {
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title>TrendWP Lisans Gncelleme Arayz</title>
<style type="text/css">
body {
background-color:#F7F7F7;
}
fieldset {
border:1px dashed #CCC;
padding:10px;
margin-top:20px;
margin-bottom:20px;
}
legend {
font-family:Arial, Helvetica, sans-serif;
font-size: 90%;
letter-spacing: -1px;
font-weight: bold;
line-height: 1.1;
color:#fff;
background: #666;
border: 1px solid #333;
padding: 2px 6px;
}
h1 {
font-family:Arial, Helvetica, sans-serif;
font-size: 175%;
letter-spacing: -1px;
font-weight: normal;
line-height: 1.1;
color:#333;
}
label {
width:140px;
height:32px;
margin-top:3px;
margin-right:2px;
padding-top:11px;
padding-left:6px;
background-color:#CCCCCC;
float:left;
display: block;
font-family:Arial, Helvetica, sans-serif;
font-size: 115%;
letter-spacing: -1px;
font-weight: normal;
line-height: 1.1;
color:#666;
}
.form {
margin:0;
padding:0;
}
#container {
width:750px;
margin:auto;
padding:10px;
}
#top {
width:680px;
height:50px;
}
#leftSide {
width:530px;
padding-top:30px;
float:left;
}
#rightSide {
background-color:#fff;
width:200px;
padding:5px;
margin-top:40px;
float:right;
border:1px solid #CCC;
font:normal 12px Arial;
color:#666666
}
.clear {
clear:both;
}
.holder {
background-color:#fff;
}
.div_texbox {
width:347px;
float:right;
background-color:#E6E6E6;
height:35px;
margin-top:3px;
padding-top:5px;
padding-bottom:3px;
padding-left:5px;
}
.textbox {
background-image: url(../images/16t.png);
background-color:#FFFFFF;
background-repeat: no-repeat;
background-position:left;
width:285px;
font:normal 18px Arial;
color: #999999;
padding:3px 5px 3px 19px;
}
.textbox:focus, .textbox:hover {
background-color:#F0FFE6;
}
.username {
background-image: url(../images/16m.png);
background-repeat: no-repeat;
background-position:left;
background-color:#FFFFFF;
width:285px;
font:normal 18px Arial;
color: #999999;
padding:3px 5px 3px 19px;
}
.username:focus, .username:hover {
background-color:#F0FFE6;
}
.password {
background-image: url(../images/16s.png);
background-repeat: no-repeat;
background-position:left;
background-color:#FFFFFF;
width:285px;
font:normal 18px Arial;
color: #999999;
padding:3px 5px 3px 19px;
}
.password:focus, .password:hover {
background-color:#F0FFE6;
}
.button_div {
width:287px;
float:right;
background-color:#fff;
border:1px solid #ccc;
text-align:right;
height:35px;
margin-top:3px;
padding:5px 32px 3px;
}
.buttons {
background: #e3e3db;
font-size:12px;
color: #989070;
padding: 6px 14px;
border-width: 2px;
border-style: solid;
border-color: #fff #d8d8d0 #d8d8d0 #fff;
text-decoration: none;
text-transform:uppercase;
font-weight:bold;
}
</style>
</head>
<body>
<div id="container">
<div id="top">';
if ($numm == 1) {
echo '<h1>Ltfen Lisansnz Gncelleyiniz</h1>';
}
if ($numm == 2) {
echo '<h1>Lisansnzn Sresi Bitmitir</h1>';
}
if ($numm == 3) {
echo '<h1>Lisansnz Durdurulmutur</h1>';
}
echo '</div>';
if ($numm == 1) {
echo '<div id="leftSide">
<fieldset>
<legend>Lisans Ayarlar</legend>
<form action="" method="post" class="form">
<label for="lisans">Lisans Anahtar</label>
<div class="div_texbox">
<input name="key" type="text" class="username" id="key" value="" />
</div>
<div class="button_div">
<input type="submit" value="Gncelle" class="buttons" />
</div>
</form>
<div class="clear"></div>
</fieldset>';
}
else {
echo '<div id="leftSide">
Ltfen Bizimle <a href="http://www.trendwp.com">letiime Geiniz.</a>
</div>';
}
echo '</div>
<div class="clear"></div>
</body>
</html>';
}
function lisans_sorgula() {
$lisans = mysql_fetch_array( @mysql_query( 'SELECT `id`,`lisans1`,`lisans2` FROM `trendwp_lisans` where `tema`=\'' . $this->ayar['kod'] . '\' order by id desc LIMIT 1' ) );
$results = $this->lisans_kontrol( $lisans['lisans1'], $lisans['lisans2'] );
if ($results['status'] == 'Active') {
if ($results['localkey']) {
$this->lisans_anahtar_guncelle( false, $results['localkey'] );
return 0;
}
}
else {
if ($results['status'] == 'Invalid') {
return 1;
}
if ($results['status'] == 'Expired') {
return 2;
}
if ($results['status'] == 'Suspended') {
return 3;
}
}
}
}
function excerpt($limit) {
$excerpt = explode( ' ', get_the_excerpt( ), $limit );
if ($limit <= count( $excerpt )) {
array_pop( $excerpt );
$excerpt = implode( ' ', $excerpt ) . '...';
}
else {
$excerpt = implode( ' ', $excerpt );
}
$excerpt = preg_replace( '`\[[^\]]*\]`', '', $excerpt );
return $excerpt;
}
function content($limit) {
$content = explode( ' ', get_the_content( ), $limit );
if ($limit <= count( $content )) {
array_pop( $content );
$content = implode( ' ', $content ) . '...';
}
else {
$content = implode( ' ', $content );
}
$content = ;
$content = apply_filters( 'the_content', $content );
str_replace( ']]>', ']]>', $content );
$content = preg_replace( '/\[.+\]/', '', $content );
return $content;
}
function trend_kategori() {
if (!is_home( )) {
echo '<a href="';
echo get_option( 'home' );
echo '">';
bloginfo( 'name' );
echo '</a> ';
if (( is_category( ) || is_single( ) )) {
the_category( 'title_li=' );
if (is_single( )) {
echo ' ';
the_title( );
return null;
}
}
else {
if (is_page( )) {
echo the_title( );
}
}
}
}
function tp_yorumlar($comment, $args, $depth) {
$GLOBALS['comment'] = $comment;
echo ' <li id="comment-';
comment_ID( );
echo '">
<div class="yorum-avatar">';
echo get_avatar( $comment, 52 );
echo '</div>
';
echo '<s';
echo 'pan class="yorumcu-yorum">';
comment_text( );
echo '</span>
';
echo '<s';
echo 'pan class="yorumcu-yazar">';
comment_author( );
echo '</span>
';
echo '<s';
echo 'pan class="yorumcu-tarih">';
comment_time( 'd.m.Y - G:i' );
echo '</span>
</li>
';
}
function fs_get_option($key) {
global $fs_options;
$fs_options = get_option( 'fs_options' );
$fs_defaults = array( 'fs_logo' => get_bloginfo( 'template_url' ) . '/images/logo.png' );
foreach ($fs_defaults as $k => $v) {
if (!$fs_options[$k]) {
$fs_options[$k] = $fs_defaults[$k];
continue;
}
}
return $fs_options[$key];
}
function gelismisSayfalama() {
$sayfaVerileri = wp_link_pages( array( 'echo' => '0', 'link_before' => 'x', 'link_after' => 'x', 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) );
echo '<p id="post-pagination">';
global $post;
$permalink = get_permalink( $post->ID );
$permalink_structure = get_option( 'permalink_structure' );
$ayarYapildiMi = (empty( $permalink_structure ) ? 0 : 1);
preg_match_all( '#x([0-9]+)x#si', $sayfaVerileri, $sayfalar );
$sayfalar = $sayfalar[1];
$toplamSayfa = $sayfalar[count( $sayfalar ) - 1];
$limit = 15;
if (1 < $toplamSayfa) {
if ($_GET['p']) {
$sayfa = (int)$_GET['page'];
}
if (!$_GET['p']) {
$link = $_SERVER['REQUEST_URI'];
$kes = explode( '/', $link );
$sayfa = (int)$kes[count( $kes ) - 1];
}
if (empty( $sayfa )) {
$sayfa = 11;
}
if (1 < $sayfa) {
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=1">lk</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/1">lk</a> ');
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=' . ( $sayfa - 1 ) . '">nceki</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/' . ( $sayfa - 1 ) . '">nceki</a> ');
}
if (( $sayfa == 1 || $sayfa == $toplamSayfa )) {
$limit = 19;
}
$basla = $sayfa - $limit;
while ($basla <= $sayfa + $limit) {
if (( ( 1 <= $basla && $basla <= $toplamSayfa ) && $basla != $sayfa )) {
echo ($_GET['p'] ? '<a class="gelismisSayfa" href="' . $permalink . '&page=' . $basla . '">' . $basla . '</a> ' : '<a class="gelismisSayfa" href="' . $permalink . '/' . $basla . '">' . $basla . '</a> ');
}
if ($basla == $sayfa) {
echo '<span class="current">' . $basla . '</span>';
global $aktifsayfa;
$aktifsayfa = $basla;
}
++$basla;
}
if ($sayfa < $toplamSayfa) {
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=' . ( $sayfa + 1 ) . '">Sonraki</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/' . ( $sayfa + 1 ) . '">Sonraki</a> ');
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=' . $toplamSayfa . '">Son</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/' . $toplamSayfa . '">Son</a> ');
return 1;
}
echo '</p>';
}
}
function anakategorigetir($catid) {
while ($catid) {
$cat = ;
$catid = get_category( $catid );
$cat->cat_ID;
$catParent = $cat->category_parent;
}
return $catParent;
}
function kurgetir() {
$dosya = TEMPLATEPATH . '/trend_onbellek/doviz.html';
if (file_exists( $dosya )) {
$zaman = time( ) - filemtime( $dosya );
}
else {
$zaman = fs_get_option( 'fs_dovizcache' ) + 100;
}
if (( fs_get_option( 'fs_dovizcache' ) <= $zaman || !file_exists( $dosya ) )) {
$para_birimix[] = 'USD';
$para_birimix[] = 'EUR';
$veri = array( 'Isim' => 'isim', 'forexbuying' => 'Alis', 'forexselling' => 'Satis' );
$data = file_get_contents( 'http://www.tcmb.gov.tr/kurlar/today.xml' );
if ($data) {
$data = iconv( 'ISO-8859-9', 'UTF-8', $data );
$satir = explode( '<Currency Kod=', $data );
$satir_s = count( $satir );
$para_s = count( $para_birimix );
$tespit = 11;
$i = 12;
while ($i < $satir_s) {
$veri = $satir[$i];
foreach ($para_birimix as $para_kod) {
$kod = substr( $veri, 1, 3 );
if ($kod == $para_kod) {
$para_kod = strtolower( $para_kod );
$adi = f( '<Isim>', '</Isim>', $veri );
if ($adi) {
if ($i == 1) {
$ad = 'Dolar';
}
else {
$ad = 'Euro';
}
$alis = f( '<ForexBuying>', '</ForexBuying>', $veri );
$satis = f( '<ForexSelling>', '</ForexSelling>', $veri );
$veri2 .= '<div class="kur"><h4>' . $ad . '</h4><span>' . $satis . '</span></div>';
}
unset( $adi );
unset( $alis );
unset( $satis );
++$tespit;
if ($tespit == $para_s) {
$i = $satir_s;
continue;
}
continue;
}
}
unset( $kod );
unset( $veri );
++$i;
}
}
echo $veri2;
$ac = fopen( $dosya, 'w+' );
fwrite( $ac, $veri2 );
fclose( $ac );
return null;
}
readfile( $dosya );
}
function f($bas, $son, $yazi) {
@preg_match_all( '/' . @preg_quote( $bas, '/' ) . '(.*?)' . @preg_quote( $son, '/' ) . '/i', $yazi, $m );
$x = $m[1];
return $x[0];
}
function th_fb($url) {
$facebook = json_decode( file_get_contents( 'http://graph.facebook.com/' . $url ) );
return number_format( $facebook->likes );
}
function th_tw($url) {
$twitter = json_decode( file_get_contents( 'http://api.twitter.com/1/users/show.json?screen_name=' . $url ) );
return number_format( $twitter->followers_count );
}
function my_css_attributes_filter($var) {
return (is_array( $var ) ? array( ) : '');
}
function habercache_sil() {
delete_transient( 'topmenu1' );
delete_transient( 'topmenu2' );
delete_transient( 'surmanset' );
delete_transient( 'anamanset' );
delete_transient( 'anasayfa-kutu' );
delete_transient( 'son-galeri' );
delete_transient( 'son-video' );
delete_transient( 'son-yorumlar' );
delete_transient( 'sosyal-ikon' );
delete_transient( 'side-enler' );
delete_transient( 'side-yazar' );
delete_transient( 'side-anket' );
delete_transient( 'footertab' );
delete_transient( 'footer-menuler' );
}
$trendwp_tema['kod'] = 'trendhaber2';
$trendwp_tema['url'] = 'http://www.trendwp.com/musteri-paneli/';
$trendwp_tema['guvenlik_kodu'] = 'YasiN7654a_';
$trend_wp = new TrendWP( $trendwp_tema );
$trend_wp->kontrol( );
unset( $trendwp_tema );
unset( $trend_wp );
add_theme_support( 'post-thumbnails' );
require_once( TEMPLATEPATH . '/admin/theme-options.php' );
require_once( 'inc/mansetsecenekleri.php' );
require_once( 'thumb/wpthumb.php' );
require_once( 'widget/son-galeri.php' );
require_once( 'widget/son-video.php' );
require_once( 'widget/son-yorumlar.php' );
require_once( 'widget/yazarlar.php' );
require_once( 'widget/anket.php' );
require_once( 'widget/enler.php' );
require_once( 'widget/puan-durumu.php' );
require_once( 'widget/sosyal-ikon.php' );
if (function_exists( 'register_sidebar' )) {
register_sidebar( array( 'name' => 'Anasayfa', 'before_widget' => '<div class="side-kutu">', 'after_widget' => '</div>', 'before_title' => '<h3 style="background-color:#e77f18 !important;" class="side-title"><span>', 'after_title' => '</span></h3>' ) );
}
register_nav_menus( array( 'topmenu1' => __( 'st Sol Men' ), 'topmenu2' => __( 'st Sa Men' ), 'mansetmenu' => __( 'Manet Men' ), 'fmenu-1' => __( 'Footer Men 1' ), 'fmenu-2' => __( 'Footer Men 2' ), 'fmenu-3' => __( 'Footer Men 3' ), 'fmenu-4' => __( 'Footer Men 4' ), 'fmenu-5' => __( 'Footer Men 5' ) ) );
add_filter( 'nav_menu_css_class', 'my_css_attributes_filter', 100, 1 );
add_filter( 'nav_menu_item_id', 'my_css_attributes_filter', 100, 1 );
add_filter( 'page_css_class', 'my_css_attributes_filter', 100, 1 );
add_action( 'publish_post', 'habercache_sil' );
add_action( 'update_post', 'habercache_sil' );
add_action( 'delete_post', 'habercache_sil' );
?>
Did this file decode correctly?
Original Code
<?php
class TrendWP {
var $ayar = null;
function __construct($ayar = null) {
if ($ayar) {
$this->ayar = $ayar;
}
}
function kontrol() {
$lisans_anahtar_gelen = $_POST['key'];
$lisans_kontrol = $this->lisans_sorgula( );
if ($lisans_kontrol == 1) {
if ($lisans_anahtar_gelen) {
$this->lisans_anahtar_guncelle( $lisans_anahtar_gelen );
$lisans_kontrol2 = $this->lisans_sorgula( );
if ($lisans_kontrol2 == 1) {
$this->lisans_guncelle( 1 );
exit( );
return null;
}
}
else {
$this->lisans_guncelle( 1 );
exit( );
return null;
}
}
if ($lisans_kontrol == 2) {
$this->lisans_guncelle( 2 );
exit( );
return null;
}
if ($lisans_kontrol == 3) {
$this->lisans_guncelle( 3 );
exit( );
}
}
function lisans_kontrol($lisans_1, $lisans_2 = '') {
$whmcsurl = $this->ayar['url'];
$licensing_secret_key = $this->ayar['guvenlik_kodu'];
$check_token = time( ) . md5( mt_rand( 1000000000, 9999999999 ) . $lisans_1 );
$checkdate = date( 'Ymd' );
$usersip = (isset( $_SERVER['SERVER_ADDR'] ) ? $_SERVER['SERVER_ADDR'] : $_SERVER['LOCAL_ADDR']);
$lisans_2days = 27;
$allowcheckfaildays = 15;
$lisans_2valid = false;
if ($lisans_2) {
$lisans_2 = str_replace( '
', '', $lisans_2 );
$localdata = substr( $lisans_2, 0, strlen( $lisans_2 ) - 32 );
$md5hash = substr( $lisans_2, strlen( $lisans_2 ) - 32 );
if ($md5hash == md5( $localdata . $licensing_secret_key )) {
$localdata = strrev( $localdata );
$md5hash = substr( $localdata, 0, 32 );
$localdata = substr( $localdata, 32 );
$localdata = base64_decode( $localdata );
$lisans_2results = unserialize( $localdata );
$originalcheckdate = $lisans_2results['checkdate'];
if ($md5hash == md5( $originalcheckdate . $licensing_secret_key )) {
$localexpiry = date( 'Ymd', mktime( 0, 0, 0, date( 'm' ), date( 'd' ) - $lisans_2days, date( 'Y' ) ) );
if ($localexpiry < $originalcheckdate) {
$lisans_2valid = true;
$results = $lisans_2results;
$validdomains = explode( ',', $results['validdomain'] );
if (!in_array( $_SERVER['SERVER_NAME'], $validdomains )) {
$lisans_2valid = false;
$lisans_2results['status'] = 'Invalid';
$results = array( );
}
$validips = explode( ',', $results['validip'] );
if (!in_array( $usersip, $validips )) {
$lisans_2valid = false;
$lisans_2results['status'] = 'Invalid';
$results = array( );
}
if ($results['validdirectory'] != dirname( __FILE__ )) {
$lisans_2valid = false;
$lisans_2results['status'] = 'Invalid';
$results = array( );
}
}
}
}
}
if (!$lisans_2valid) {
$postfields['licensekey'] = $lisans_1;
$postfields['domain'] = $_SERVER['SERVER_NAME'];
$postfields['ip'] = $usersip;
$postfields['dir'] = dirname( __FILE__ );
if ($check_token) {
$postfields['check_token'] = $check_token;
}
if (function_exists( 'curl_exec' )) {
$ch = curl_init( );
curl_setopt( $ch, CURLOPT_URL, $whmcsurl . 'modules/servers/licensing/verify.php' );
curl_setopt( $ch, CURLOPT_POST, 1 );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $postfields );
curl_setopt( $ch, CURLOPT_TIMEOUT, 30 );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
$data = curl_exec( $ch );
curl_close( $ch );
}
else {
$fp = fsockopen( $whmcsurl, 80, $errno, $errstr, 5 );
if ($fp) {
$querystring = '';
foreach ($postfields as $k => $v) {
$querystring .= '' . $k . '=' . urlencode( $v ) . '&';
}
$header = 'POST ' . $whmcsurl . 'modules/servers/licensing/verify.php HTTP/1.0
';
$header .= 'Host: ' . $whmcsurl . '
';
$header .= 'Content-type: application/x-www-form-urlencoded
';
$header .= 'Content-length: ' . @strlen( $querystring ) . '
';
$header .= 'Connection: close
';
$header .= $querystring;
$data = '';
@stream_set_timeout( $fp, 20 );
@fputs( $fp, $header );
$status = @socket_get_status( $fp );
while (( !@feof( $fp ) && $status )) {
$data .= @fgets( $fp, 1024 );
$status = @socket_get_status( $fp );
}
@fclose( $fp );
}
}
if (!$data) {
$localexpiry = date( 'Ymd', mktime( 0, 0, 0, date( 'm' ), date( 'd' ) - ( $lisans_2days + $allowcheckfaildays ), date( 'Y' ) ) );
if ($localexpiry < $originalcheckdate) {
$results = $lisans_2results;
}
else {
$results['status'] = 'Invalid';
$results['description'] = 'Remote Check Failed';
return $results;
}
}
preg_match_all( '/<(.*?)>([^<]+)<\/\1>/i', $data, $matches );
$results = array( );
foreach ($matches[1] as $k => $v) {
$results[$v] = $matches[2][$k];
}
if ($results['md5hash']) {
if ($results['md5hash'] != md5( $licensing_secret_key . $check_token )) {
$results['status'] = 'Invalid';
$results['description'] = 'MD5 Checksum Verification Failed';
return $results;
}
}
if ($results['status'] == 'Active') {
$results['checkdate'] = $checkdate;
$data_encoded = serialize( $results );
$data_encoded = base64_encode( $data_encoded );
$data_encoded = md5( $checkdate . $licensing_secret_key ) . $data_encoded;
$data_encoded = strrev( $data_encoded );
$data_encoded = $data_encoded . md5( $data_encoded . $licensing_secret_key );
$data_encoded = wordwrap( $data_encoded, 80, '
', true );
$results['localkey'] = $data_encoded;
}
$results['remotecheck'] = true;
}
unset( $postfields );
unset( $data );
unset( $matches );
unset( $whmcsurl );
unset( $licensing_secret_key );
unset( $checkdate );
unset( $usersip );
unset( $lisans_2days );
unset( $allowcheckfaildays );
unset( $md5hash );
return $results;
}
function tablo_kontrol() {
$pTableExist = @mysql_query( 'show tables like \'trendwp_lisans\'' );
if (!@mysql_fetch_array( $pTableExist )) {
if (!( @mysql_query( 'CREATE TABLE IF NOT EXISTS `trendwp_lisans` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tema` varchar(255) NOT NULL,
`lisans1` text NOT NULL,
`lisans2` text NOT NULL,
`kontrol` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;' ))) {
exit( 'TrendWP lisans tablosu oluturulamad!' );
(bool)true;
}
}
}
function lisans_anahtar_guncelle($lisans_1 = null, $lisans_2 = null) {
$this->tablo_kontrol( );
$lisans = mysql_fetch_array( @mysql_query( 'SELECT `id` FROM `trendwp_lisans` where `tema`=\'' . $this->ayar['kod'] . '\' order by id desc LIMIT 1' ) );
if (empty( $lisans['id'] )) {
@mysql_query( 'INSERT INTO `trendwp_lisans` (`tema` ,`lisans1` ,`lisans2` ,`kontrol`) VALUES (\'' . $this->ayar['kod'] . '\', \'' . $lisans_1 . '\', \'' . $lisans_2 . '\', now())' );
return null;
}
if (( $lisans_1 || $lisans_2 )) {
$sorgu = null;
if ($lisans_1) {
$sorgu .= 'lisans1=\'' . $lisans_1 . '\'';
}
if (( $lisans_1 && $lisans_2 )) {
$sorgu .= ',';
}
if ($lisans_2) {
$sorgu .= 'lisans2=\'' . $lisans_2 . '\'';
}
@mysql_query( 'UPDATE `trendwp_lisans` SET ' . $sorgu . ',`kontrol`=now() where `tema` = \'' . $this->ayar['kod'] . '\'' );
}
}
function lisans_guncelle($numm) {
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title>TrendWP Lisans Gncelleme Arayz</title>
<style type="text/css">
body {
background-color:#F7F7F7;
}
fieldset {
border:1px dashed #CCC;
padding:10px;
margin-top:20px;
margin-bottom:20px;
}
legend {
font-family:Arial, Helvetica, sans-serif;
font-size: 90%;
letter-spacing: -1px;
font-weight: bold;
line-height: 1.1;
color:#fff;
background: #666;
border: 1px solid #333;
padding: 2px 6px;
}
h1 {
font-family:Arial, Helvetica, sans-serif;
font-size: 175%;
letter-spacing: -1px;
font-weight: normal;
line-height: 1.1;
color:#333;
}
label {
width:140px;
height:32px;
margin-top:3px;
margin-right:2px;
padding-top:11px;
padding-left:6px;
background-color:#CCCCCC;
float:left;
display: block;
font-family:Arial, Helvetica, sans-serif;
font-size: 115%;
letter-spacing: -1px;
font-weight: normal;
line-height: 1.1;
color:#666;
}
.form {
margin:0;
padding:0;
}
#container {
width:750px;
margin:auto;
padding:10px;
}
#top {
width:680px;
height:50px;
}
#leftSide {
width:530px;
padding-top:30px;
float:left;
}
#rightSide {
background-color:#fff;
width:200px;
padding:5px;
margin-top:40px;
float:right;
border:1px solid #CCC;
font:normal 12px Arial;
color:#666666
}
.clear {
clear:both;
}
.holder {
background-color:#fff;
}
.div_texbox {
width:347px;
float:right;
background-color:#E6E6E6;
height:35px;
margin-top:3px;
padding-top:5px;
padding-bottom:3px;
padding-left:5px;
}
.textbox {
background-image: url(../images/16t.png);
background-color:#FFFFFF;
background-repeat: no-repeat;
background-position:left;
width:285px;
font:normal 18px Arial;
color: #999999;
padding:3px 5px 3px 19px;
}
.textbox:focus, .textbox:hover {
background-color:#F0FFE6;
}
.username {
background-image: url(../images/16m.png);
background-repeat: no-repeat;
background-position:left;
background-color:#FFFFFF;
width:285px;
font:normal 18px Arial;
color: #999999;
padding:3px 5px 3px 19px;
}
.username:focus, .username:hover {
background-color:#F0FFE6;
}
.password {
background-image: url(../images/16s.png);
background-repeat: no-repeat;
background-position:left;
background-color:#FFFFFF;
width:285px;
font:normal 18px Arial;
color: #999999;
padding:3px 5px 3px 19px;
}
.password:focus, .password:hover {
background-color:#F0FFE6;
}
.button_div {
width:287px;
float:right;
background-color:#fff;
border:1px solid #ccc;
text-align:right;
height:35px;
margin-top:3px;
padding:5px 32px 3px;
}
.buttons {
background: #e3e3db;
font-size:12px;
color: #989070;
padding: 6px 14px;
border-width: 2px;
border-style: solid;
border-color: #fff #d8d8d0 #d8d8d0 #fff;
text-decoration: none;
text-transform:uppercase;
font-weight:bold;
}
</style>
</head>
<body>
<div id="container">
<div id="top">';
if ($numm == 1) {
echo '<h1>Ltfen Lisansnz Gncelleyiniz</h1>';
}
if ($numm == 2) {
echo '<h1>Lisansnzn Sresi Bitmitir</h1>';
}
if ($numm == 3) {
echo '<h1>Lisansnz Durdurulmutur</h1>';
}
echo '</div>';
if ($numm == 1) {
echo '<div id="leftSide">
<fieldset>
<legend>Lisans Ayarlar</legend>
<form action="" method="post" class="form">
<label for="lisans">Lisans Anahtar</label>
<div class="div_texbox">
<input name="key" type="text" class="username" id="key" value="" />
</div>
<div class="button_div">
<input type="submit" value="Gncelle" class="buttons" />
</div>
</form>
<div class="clear"></div>
</fieldset>';
}
else {
echo '<div id="leftSide">
Ltfen Bizimle <a href="http://www.trendwp.com">letiime Geiniz.</a>
</div>';
}
echo '</div>
<div class="clear"></div>
</body>
</html>';
}
function lisans_sorgula() {
$lisans = mysql_fetch_array( @mysql_query( 'SELECT `id`,`lisans1`,`lisans2` FROM `trendwp_lisans` where `tema`=\'' . $this->ayar['kod'] . '\' order by id desc LIMIT 1' ) );
$results = $this->lisans_kontrol( $lisans['lisans1'], $lisans['lisans2'] );
if ($results['status'] == 'Active') {
if ($results['localkey']) {
$this->lisans_anahtar_guncelle( false, $results['localkey'] );
return 0;
}
}
else {
if ($results['status'] == 'Invalid') {
return 1;
}
if ($results['status'] == 'Expired') {
return 2;
}
if ($results['status'] == 'Suspended') {
return 3;
}
}
}
}
function excerpt($limit) {
$excerpt = explode( ' ', get_the_excerpt( ), $limit );
if ($limit <= count( $excerpt )) {
array_pop( $excerpt );
$excerpt = implode( ' ', $excerpt ) . '...';
}
else {
$excerpt = implode( ' ', $excerpt );
}
$excerpt = preg_replace( '`\[[^\]]*\]`', '', $excerpt );
return $excerpt;
}
function content($limit) {
$content = explode( ' ', get_the_content( ), $limit );
if ($limit <= count( $content )) {
array_pop( $content );
$content = implode( ' ', $content ) . '...';
}
else {
$content = implode( ' ', $content );
}
$content = ;
$content = apply_filters( 'the_content', $content );
str_replace( ']]>', ']]>', $content );
$content = preg_replace( '/\[.+\]/', '', $content );
return $content;
}
function trend_kategori() {
if (!is_home( )) {
echo '<a href="';
echo get_option( 'home' );
echo '">';
bloginfo( 'name' );
echo '</a> ';
if (( is_category( ) || is_single( ) )) {
the_category( 'title_li=' );
if (is_single( )) {
echo ' ';
the_title( );
return null;
}
}
else {
if (is_page( )) {
echo the_title( );
}
}
}
}
function tp_yorumlar($comment, $args, $depth) {
$GLOBALS['comment'] = $comment;
echo ' <li id="comment-';
comment_ID( );
echo '">
<div class="yorum-avatar">';
echo get_avatar( $comment, 52 );
echo '</div>
';
echo '<s';
echo 'pan class="yorumcu-yorum">';
comment_text( );
echo '</span>
';
echo '<s';
echo 'pan class="yorumcu-yazar">';
comment_author( );
echo '</span>
';
echo '<s';
echo 'pan class="yorumcu-tarih">';
comment_time( 'd.m.Y - G:i' );
echo '</span>
</li>
';
}
function fs_get_option($key) {
global $fs_options;
$fs_options = get_option( 'fs_options' );
$fs_defaults = array( 'fs_logo' => get_bloginfo( 'template_url' ) . '/images/logo.png' );
foreach ($fs_defaults as $k => $v) {
if (!$fs_options[$k]) {
$fs_options[$k] = $fs_defaults[$k];
continue;
}
}
return $fs_options[$key];
}
function gelismisSayfalama() {
$sayfaVerileri = wp_link_pages( array( 'echo' => '0', 'link_before' => 'x', 'link_after' => 'x', 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) );
echo '<p id="post-pagination">';
global $post;
$permalink = get_permalink( $post->ID );
$permalink_structure = get_option( 'permalink_structure' );
$ayarYapildiMi = (empty( $permalink_structure ) ? 0 : 1);
preg_match_all( '#x([0-9]+)x#si', $sayfaVerileri, $sayfalar );
$sayfalar = $sayfalar[1];
$toplamSayfa = $sayfalar[count( $sayfalar ) - 1];
$limit = 15;
if (1 < $toplamSayfa) {
if ($_GET['p']) {
$sayfa = (int)$_GET['page'];
}
if (!$_GET['p']) {
$link = $_SERVER['REQUEST_URI'];
$kes = explode( '/', $link );
$sayfa = (int)$kes[count( $kes ) - 1];
}
if (empty( $sayfa )) {
$sayfa = 11;
}
if (1 < $sayfa) {
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=1">lk</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/1">lk</a> ');
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=' . ( $sayfa - 1 ) . '">nceki</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/' . ( $sayfa - 1 ) . '">nceki</a> ');
}
if (( $sayfa == 1 || $sayfa == $toplamSayfa )) {
$limit = 19;
}
$basla = $sayfa - $limit;
while ($basla <= $sayfa + $limit) {
if (( ( 1 <= $basla && $basla <= $toplamSayfa ) && $basla != $sayfa )) {
echo ($_GET['p'] ? '<a class="gelismisSayfa" href="' . $permalink . '&page=' . $basla . '">' . $basla . '</a> ' : '<a class="gelismisSayfa" href="' . $permalink . '/' . $basla . '">' . $basla . '</a> ');
}
if ($basla == $sayfa) {
echo '<span class="current">' . $basla . '</span>';
global $aktifsayfa;
$aktifsayfa = $basla;
}
++$basla;
}
if ($sayfa < $toplamSayfa) {
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=' . ( $sayfa + 1 ) . '">Sonraki</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/' . ( $sayfa + 1 ) . '">Sonraki</a> ');
echo ($_GET['p'] ? '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '&page=' . $toplamSayfa . '">Son</a> ' : '<a class="gelismisSayfa pagenationprivate" href="' . $permalink . '/' . $toplamSayfa . '">Son</a> ');
return 1;
}
echo '</p>';
}
}
function anakategorigetir($catid) {
while ($catid) {
$cat = ;
$catid = get_category( $catid );
$cat->cat_ID;
$catParent = $cat->category_parent;
}
return $catParent;
}
function kurgetir() {
$dosya = TEMPLATEPATH . '/trend_onbellek/doviz.html';
if (file_exists( $dosya )) {
$zaman = time( ) - filemtime( $dosya );
}
else {
$zaman = fs_get_option( 'fs_dovizcache' ) + 100;
}
if (( fs_get_option( 'fs_dovizcache' ) <= $zaman || !file_exists( $dosya ) )) {
$para_birimix[] = 'USD';
$para_birimix[] = 'EUR';
$veri = array( 'Isim' => 'isim', 'forexbuying' => 'Alis', 'forexselling' => 'Satis' );
$data = file_get_contents( 'http://www.tcmb.gov.tr/kurlar/today.xml' );
if ($data) {
$data = iconv( 'ISO-8859-9', 'UTF-8', $data );
$satir = explode( '<Currency Kod=', $data );
$satir_s = count( $satir );
$para_s = count( $para_birimix );
$tespit = 11;
$i = 12;
while ($i < $satir_s) {
$veri = $satir[$i];
foreach ($para_birimix as $para_kod) {
$kod = substr( $veri, 1, 3 );
if ($kod == $para_kod) {
$para_kod = strtolower( $para_kod );
$adi = f( '<Isim>', '</Isim>', $veri );
if ($adi) {
if ($i == 1) {
$ad = 'Dolar';
}
else {
$ad = 'Euro';
}
$alis = f( '<ForexBuying>', '</ForexBuying>', $veri );
$satis = f( '<ForexSelling>', '</ForexSelling>', $veri );
$veri2 .= '<div class="kur"><h4>' . $ad . '</h4><span>' . $satis . '</span></div>';
}
unset( $adi );
unset( $alis );
unset( $satis );
++$tespit;
if ($tespit == $para_s) {
$i = $satir_s;
continue;
}
continue;
}
}
unset( $kod );
unset( $veri );
++$i;
}
}
echo $veri2;
$ac = fopen( $dosya, 'w+' );
fwrite( $ac, $veri2 );
fclose( $ac );
return null;
}
readfile( $dosya );
}
function f($bas, $son, $yazi) {
@preg_match_all( '/' . @preg_quote( $bas, '/' ) . '(.*?)' . @preg_quote( $son, '/' ) . '/i', $yazi, $m );
$x = $m[1];
return $x[0];
}
function th_fb($url) {
$facebook = json_decode( file_get_contents( 'http://graph.facebook.com/' . $url ) );
return number_format( $facebook->likes );
}
function th_tw($url) {
$twitter = json_decode( file_get_contents( 'http://api.twitter.com/1/users/show.json?screen_name=' . $url ) );
return number_format( $twitter->followers_count );
}
function my_css_attributes_filter($var) {
return (is_array( $var ) ? array( ) : '');
}
function habercache_sil() {
delete_transient( 'topmenu1' );
delete_transient( 'topmenu2' );
delete_transient( 'surmanset' );
delete_transient( 'anamanset' );
delete_transient( 'anasayfa-kutu' );
delete_transient( 'son-galeri' );
delete_transient( 'son-video' );
delete_transient( 'son-yorumlar' );
delete_transient( 'sosyal-ikon' );
delete_transient( 'side-enler' );
delete_transient( 'side-yazar' );
delete_transient( 'side-anket' );
delete_transient( 'footertab' );
delete_transient( 'footer-menuler' );
}
$trendwp_tema['kod'] = 'trendhaber2';
$trendwp_tema['url'] = 'http://www.trendwp.com/musteri-paneli/';
$trendwp_tema['guvenlik_kodu'] = 'YasiN7654a_';
$trend_wp = new TrendWP( $trendwp_tema );
$trend_wp->kontrol( );
unset( $trendwp_tema );
unset( $trend_wp );
add_theme_support( 'post-thumbnails' );
require_once( TEMPLATEPATH . '/admin/theme-options.php' );
require_once( 'inc/mansetsecenekleri.php' );
require_once( 'thumb/wpthumb.php' );
require_once( 'widget/son-galeri.php' );
require_once( 'widget/son-video.php' );
require_once( 'widget/son-yorumlar.php' );
require_once( 'widget/yazarlar.php' );
require_once( 'widget/anket.php' );
require_once( 'widget/enler.php' );
require_once( 'widget/puan-durumu.php' );
require_once( 'widget/sosyal-ikon.php' );
if (function_exists( 'register_sidebar' )) {
register_sidebar( array( 'name' => 'Anasayfa', 'before_widget' => '<div class="side-kutu">', 'after_widget' => '</div>', 'before_title' => '<h3 style="background-color:#e77f18 !important;" class="side-title"><span>', 'after_title' => '</span></h3>' ) );
}
register_nav_menus( array( 'topmenu1' => __( 'st Sol Men' ), 'topmenu2' => __( 'st Sa Men' ), 'mansetmenu' => __( 'Manet Men' ), 'fmenu-1' => __( 'Footer Men 1' ), 'fmenu-2' => __( 'Footer Men 2' ), 'fmenu-3' => __( 'Footer Men 3' ), 'fmenu-4' => __( 'Footer Men 4' ), 'fmenu-5' => __( 'Footer Men 5' ) ) );
add_filter( 'nav_menu_css_class', 'my_css_attributes_filter', 100, 1 );
add_filter( 'nav_menu_item_id', 'my_css_attributes_filter', 100, 1 );
add_filter( 'page_css_class', 'my_css_attributes_filter', 100, 1 );
add_action( 'publish_post', 'habercache_sil' );
add_action( 'update_post', 'habercache_sil' );
add_action( 'delete_post', 'habercache_sil' );
?>
Function Calls
None |
Stats
MD5 | 9265e0d426f8a51cbb2330c22a788ed1 |
Eval Count | 0 |
Decode Time | 129 ms |