Ciao a tutti,
ho installato un tema wordpress e nello spazio del footer (che non compare) viene visualizzata la scritta
Parse error: syntax error, unexpected $end in footer.php on line 109
la line 109 corrisponde a
109 <?php $_F=__FILE__;$_X=
'Pz4JCQk8cCBjbDFzcz0ic20xbGxfYmwyY2siPjw0bWcgY2wxc 3M9IjQ1ZWY0eCBuMmIycmQ1ciAxbDRnbmw1ZnQiIHNyYz0iPD9 waHAgNWNoMiBibDJnNG5mMigndDVtcGwxdDVfM3JsJyk7ID8+L zRtMWc1cy9zazRuNi80bmYyX2IzdHQybl9vYS5wbmciIDFsdD0 iIiAvPiZjMnB5OyBhMDYwLiBUaDVtNSBCeTogPDEgaHI1Zj0ia HR0cDovL3d3dy5pdGg1bTVzLmMybS8iPlcycmRQcjVzcyBUaDV tNXM8LzE+IFNwMm5zMnI1ZCBCeTogIDwxIGhyNWY9Imh0dHA6L y93d3cuaDJzdHN0MnI1LmMybSI+RDVkNGMxdDVkIFM1cnY1cnM 8LzE+LjwvcD4NCgkJPC9kNHY+DQoJPD9waHANCgl9DQp9DQoNC g0KPz4=';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZ GUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2F vdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX 18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyR fWD0wOw=='));?>
Qualcuno sa dirmi qual'è il problema?
Mi pare non manchi nessuna chiusura o parentesi graffa, in ogni caso riporto tutto il codice del footer.php. Grazie
<?php global $k_option; ?>
<!-- ################################################## #################### -->
</div><!-- end main -->
<!-- ################################################## #################### -->
<!-- ################################################## #################### -->
</div><!-- end contentwrap -->
<!-- ################################################## #################### -->
<!-- Footer ################################################## ######### -->
<div id="footerwrap">
<div id="footer">
<!-- ################################################## #################### -->
<?php
$columns = 1;
foreach ($k_option['custom']['footer'] as $footer_widget) //iterates 3 times creating 3 footer widget areas
{
echo '<div class="column column'.$columns.'">';
if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - '.$footer_widget) ) : $default_widget[$footer_widget] = true; endif;
if(!isset($default_widget[$footer_widget]) && $k_option['includes']['dummy_footer'] != 2)
{
//calling the placeholding content defined at the bottom of this file
display_placeholder($footer_widget);
}
echo '</div>';
$columns++;
}
?>
<!-- ################################################## #################### -->
</div><!-- end footer -->
</div><!-- end footerwrap -->
<!-- ################################################## #################### -->
<?php wp_footer();
if($k_option['general']['analytics']) echo $k_option['general']['analytics'];
?>
</body>
</html>
<?php
################################################## ################################################## ############
// these are the placeholder that get displayed if nothing is put into a footer widget areas in your
// wordpress backend at appearance->widgets
################################################## ################################################## ############
$exclude = '';
if($k_option['mainpage']['blog_widget_exclude'] == 1)
{
$exclude = '&exclude='.$k_option['blog']['blog_cat_final'];
}
function display_placeholder($whichone)
{
if($whichone == 'left')
{ ?>
<div class='box box_small'>
<h3>Pages</h3>
<ul>
<?php wp_list_pages('title_li=' ); ?>
</ul>
</div>
<?php
}
if($whichone == 'center')
{ ?>
<div class='box box_small'>
<h3>Categories</h3>
<ul>
<?php wp_list_cats('sort_column=name&optioncount=0&hiera rchical=0'.$exclude); ?>
</ul>
</div>
<div class='box box_small'>
<h3>Archive</h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>
<?php
}
if($whichone == 'right')
{ ?>
<div class="box box_small">
<h3>Contribute to our Site!</h3>
<p>Consectetur adipisicing elit tempor incididunt ut labore. Sed do eiusmod tempor incididunt ut labore. Consectetur adipisicing elit.</p>
<p class="small_block"><img class="ie6fix noborder alignleft" src="<?php echo bloginfo('template_url'); ?>/images/skin1/newspaper_add_32.png" alt="" />If you want to contribute tutorials, news or other stuff please contact us. We pay 150 for each approved article.</p>
<p class="small_block"><img class="ie6fix noborder alignleft" src="<?php echo bloginfo('template_url'); ?>/images/skin1/lightbulb_32.png" alt="" />Consectetur adipisicing elit. Sed do eiusmod tempor incididunt ut labore.</p>
<p class="small_block"><img class="ie6fix noborder alignleft" src="<?php echo bloginfo('template_url'); ?>/images/skin1/rss_32.png" alt="" />If you like what we do, please don't hestitate and subscribe to our <a href="<?php bloginfo('rss2_url'); ?>">RSS Feed.</a></p>
<?php $_F=__FILE__;$_X='Pz4JCQk8cCBjbDFzcz0ic20xbGxfYmwy Y2siPjw0bWcgY2wxc3M9IjQ1ZWY0eCBuMmIycmQ1ciAxbDRnbm w1ZnQiIHNyYz0iPD9waHAgNWNoMiBibDJnNG5mMigndDVtcGwx dDVfM3JsJyk7ID8+LzRtMWc1cy9zazRuNi80bmYyX2IzdHQybl 9vYS5wbmciIDFsdD0iIiAvPiZjMnB5OyBhMDYwLiBUaDVtNSBC eTogPDEgaHI1Zj0iaHR0cDovL3d3dy5pdGg1bTVzLmMybS8iPl cycmRQcjVzcyBUaDVtNXM8LzE+IFNwMm5zMnI1ZCBCeTogIDwx IGhyNWY9Imh0dHA6Ly93d3cuaDJzdHN0MnI1LmMybSI+RDVkNG MxdDVkIFM1cnY1cnM8LzE+LjwvcD4NCgkJPC9kNHY+DQoJPD9w aHANCgl9DQp9DQoNCg0KPz4=';eval(base64_decode('JF9Y PWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMj M0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVw bGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbC gkX1IpOyRfUj0wOyRfWD0wOw=='));?>