• Hello,

    I’m at https://lizvang.com and my footer.php file in my Soloss I’m using is a garbled junk of code.

    <?php $_F=__FILE__;$_X=’Pz48P3BocCB3cF9mMjJ0NXIoKTsgPz4NCg0KPC9kNHY+DQoNCjwvZDR2Pg0KDQo8ZDR2IDRkPSJmMjJ0NXIiPg0KICA8ZDR2IDRkPSJmMjJ0NXItYmwyY2siPg0KICA8ZDR2IDRkPSJmMjJ0NXItYzJudDVudCI+DQogICAgPGQ0diBjbDFzcz0iMWw0Z25sNWZ0Ij4NCgkmYzJweTthMDBlLTw/cGhwIHRoNV90NG01KCdZJyk7ID8+IDwxIGhyNWY9Ijw/cGhwIDVjaDIgZzV0X3M1dHQ0bmdzKCdoMm01Jyk7ID8+Ij48P3BocCBibDJnNG5mMignbjFtNScpOyA/PjwvMT48YnIgLz4NCglENXM0Z241ZCBieSA8MSBocjVmPSJodHRwOi8vd3d3LjVsNWcxbnR3cHRoNW01cy5jMm0iPkVsNWcxbnQgV1AgVGg1bTVzPC8xPjwvZDR2Pg0KCTxkNHYgY2wxc3M9IjFsNGducjRnaHQiPlYxbDRkIDwxIGhyNWY9Imh0dHA6Ly92MWw0ZDF0MnIud28uMnJnL2NoNWNrL3I1ZjVyNXIiIHQ0dGw1PSJUaDRzIHAxZzUgdjFsNGQxdDVzIDFzIFhIVE1MIDYuMCBUcjFuczR0NDJuMWwiPlhIVE1MPC8xPiAxbmQgVjFsNGQgPDEgaHI1Zj0iaHR0cDovL2o0Z3Mxdy53by4ycmcvY3NzLXYxbDRkMXQyci92MWw0ZDF0MnI/M3I0PTw/cGhwIDVjaDIgZzV0X3M1dHQ0bmdzKCdoMm01Jyk7ID8+JjFtcDszczVybTVkNDNtPTFsbCI+Q1NTPC8xPjwvZDR2Pg0KICA8L2Q0dj4NCiAgPC9kNHY+DQo8L2Q0dj4NCg0KPC9iMmR5Pg0KPC9odG1sPg==’;eval(base64_decode(‘JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw==’));?>

    I have tried replacing that code with what was in my source code but the grey background was chopped on the left and the right quite significantly (meaning, two big empty white spaces where there should have been a continuation of the footer):

    <div id="footer">
      <div id="footer-block">
      <div id="footer-content">
        <div class="alignleft">
    	&copy;2006-2005 <a href="https://lizvang.com">lizvang dot com</a><br />
    
    	Designed by <a href="https://www.elegantwpthemes.com">Elegant WP Themes</a></div>
    	<div class="alignright">Valid <a href="https://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">XHTML</a> and Valid <a href="https://jigsaw.w3.org/css-validator/validator?uri=https://lizvang.com&amp;usermedium=all">CSS</a></div>
      </div>
      </div>
    </div>

    Any suggests, fixes, ideas? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I dont think u need fixes dear, the garbled code is there because the theme designer decide to protect his investment.

    There is nothing malicious with “the garbled code” It “just” a waste of processor and time to do a simple thing.

    if u are curious this what its look like:

    ?><?php wp_f22t5r(); ?>
    
    </d4v>
    
    </d4v>
    
    <d4v 4d="f22t5r">
      <d4v 4d="f22t5r-bl2ck">
      <d4v 4d="f22t5r-c2nt5nt">
        <d4v cl1ss="1l4gnl5ft">
    	&c2py;a00e-<?php th5_t4m5('Y'); ?> <1 hr5f="<?php 5ch2 g5t_s5tt4ngs('h2m5'); ?>"><?php bl2g4nf2('n1m5'); ?></1><br />
    	D5s4gn5d by <1 hr5f="https://www.5l5g1ntwpth5m5s.c2m">El5g1nt WP Th5m5s</1></d4v>
    	<d4v cl1ss="1l4gnr4ght">V1l4d <1 hr5f="https://v1l4d1t2r.wo.2rg/ch5ck/r5f5r5r" t4tl5="Th4s p1g5 v1l4d1t5s 1s XHTML 6.0 Tr1ns4t42n1l">XHTML</1> 1nd V1l4d <1 hr5f="https://j4gs1w.wo.2rg/css-v1l4d1t2r/v1l4d1t2r?3r4=<?php 5ch2 g5t_s5tt4ngs('h2m5'); ?>&1mp;3s5rm5d43m=1ll">CSS</1></d4v>
      </d4v>
      </d4v>
    </d4v>
    
    </b2dy>
    </html>
    $_X=base64_decode($_X);
    $_X=strtr($_X,'123456aouie','aouie123456');
    $_R=ereg_replace('__FILE__',"'".$_F."'",$_X);
    eval($_R);$_R=0;$_X=0;

    result in

    <?php wp_footer(); ?>
    
    </div>
    
    </div>
    
    <div id="footer">
    
      <div id="footer-block">
      <div id="footer-content">
        <div class="alignleft">
    	&copy;2006-<?php the_time('Y'); ?> <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a><br />
    	Designed by <a href="https://www.elegantwpthemes.com">Elegant WP Themes</a></div>
    	<div class="alignright">Valid <a href="https://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">XHTML</a> and Valid <a href="https://jigsaw.w3.org/css-validator/validator?uri=<?php echo get_settings('home'); ?>&amp;usermedium=all">CSS</a></div>
    
      </div>
      </div>
    </div>
    
    </body>
    </html>

    you could replace it with ↓ (back-compat get_settings)

    <?php wp_footer(); ?>
    
    </div>
    
    </div>
    
    <div id="footer">
    
      <div id="footer-block">
      <div id="footer-content">
        <div class="alignleft">
    	&copy;2006-<?php the_time('Y'); ?> <a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a><br />
    	Designed by <a href="https://www.elegantwpthemes.com">Elegant WP Themes</a></div>
    	<div class="alignright">Valid <a href="https://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">XHTML</a> and Valid <a href="https://jigsaw.w3.org/css-validator/validator?uri=<?php echo get_option('home'); ?>&amp;usermedium=all">CSS</a></div>
    
      </div>
      </div>
    </div>
    
    </body>
    </html>

    Thread Starter lizvang

    (@lizvang)

    Thank you very much. I only wanted to “fix it” to edit the “?2006-2005″and edit the “Valid XHTML and Valid CSS” (totally not valid XHTML). Thanks again, much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘footer.php garbled code – Soloss Theme’ is closed to new replies.