1
rgc_gb_elite
How do I hack in PHP at the bottom of a theme?

OK. I am attempting to install this small bit of code at the bottom of a theme, so that it shows on every page. I have tried to insert it into a block with PHP property set. But no luck there.

So, I thought, well, I'll hack the Theme! After some crash course reading in the Smarty Site, I did come to the realization that it needed to be wrapped in <{php}> <{/php}>

Well, after doing this, and setting my general settings to check for template updates, I did not get any results back. I have a sneaky suspission that it may have to do with properly using XOOPS_ROOT_PATH, but I am not exactly sure what the proper formatting should be.
le="color: #000000"><?php //Echo's do work, so I know the php wrap is correct. echo "Test"; OUTPUTS: Test

le="color: #000000"><?php <tr> <td height="30" align="center"> <{php}> ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_400.php'); echo $ad_network; <{/php}> </td> </tr>


Any help would be greatly appreciated.

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits