- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- November 2004
- Status:
- offline
- last visit:
- 27.04.05
- Posts:
- 11
Ive setteled on the theme -PostNuke-FLASH. Its simple and clean.
I want to add an aimge to the header but cant find where to add it.
Its just going to be a simple
-Also when I incorporated this theme I lost my "ADMIN MESSAGE" that was in the top center block.? Any clues how to get that back?
Any help appreciated.
http://humanveal.com/index.php -
- rank:
-
Freshman
- registered:
- November 2004
- Status:
- offline
- last visit:
- 27.04.05
- Posts:
- 11
No hits...hmm.
here is the code from teh THEME.PHP, is this the file I should be editing? And if so where? Every time I try to add in an image for the header I get an error -PARSE something..UNEXPECTED T STRING blah blah... :(
Code
$thename = "PostNuke_Flash";
$bgcolor1 = "#F6F7EB";
$bgcolor2 = "#B1B78B";
$bgcolor3 = "#D9DCC2";
$bgcolor4 = "#E1E4CE";
$sepcolor = "#000000"; // Color for the seperator used in the theme. Theme only.
$textcolor1 = "#000000";
$textcolor2 = "#000000";
$postnuke_theme = true;
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = ""._NOTE."<i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "$thetext<br>$notes\n";
} else {
$boxstuff .= "$thetext <br><br>$notes\n";
echo "$boxstuff\n";
}
}
function themeheader() {
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $sepcolor, $sitename, $slogan, $thename, $banners;
echo "
</head>
<body>
<!-- main table definition so that we look the same with 800 and over settings -->
<center>
<table width=\"775\">
<tr>
<td>
<!-- top table definition -->
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">
<tr bgcolor=\"$bgcolor1\">
<td width=\"100%\">
<table width=\"100%\">
<tr>
<td align=\"left\">
<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\"
WIDTH=468 HEIGHT=81>
<PARAM NAME=movie VALUE=\"themes/$thename/sitename.swf?text=$sitename\">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=$bgcolor1>
<PARAM NAME=menu VALUE=false>
<EMBED src=\"themes/$thename/sitename.swf?text=$sitename\" quality=high bgcolor=$bgcolor1 WIDTH=335 HEIGHT=81 TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" menu=\"false\"></EMBED>
</OBJECT><br><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\"
WIDTH=468 HEIGHT=20>
<PARAM NAME=movie VALUE=\"themes/$thename/slogan.swf?text=$slogan\">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=$bgcolor1>
<PARAM NAME=menu VALUE=false>
<EMBED src=\"themes/$thename/slogan.swf?text=$slogan\" quality=high bgcolor=$bgcolor1 WIDTH=335 HEIGHT=20 TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" menu=\"false\"></EMBED>
</OBJECT>
</td>
<td align=\"right\" valign=\"top\">";
if ($banners) {
include("banners.php");
}
echo "
<font class=\"pn-logo-small\">";
echo formatTimestamp(GetUserTime(strftime("%Y-%m-%d %H:%M:%S", time())));
echo "
<br></font>
</td>
</tr>
</table>
</td>
</tr>
<tr><td width=\"100%\"><IMG SRC=\"themes/$thename/images/black_dot.gif\" WIDTH=\"100%\" HEIGHT=\"1\" BORDER=0 ALT=\"\"></td></tr>
<tr bgcolor=\"$bgcolor2\">
<td align=\"right\" valign=\"middle\" colspan=\"2\">
<form method=\"POST\" action=\"search.php\">
<div align=\"right\"><font class=\"pn-normal\">"._SEARCH."
<input class=\"pn-text\" NAME=\"query\" TYPE=\"text\" VALUE=\"\"></font> </div>
</form>
</td>
</tr>
<tr><td width=\"100%\"><IMG SRC=\"themes/$thename/images/black_dot.gif\" WIDTH=\"100%\" HEIGHT=\"1\" BORDER=0 ALT=\"\"></td></tr>
</table>
<!-- center table definition -->
<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr valign=\"top\">
<td bgcolor=\"$bgcolor4\" width=\"20%\" align=left>";
blocks(left);
echo "
</td><td width=15></td>";
if ($index == 1) {
echo "
<td align=left valign=top width=\"60%\">";
}
if ($index == 0) {
echo "
<td align=left valign=top width=\"80%\">";
}
} -
- rank:
-
Freshman
- registered:
- November 2004
- Status:
- offline
- last visit:
- 27.04.05
- Posts:
- 11
All righty then.
Ive given up on the POSTNUKE_FLASH theme and am modifying an IMAGIC2 theme. I worked on it yesterday and this morning and its just about where I want it. Everything was fine and I was jsut tweaking widths and such.
I come to work, log in to finish up and Im getting an ERROR in header.php in my root.
Error on line 141.
How was I surfing around at home without issue working on the header, which loaded and worked great- then I come to work and I cant pull it up?
Any ideas?
<edit>
nevermind, got it.
Any help would be greatly appreciated.</edit>
