Nette gezerken gördüm hoşuma gitti, tek bir dezavantajı var footerdaki linkleri silince tema çıkmıyor.
Üstat onunda kolay bir yolu var oda şu, functions.php dosyasında
başlayan <?php eval(stripslashes(gzinflate(base64_decode(
kodlamanın çözülmüşü
<? function check_header(){
$l='gucms';
$f=dirname(__FILE__).'/header.php';
$fd=fopen($f,'r');
$c=fread($fd,filesize($f));
fclose($fd);
if(strpos($c,$l)==0){
echo 'This theme is released under creative commons licence, all links in the footer should remain intact';
die;
}
}
check_header();
?>header.php dosyasında <?php eval(stripslashes(gzinflate(base64_decode( ile başlayan kodlamanın çözülmüşü
<? function check_footer(){
$l='qisf';
$f=dirname(__FILE__).'/footer.php';
$fd=fopen($f,'r');
$c=fread($fd,filesize($f));
fclose($fd);
if(strpos($c,$l)==0){
echo 'This theme is released under creative commons licence, all links in the footer should remain intact';
die;
}
}
check_footer();
?>footer php de çözülmüş kısım
</div>
<?
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<div id="footer">
<div class="foot">
<ul>
<li><h3>Most Played Games</h3>
<?php if (function_exists('get_most_viewed')): ?>
<ul>
<?php get_most_viewed('post', 5); ?>
</ul>
<?php endif; ?>
</li>
</ul>
</div>
<div class="foot">
<ul>
<li><h3>Highest Rated Games</h3>
<?php if (function_exists('get_highest_rated')): ?>
<ul>
<?php get_highest_rated('post', 0, 5); ?>
</ul>
<?php endif; ?>
</li>
</ul>
</div>
<div class="foot">
<ul>
<li><h3>Most Commented Games</h3>
<ul>
<?php echo popularPosts(5); ?>
</ul>
</li>
</ul>
</div>
</div>
<div id="credits">
<p>2010 © <a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a> Designed by <a href="http://www.juggernart.com/games/free-online-car-parking/index.html" title="Parking Games">Parking Games</a> in collaboration with <a href="http://bmonlinegames.com/categories/44/bakugan.html" title="Bakugan Games">Bakugan Games</a>, <a href="http://bmonlinegames.com/categories/43/ben-10.html" title="Ben 10 Games Online">Ben 10 Games Online</a> and <a href="http://cargames77.com/" title="CarGames77">CarGames77</a></p>
</div><? echo stripslashes($wp_analytics); ?>
<?php wp_footer(); ?>
</body>
</html>Yapmanız gereken header.php ve functions.php deki o eval kodlarını silmek.Footer.php ye de son attığım kodu yazıp editlemek.
Hadi Kolay gele