hi i have a madden site, and currently the team pages
are configured through a header.php file that designates
which team (.gif) banner to show for each team, but i have created new banners, but in flash, and need the php to call for a .swf instead, but i believe it also needs to include
the plugin object class info that goes along with flash
and not sure how its supposed to be, here is the code as it
sits now:
-------------------------------------------
<?php
include("xxxxx/bfl/dbConfig.php"
;
if($bgcolor==""
$bgcolor="000000";
if($forecolor==""
$forecolor="ffffff";
if($view_page=="team"
{
$logo=$DOMAIN . "images/team_logo/" . $team . ".gif";
}
else $logo=$DOMAIN . "images/design/logo.gif";
echo "<html>";
echo "<head>";
echo "<title>Madden Football League</title>";
echo "</head>";
echo "<body rightmargin=0 leftmargin=\"0\" marginwidth=\"0\" topmargin=\"0\" marginheight=\"0\" bgcolor=\"$bgcolor\" alink=000000 vlink=000000 link=000000>";
echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#FFFFFF\" width=\"100%\" height=100>";
echo "<tr>";
if($view_page!="team"
echo "<td rowspan=4 align=right width=180 bgcolor=$bgcolor align=right><a href=\"" . $DOMAIN . "\"><img src=\"$logo\" border=\"0\"></a></td>";
else echo "<td rowspan=4 width=147 bgcolor=$bgcolor><center><img src=\"$logo\" border=\"0\"></center></td><td rowspan=12 align=top width=33 bgcolor=$bgcolor align=center><a href=\"" . $DOMAIN . "\"></a></td>";
-----------------------------------------------
how would this need to read if it was including a .swf
instead of a .gif.
site is tryin to have flash banner load for each team page instead of .gif banner
thank you!
Luis Bernal
are configured through a header.php file that designates
which team (.gif) banner to show for each team, but i have created new banners, but in flash, and need the php to call for a .swf instead, but i believe it also needs to include
the plugin object class info that goes along with flash
and not sure how its supposed to be, here is the code as it
sits now:
-------------------------------------------
<?php
include("xxxxx/bfl/dbConfig.php"

if($bgcolor==""

if($forecolor==""

if($view_page=="team"

$logo=$DOMAIN . "images/team_logo/" . $team . ".gif";
}
else $logo=$DOMAIN . "images/design/logo.gif";
echo "<html>";
echo "<head>";
echo "<title>Madden Football League</title>";
echo "</head>";
echo "<body rightmargin=0 leftmargin=\"0\" marginwidth=\"0\" topmargin=\"0\" marginheight=\"0\" bgcolor=\"$bgcolor\" alink=000000 vlink=000000 link=000000>";
echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#FFFFFF\" width=\"100%\" height=100>";
echo "<tr>";
if($view_page!="team"

else echo "<td rowspan=4 width=147 bgcolor=$bgcolor><center><img src=\"$logo\" border=\"0\"></center></td><td rowspan=12 align=top width=33 bgcolor=$bgcolor align=center><a href=\"" . $DOMAIN . "\"></a></td>";
-----------------------------------------------
how would this need to read if it was including a .swf
instead of a .gif.
site is tryin to have flash banner load for each team page instead of .gif banner
thank you!
Luis Bernal