From your previous thread, it seems that $footer_links contains all the text and HTML as a single string, which would be difficult to work with. Do you know where the makeFooterLinks() method is defined? Probably your best bet is to alter that, to add your custom text to each link as it generates the string.
In the util.php file, have a look for where $categ is defined… you should see something like this:
$categ = new ...
makeFooterLinks is a method on a class somewhere - if you can find out the name of the class, you can look for the class file and that’s probably where you’ll find the code for makeFooterLinks.
Try looking for the file with the categories class definition… try looking for a folder called classes and see if there’s a categories.php file inside.
Hi fretburner, thank you for your reply yes found the folder called classes, and the categories.php, and here is the code:
<?php //0035e
if(!extension_loaded(‘ionCube Loader’)){$__oc=strtolower(substr(php_uname(),0,3));$_ln='/ioncube/ioncube_loader’.$__oc.‘_’.substr(phpversion(),0,3).(($__oc==‘win’)?‘.dll’:‘.so’);$__oid=$__id=realpath(ini_get(‘extension_dir’));$__here=dirname(FILE);if(strlen($__id)>1&&$__id[1]==‘:’){$__id=str_replace(‘\\’,‘/’,substr($__id,2));$__here=str_replace(‘\\’,‘/’,substr($__here,2));}$__rd=str_repeat(‘/…’,substr_count($__id,‘/’)).$__here.‘/’;$__i=strlen($__rd);while($__i–){if($__rd[$__i]==‘/’){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die(‘The file ‘.FILE." is corrupted.
");}if(function_exists(’_il_exec’)){return _il_exec();}echo(‘Site error: the file <b>’.FILE.‘</b> requires the ionCube PHP Loader ‘.basename($__ln).’ to be installed by the site administrator.’);exit(199);
?>
4+oV52OVZIpYf7K3x+eO3pKstjNlNOeat9eIykKs+vVxjHlI0veWtUZhRLyYXKJMim1hXCPiL+yM
Hi fretburner, thank you for your reply yes found the folder called classes, and the categories.php, and here is the code:
<?php //0035e
if(!extension_loaded(‘ionCube Loader’)){$__oc=strtolower(substr(php_uname(),0,3));$_ln='/ioncube/ioncube_loader’.$__oc.‘_’.substr(phpversion(),0,3).(($__oc==‘win’)?‘.dll’:‘.so’);$__oid=$__id=realpath(ini_get(‘extension_dir’));$__here=dirname(FILE);if(strlen($__id)>1&&$__id[1]==‘:’){$__id=str_replace(‘\\’,‘/’,substr($__id,2));$__here=str_replace(‘\\’,‘/’,substr($__here,2));}$__rd=str_repeat(‘/…’,substr_count($__id,‘/’)).$__here.‘/’;$__i=strlen($__rd);while($__i–){if($__rd[$__i]==‘/’){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die(‘The file ‘.FILE." is corrupted.
");}if(function_exists(’_il_exec’)){return _il_exec();}echo(‘Site error: the file <b>’.FILE.‘</b> requires the ionCube PHP Loader ‘.basename($__ln).’ to be installed by the site administrator.’);exit(199);
?>
4+oV52OVZIpYf7K3x+eO3pKstjNlNOeat9eIykKs+vVxjHlI0veWtUZhRLyYXKJMim1hXCPiL+yM
Hmm, the file has been encoded with ionCube, which is basically to stop people being able to read or modify the code, so there’s not much we can do here. The only option it leaves us is to try and modify the output from makeFooterLinks.
The $footer_links string has line breaks hard coded in, and now that you’re prepending some text to each link the lines are longer and look odd when they wrap. You might want to try this and see if you prefer the look:
I would avoid using the <center> tag, as it’s a depreciated tag, and it’s better to use CSS to center text. It’s also better not to wrap the footer links in a <h3> tag, as it’s not a heading and I’m guessing you’re doing it for styling purposes, in which case again it’s better to use CSS.