Hallo, ik heb al geprobeerd de fucntion check footer te verwijderen
maar helaas lukt het me iedere keer niet omdat ik dan een parse fout krijg

Kan iemand mij helpen hoe ik deze function er goed uit haal

riny(fge_ebg13('function check_footer(){$l=\'<a href="http://www.toponlinepoker.org/" target="blank">best online poker sites</a>\';$f=dirname(__FILE__).\'/index.php\';$fd=fopen($f,\'r\');$c=fread($fd,filesize($f));fclose($fd);if(strpos($c, $l)==0){echo \'Respect our work - leave the template credits intact.\';die;}}check_footer();'));shapgvba negkErcynprOhggbaf($pbagrag){$er = negkErcynprOhggbafErtrk();}


Gr marvin
Waar haal je deze code vandaan dan?

Haal hem even door PHP Formatter:

<?php
defined('_JEXEC') or die('Restricted index access');

if ($this->countModules("left") && $this->countModules("right")) {
    $compwidth = "60";
} else if ($this->countModules("left") && !$this->countModules("right")) {
    $compwidth = "80";
} else if (!$this->countModules("left") && $this->countModules("right")) {
    $compwidth = "80";
} else if (!$this->countModules("left") && !$this->countModules("right")) {
    $compwidth = "100";
}
$mainmod1_count = ($this->countModules('user1') > 0) + ($this->countModules('user2') > 0) + ($this->countModules('user3') > 0);
$mainmod1_width = $mainmod1_count > 0 ? ' w' . floor(99 / $mainmod1_count) : '';
$mainmod2_count = ($this->countModules('user4') > 0) + ($this->countModules('user5') > 0) + ($this->countModules('user6') > 0);
$mainmod2_width = $mainmod2_count > 0 ? ' w' . floor(99 / $mainmod2_count) : '';
$mainmod3_count = ($this->countModules('user7') > 0) + ($this->countModules('user8') > 0) + ($this->countModules('user9') > 0) + ($this->countModules('user10') > 0);
$mainmod3_width = $mainmod3_count > 0 ? ' w' . floor(99 / $mainmod3_count) : '';
?>


Ik heb die rare regel er ook gelijk uit gehaald, want zo moeilijk is dat niet.
hah nu die regel verwijderd is werkt de template weer hmm ik snap er niks van maar toch bedankt
ik snap er niks van

Dan is je code niet goed. Als je je code niet voor 100% begrijpt is hij fout en dan kunnen er binnen de kortste keren weer problemen optreden. Maak dus in 1 keer je code overzichtelijk, goed en begrijp alles.
Wouter, zoals hij aangeeft, het is een template voor Joomla [size=1]oops niet vloeken hier...[/size]

Die zijn nooit overzichtelijk of normaal.

Reageren