Add Advertisement Code to nuke-evolution

MetalDragon42

New Member
Messages
57
Reaction score
0
Points
0
Here's a tip for nuke-evolution users to add Advertisement Code to nuke-evolution so it will show on all pages and in all themes!

D/L and open header.php (the one found in the root of your Evo) open and find

Code:
  themeheader();

Add Under-
NOTE: this will all depend on what Advertisement Code you need/want to use

For Personal Advertisement Code change "*****" to your X10 account user-name
Code:
echo "<center><script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?*****\"></script></center>\n";
For Static Hosting Package:
Code:
echo "<center><script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?static\"></script></center>\n";
For Advanced Hosting Package:
Code:
echo "<center><script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?advanced\"></script></center>\n";
For Corporate Hosting Package:
Code:
echo "<center><script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?corporate\"></script></center>\n";

Hope this helps, this might also work in in some other forms of Nuke and CMS sites...Note I said Might ;)
 

derk4392

New Member
Messages
18
Reaction score
0
Points
0
having problems, i keep getting

<code>Parse error: syntax error, unexpected ';' in /home/derk4392/public_html/header.php on line 138</code>
 
Top