Mam problem z php-Nuke...otóż chciałbym wstawić plik .swf zamiast .gif lecz za nic nie moge tego zrobić,zawsze wyskakuje jakiś błąd...pomocy.
Plik theme.php - edycja:
...
<?php
/************************************************** **********/
/* Function themeheader() */
/************************************************** **********/
function themeheader() {
echo "<body bgcolor="#000000" text="#ffffff" link="ccff00" leftmargin=0 rightmargin=0 topmargin=0><br>n"; if ($banners) {
include("banners.php");
}
echo "<table border="0" cellpadding="0" cellspacing="1" width="80" align="center
">n"
."<tr><td width="100%" height="11" valign="bottom">n"
."<map name="FPMap0">"
."</map>"
."<img border="0" src="themes/bf_clanspy/images/logo.gif" usemap="#FPMap0" width="800" height="140">"
."<tr><td width="100%">n"
."<table border="0" cellpadding="0" cellspacing="0" width="800">n"
."<tr><td width="100%"><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td bgcolor='#333333'>n"
."<tr><td bgcolor="#333333"><img src="themes/bf_clanspy/images/pixel.gif" width="100%" height="3"></td></tr>n";
echo "</td></tr></table><table width="800" cellpadding="0" bgcolor="#333333" cellspacing="0" border="0">n" ."<tr valign="top">n"
."<td><img src="themes/bf_clanspy/images/pixel.gif" width="4" height="1" border="0" alt=""></td>n"
."<td width="130" bgcolor="#333333" valign="top">n";
if ($name=='Forums') {}
else if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
}
echo "</td><td><img src="themes
/bf_clanspy
/images
/pixel
.gif
" width="4" height="1" border="0" alt=""></td><td width="100%">n"; }
?>
Mój kod .swf do wstawienia:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=DJTranceshine WIDTH=800 HEIGHT=200>
<PARAM NAME=movie VALUE="logo.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=loop VALUE=true> <EMBED src="DJTranceshine.swf" loop=true quality=high
WIDTH=800 HEIGHT=200 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
proszę używać bbcode
poprawiam
revyag