Author |
Message |
Mamasita
Client

Joined: May 10, 2003
Posts: 40
|
Posted:
Tue Aug 31, 2004 4:13 pm |
|
Hello to all
Please someone guide me on how to add a Flash header to my phpnuke site. I'm using the deepblue theme and please tell me where to add this code...thanks
Code:<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="780" height="171">
<param name="movie" value="06mobilecomm_1.swf">
<param name="quality" value="high">
<param name="LOOP" value="false">
<embed src="06mobilecomm_1.swf" width="780" height="171" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
|
|
|
|
|
 |
GanjaUK
Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004
Posts: 633
Location: England
|
Posted:
Tue Aug 31, 2004 4:35 pm |
|
You need to add it in theme.php in the Function themeheader() section somewhere inside the table. If its a whole new header then you will need to delete most of the current header table with your new sized table.
You will need to change the code so it works in php.
Code:
<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"780\" height=\"171\">
<param name=\"movie\" value=\"06mobilecomm_1.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"LOOP\" value=\"false\">
<embed src=\"06mobilecomm_1.swf\" width=\"780\" height=\"171\" loop=\"false\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>
|
|
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
Mamasita

|
Posted:
Tue Aug 31, 2004 4:54 pm |
|
Thanks, GanjaUk
This is what I did with the code you posted and I'm getting this error...Quote: |
Parse error: parse error, unexpected '/' in /home/reglhyloy/public_html/themes/deepblue/theme.php on line 117
|
Quote: |
function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $anonymous;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = $anonymous;
}
echo "<body bgcolor=\"orange\" text=\"#000000\">\n";
if ($banners) {
include("banners.php");
}
echo "<br>\n"
."<table cellpadding=\"0\" cellspacing=\"10\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BC0021\">\n"
."<tr>\n"
."<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"780\" height=\"171\">
<param name=\"movie\" value=\"06mobilecomm_1.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"LOOP\" value=\"false\">
<embed src=\"06mobilecomm_1.swf\" width=\"780\" height=\"171\" loop=\"false\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>
."</tr>\n"
."</table>\n"
|
|
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Aug 31, 2004 5:24 pm |
|
Try thisCode:function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $anonymous;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = $anonymous;
}
echo "<body bgcolor=\"orange\" text=\"#000000\">\n";
if ($banners) {
include("banners.php");
}
echo "<br>\n"
."<table cellpadding=\"0\" cellspacing=\"10\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BC0021\">\n"
."<tr>\n";
?>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="780" height="171">
<param name="movie" value="06mobilecomm_1.swf">
<param name="quality" value="high">
<param name="LOOP" value="false">
<embed src="06mobilecomm_1.swf" width="780" height="171" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
<?
echo "</tr>\n"
."</table>\n"
|
|
|
|
|
 |
Mamasita

|
Posted:
Tue Aug 31, 2004 6:08 pm |
|
Thanks, Raven and GanjaUK It works..you're the best.
 |
|
|
|
 |
|