- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 84 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - quick HTML banner answer [ ]
Author
Message
Beta3
Private
Joined: Jul 30, 2005
Posts: 35
Posted:
Sun Aug 21, 2005 5:26 am
Hello ,
I just read this :
http://phpnuke.org/modules.php?name=PHP-Nuke_HOWTO&page=php-nuke-header-change-banner-placement.html
To know how to put the banners, but i have some troubles, i canīt find in what line of the headers code, the Banner code must go.
I want to put the banners at the right side of the Web Logo (tituloedif.jpg), this is the code of the header :
Code:
echo"<script language=\"javascript\" src=\"./themes/EVILPOWER/liveclock.js\"></script>"
. ""
. "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"100%\" valign=\"top\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"100%\" background=\"./themes/EVILPOWER/images/header_bg_1.gif\" height=\"24\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"4%\"><img border=\"0\" src=\"./themes/EVILPOWER/images/clock_header.gif\" width=\"35\" height=\"21\"></td>"
. " <td width=\"96%\">"
. "<script language=\"javascript\"><!--\n"
. "new LiveClock('arial','1','#FFFFFF','#','<b>Hora de sistema ','</b>','300','1','1','0','2','null');\n"
. "//--></script>\n</td>"
. " </tr>"
. " </table>"
. " </td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\" background=\"./themes/EVILPOWER/images/header_bg_2.gif\" height=\"18\" valign=\"top\"><embed width=\"355\" height=\"23\" src=\"./themes/EVILPOWER/main.swf\" align=\"absbottom\"><br>"
. " <font color=\"#282830\" size=\"1\" face=\"Arial\">EvilPower Theme 1.0.1</font></td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\" background=\"http://www.nukah.com/imagenes/NukahArt/fondo.gif\"><div align=\"center\"><img border=\"0\" src=\"http://www.nukah.com/imagenes/NukahArt/tituloedif.jpg\" width=\"376\" height=\"93\"></div></td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" background=\"./themes/EVILPOWER/images/header_izq_bg.gif\">"
. " <tr>"
. " <td width=\"185\"><img border=\"0\" src=\"./themes/EVILPOWER/images/header_izq_1.gif\" width=\"185\" height=\"45\"></td>"
. " <td width=\"100%\" valign=\"top\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr>"
. " <td width=\"100%\"><img border=\"0\" src=\"./themes/EVILPOWER/images/header_izq_espace.gif\" width=\"21\" height=\"7\"></td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\" valign=\"middle\" align=\"left\" height=\"20\">";
if i put the banner code:
Code:
if ($banners == 1) {
include("banners.php");
}
in the line after of the Logo the banner apear down the logo, but i donīt want this, i want to make 2 changes
1) align the logo to the left and the banners to the right
2) show both in the same line, not one up and other down
with this :
Quote:
. " <td width=\"100%\" background=\"./themes/EVILPOWER/images/header_bg_2.gif\" height=\"18\" valign=\"top\"><embed width=\"355\" height=\"23\" src=\"./themes/EVILPOWER/main.swf\" align=\"absbottom\"><br>"
. " <font color=\"#282830\" size=\"1\" face=\"Arial\">EvilPower Theme 1.0.1</font></td>"
. " </tr>"
. " <tr>"
. " <td width=\"100%\" background=\"http://www.nukah.com/imagenes/NukahArt/fondo.gif\"><div align=\"center\"><img border=\"0\" src=\"http://www.nukah.com/imagenes/NukahArt/tituloedif.jpg\" width=\"376\" height=\"93\">"; if ($banners) {
include("banners.php");
}
echo " </div></td></tr>"
. " <tr>"
. " <td width=\"100%\">"
. " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" background=\"./themes/EVILPOWER/images/header_izq_bg.gif\">"
. " <tr>"
. . .
i have this:
But i want this:
The site : www.nukah.com
i know itīs a simple HTML change, but i donīt know how to do it
Thanx anyway
Beta3
Private
Joined: Jul 30, 2005
Posts: 35
Posted:
Sat Aug 27, 2005 4:23 am
1 week later. . .
Last edited by Beta3 on Sun Aug 28, 2005 5:01 pm; edited 1 time in total
anseur
Nuke Soldier
Joined: May 01, 2005
Posts: 25
Location: algeria
Posted:
Sat Aug 27, 2005 11:45 am
Beta3 wrote:
i week later. . .
hello
just use $showbanners
like this exemple
Code:
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%" background="themes/fisubice/images/cellpic_bkg.jpg" height="110"><a href="index.php">
<img src="themes/fisubice/images/logo.gif" border="0" alt="$sitename"></td>
<td width="40%" background="themes/fisubice/images/cellpic_bkg.jpg" height="110">
$showbanners
<a href="http://www.anrdoezrs.net/click-1788545-10389622" target="_top" onmouseover="window.status='http://www.incredimail.com';return true;" onmouseout="window.status=' ';return true;">
<img src="http://www.afcyhf.com/image-1788545-10389622" width="468" height="60" alt="It's Just Better Email" border="0"></a>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" height="20" border="0" cellpadding="4" cellspacing="0" background="themes/fisubice/images/cellpic_nav.gif">
<tr>
_________________ anseur.5gigs.com
Beta3
Private
Joined: Jul 30, 2005
Posts: 35
Posted:
Mon Aug 29, 2005 3:34 pm
mmmhhhh....
this dont work for me, i think my Nuke version 7.7 not have this $showbanners option , even if i set as global in the theme.php
_________________ Note: iīm not a Natural English Reader/Writer, so, sorry for any gramatical error...
I'm the Rainbow Brite you hated . . .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum