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 if (file_exists(TEMPLATEPATH.'/lisans.php')) { require('lisans.php');// iinde $li..
Decoded Output download
<?php
if (file_exists(TEMPLATEPATH.'/lisans.php')) {
require('lisans.php');// iinde $lisans_anahtar deikeni var
$lisans['site']=getenv('HTTP_HOST');
if (substr($lisans['site'], 0, 4) == "www.")
$lisans['site']=substr($lisans['site'],4);
$lisans['hash']=wordwrap(strtoupper(md5(sha1(($lisans['site'])))),4,'-',true);
if($lisans['hash']!==$lisans_anahtar)
die('Lisans anahtarnz bu site iin geerli deildir.');
else
unset($lisans);
add_theme_support( 'post-thumbnails' );
add_image_size( 'son-baslik', 100, 95, true );
add_image_size( 'blogdan', 157, 144, true );
add_image_size( 'k-box', 160, 60, true );
add_image_size( 'post', 848, 350, true );
add_image_size( 'benzer', 190, 70, true );
add_image_size( 'son', 90, 85, true );
add_image_size( 'page', 848, 350, true );
add_image_size( 'kategori', 270, 120, true );
add_image_size( 'pop', 100, 95, true );
// Yorum Listeleme zellii
function sinyor_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
<?php
$PostAuthor = false;
if($comment->comment_author_email == get_the_author_email()) {
$PostAuthor = true;}
elseif($comment->comment_author_email == '[email protected]') {
$PostAuthor = true;}
?>
<li <?php if($PostAuthor) {echo "class='authorcomment' ";} ?> id="li-yorum-<?php comment_ID() ?>">
<div class="yorumlarim">
<div class="yorumkullanici">
<!-- Yorum Avatar -->
<div class="yorumavatar thumbnail">
<?php echo get_avatar($comment,$size='100'); ?>
</div>
<!-- #Yorum Avatar -->
<!-- Kullanc Ad ve Tarih -->
<h3><i style="color:#fea720" class="glyphicon glyphicon-user"></i> <?php printf(__('%s'), get_comment_author_link()) ?></h3>
<div class="yorumtarih">
<i class="yorumtarihikon"></i><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><i style="color:#fea720" class="glyphicon glyphicon-time"></i> <?php printf(get_comment_date()); ?></a> <a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(get_comment_time()); ?></a>
</div>
<!-- #Kullanc Ad ve Tarih -->
</div>
<?php if ($comment->comment_approved == '0') : ?>
<em class="yorumonay">Yorumunuz onaylandktan sonra grntlenecektir.</em>
<?php endif; ?>
<div class="yorumyazi"><?php comment_text() ?></div>
<div class="cevapla text-right ">
<i class="cevaplaikon"></i><i style="color:#fea720" class="glyphicon glyphicon-share-alt"></i> <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
</div>
</div>
<?php }
function plugin_comment_reply_js(){
if ( (!is_admin()) &&is_singular() &&comments_open() &&get_option('thread_comments') )
wp_enqueue_script( 'comment-reply' );
}
add_action('wp_head', 'plugin_comment_reply_js');
function wpb_set_post_views($postID) {
$count_key = 'wpb_post_views_count';
$count = get_post_meta($postID, $count_key, true);
if($count==''){
$count = 0;
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, '0');
}else{
$count++;
update_post_meta($postID, $count_key, $count);
}
}
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
function get_excerpt($count)
{$permalink = get_permalink($post->ID); $excerpt = get_the_content();
$excerpt = strip_tags($excerpt);
$excerpt = substr($excerpt, 0, $count);
$excerpt = substr($excerpt, 0, strripos($excerpt, " "));
$excerpt = $excerpt.' <a href="'.$permalink.'">...</a>';
return $excerpt;
}
// Register Custom Navigation Walker
require_once('wp_bootstrap_navwalker.php');
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'coderv1' ),
) );
} else { die('Lisans anahtarnn bulunduundan emin olun.'); }
?>
Did this file decode correctly?
Original Code
<?php
if (file_exists(TEMPLATEPATH.'/lisans.php')) {
require('lisans.php');// iinde $lisans_anahtar deikeni var
$lisans['site']=getenv('HTTP_HOST');
if (substr($lisans['site'], 0, 4) == "www.")
$lisans['site']=substr($lisans['site'],4);
$lisans['hash']=wordwrap(strtoupper(md5(sha1(($lisans['site'])))),4,'-',true);
if($lisans['hash']!==$lisans_anahtar)
die('Lisans anahtarnz bu site iin geerli deildir.');
else
unset($lisans);
add_theme_support( 'post-thumbnails' );
add_image_size( 'son-baslik', 100, 95, true );
add_image_size( 'blogdan', 157, 144, true );
add_image_size( 'k-box', 160, 60, true );
add_image_size( 'post', 848, 350, true );
add_image_size( 'benzer', 190, 70, true );
add_image_size( 'son', 90, 85, true );
add_image_size( 'page', 848, 350, true );
add_image_size( 'kategori', 270, 120, true );
add_image_size( 'pop', 100, 95, true );
// Yorum Listeleme zellii
function sinyor_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
<?php
$PostAuthor = false;
if($comment->comment_author_email == get_the_author_email()) {
$PostAuthor = true;}
elseif($comment->comment_author_email == '[email protected]') {
$PostAuthor = true;}
?>
<li <?php if($PostAuthor) {echo "class='authorcomment' ";} ?> id="li-yorum-<?php comment_ID() ?>">
<div class="yorumlarim">
<div class="yorumkullanici">
<!-- Yorum Avatar -->
<div class="yorumavatar thumbnail">
<?php echo get_avatar($comment,$size='100'); ?>
</div>
<!-- #Yorum Avatar -->
<!-- Kullanc Ad ve Tarih -->
<h3><i style="color:#fea720" class="glyphicon glyphicon-user"></i> <?php printf(__('%s'), get_comment_author_link()) ?></h3>
<div class="yorumtarih">
<i class="yorumtarihikon"></i><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><i style="color:#fea720" class="glyphicon glyphicon-time"></i> <?php printf(get_comment_date()); ?></a> <a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(get_comment_time()); ?></a>
</div>
<!-- #Kullanc Ad ve Tarih -->
</div>
<?php if ($comment->comment_approved == '0') : ?>
<em class="yorumonay">Yorumunuz onaylandktan sonra grntlenecektir.</em>
<?php endif; ?>
<div class="yorumyazi"><?php comment_text() ?></div>
<div class="cevapla text-right ">
<i class="cevaplaikon"></i><i style="color:#fea720" class="glyphicon glyphicon-share-alt"></i> <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
</div>
</div>
<?php }
function plugin_comment_reply_js(){
if ( (!is_admin()) &&is_singular() &&comments_open() &&get_option('thread_comments') )
wp_enqueue_script( 'comment-reply' );
}
add_action('wp_head', 'plugin_comment_reply_js');
function wpb_set_post_views($postID) {
$count_key = 'wpb_post_views_count';
$count = get_post_meta($postID, $count_key, true);
if($count==''){
$count = 0;
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, '0');
}else{
$count++;
update_post_meta($postID, $count_key, $count);
}
}
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
function get_excerpt($count)
{$permalink = get_permalink($post->ID); $excerpt = get_the_content();
$excerpt = strip_tags($excerpt);
$excerpt = substr($excerpt, 0, $count);
$excerpt = substr($excerpt, 0, strripos($excerpt, " "));
$excerpt = $excerpt.' <a href="'.$permalink.'">...</a>';
return $excerpt;
}
// Register Custom Navigation Walker
require_once('wp_bootstrap_navwalker.php');
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'coderv1' ),
) );
} else { die('Lisans anahtarnn bulunduundan emin olun.'); }
?>
Function Calls
| None |
Stats
| MD5 | 4a2af3a893a5ff84a9160aaaccbf59d2 |
| Eval Count | 0 |
| Decode Time | 109 ms |