How i Add adbrite code to giallo Theme in this place ? How i Add adbrite code to giallo Theme in this place ?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How i Add adbrite code to giallo Theme in this place ?

Started by cong, February 07, 2007, 05:48:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Joachim Müller

I have no idea what adbrite is. If it is static HTML/JavaScript, edit themes/giallo/template.html, find<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div></td>and replace with<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div>your custom code here</td>

If you need to add custom PHP code, replace<body>
{CUSTOM_HEADER}
with<body>and replace<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div></td>with<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div>{CUSTOM_HEADER}</td>and set the relative path to your external PHP ad page up for the custom header in coppermine's config.


cong

thank you very much for your quick reply

adbrite code like adsense code (advertising program )

Joachim Müller

That's what I guessed from your question. What really would be important: is it static HTML/JavaScript or dynamic PHP-driven code.
Anyway, marking thread as "solved".