Although I'm using Postnuke CMS, the issue I need help with is what seems like a simple php problem. Nobody offered me any help in the pn forums. You guys are my only hope.
My objective here is to tile a 1px wide image (/images/bg.png) as a table or cell background behind the logo.gif (located in line 13) so when the browser is resized the logo appears to resize.
The index.php pulls header info from the theme.php which i have included relevant code below.
Can someone please help a n00b php'er out with this?
Thank you in advance
Code:
echo "</head>";
echo "<body>";
if(pnModAvailable('Banners'))
{
pnBannerDisplay();
}
echo "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"width:100%\">\n" .
"<tr>\n" .
"<td style=\"background-color:$GLOBALS[bgcolor1]\">\n" .
"<table border=\"0\" cellspacing=\"0\" cellpadding=\"3\" style=\"width:100%;background-color:$GLOBALS[bgcolor1]\">\n" .
"<tr>\n" .
"<td>\n" .
"<a href=\"index.php\"><img src=\"" . WHERE_IS_PERSO . "images/logo.gif\" alt=\"" . _WELCOMETO . " $sitename\" /></a>\n" .
"</td><td align=\"right\">" .
'<form action="modules.php" method="post">' .
'<div>' .
'<input type="hidden" name="name" value="Search" />' .
'<input type="hidden" name="file" value="index" />' .
'<input type="hidden" name="op" value="modload" />' .
'<input type="hidden" name="action" value="search" />' .
'<input type="hidden" name="overview" value="1" />' .
'<input type="hidden" name="active_stories" value="1" />' .
'<input type="hidden" name="bool" value="AND" />' .
'<input type="hidden" name="stories_cat" value="" />' .
'<input type="hidden" name="stories_topics" value="" />' .
'<div style="text-align:right">' .
'<span class="pn-normal">' . _SEARCH . ' </span>' .
"<input class=\"pn-text\" name=\"q\" type=\"text\" value=\"\" /> \n" .
'</div>' .
'</div>' .
'</form>' .
"</td></tr></table>\n</td></tr>\n<tr><td valign=\"top\" style=\"width:100%;background-color:$GLOBALS[bgcolor1]\">" .
|