Flash en php nuke

Best_Copy

Hola necesito saber como insertar mi logo flash en mi cabecera de php nuke.

Supongo que lo tendre ke hacer a traves del archivo theme.php del tema de mi web pero no se como va el codigo.

Lo tengo en html y es:

<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="800" height="77">
<param name="movie" value="/themes/v2_clanspy/images/logodr.swf">
<param name="quality" value="high">
<embed src="/themes/v2_clanspy/images/logodr.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="77"></embed></object>

Ayuda please!!!!!

Gracias de antemano

minipelos

puedes cerrar el codigo php haciendo que te lea html normal con esto
?>
y luego para volver a hacer que te lea php con esto
<?

en otras palabras...
?><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="77">
<param name="movie" value="/themes/v2_clanspy/images/logodr.swf">
<param name="quality" value="high">
<embed src="/themes/v2_clanspy/images/logodr.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="77"></embed></object>
<?

facil verdad? :D

Best_Copy

Gracias men pero no me va :(

Lo unico que quiero hacer es pon er un logo en flash como el de esta web en mi nuke.

HELP!!!!!!!!!!!!!!!!!!

McAgoen

mira si tu theme incluye un arxivo yamado header. si no, busca la parte en la que se nombra al header en el theme.php, y ai podras insertarle el codigo magico

Best_Copy

gracias por responder, lo he hecho lo que pasa es que mi theme no tiene header.html si no que usa el archivo theme.php que os pongo aki (perdonad si es largo):

<?php
$bgcolor1 = "#333333";
$bgcolor2 = "#666666";
$bgcolor3 = "#ffffff";
$bgcolor4 = "#666666";
$textcolor1 = "#ffffff";
$textcolor2 = "#ffffff";

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 CloseTable() {
echo "</td></tr></table></td></tr></table>\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 CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}

function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br>"._NOTE." $notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
} else {
$boxstuff = "Un anonimo ";
}
$boxstuff .= "segnala:
\"$thetext\"$notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";
}
}

/*********************************************************/
/
Function themeheader() /
/
*********************************************************/

function themeheader() {
global $banners, $name;

echo "<br>\n";
if ($banners) {
include("banners.php");
echo "<br>";
}

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>"
    ."[i]"

/////////menù sotto il logo
."<tr><td width=\"100%\" bgcolor=\"#525252\" height=\"15\" valign=\"bottom\">\n"
."<map name=\"FPMap1\">"
."<area href=\"index.php\" shape=\"rect\" coords=\"0, 0, 99, 15\">"
."<area href=\"modules.php?name=Downloads\" shape=\"rect\" coords=\"103, 0, 198, 15\">"
."<area href=\"modules.php?name=Forums\" shape=\"rect\" coords=\"202, 0, 296, 15\">"
."<area href=\"modules.php?name=Content&pa=list_pages_categories&cid=1\" shape=\"rect\" coords=\"302, 0, 397, 15\">"
."<area href=\"modules.php?name=Sections&op=listarticles&secid=3\" coords=\"403, 0, 500, 15\">"
."<area href=\"modules.php?name=Your_Account\" shape=\"rect\" coords=\"506, 0, 598, 15\">"
."<area href=\"modules.php?name=Submit_News\" shape=\"polygon\" coords=\"603, 0, 603, 15, 702, 15, 715, 2\">"
."<area href=\"admin.php\" shape=\"polygon\" coords=\"712, 15, 726, 1, 799, 0, 799, 15\">"
."</map>"
.""
/////////

."<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\">[i]</td></tr>\n";	
echo "</td></tr></table><table width=\"800\" cellpadding=\"0\" bgcolor=\"#333333\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td>[i]</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></td><td width=\"100%\">\n";
}

/*********************************************************/
/
Function themefooter() /
/
/
/
Control the footer for your site. You don't need to /
/
close BODY and HTML tags at the end. In some part call /
/
the function for right blocks with: blocks(right); /
/
Also, $index variable need to be global and is used to /
/
determine if the page your're viewing is the Homepage or /
/
and internal one. /
/
*********************************************************/

function themefooter() {
global $index;
echo "<br>";
if ($index == 1) {
echo "</td><td></td><td valign=\"top\" width=\"130\" bgcolor=\"#333333\">\n";
blocks(right);
echo "<td>";
}
else {
echo "</td><td colspan=\"2\">";
}
echo "<br><br></td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
style=\"border-collapse: collapse\" bordercolor=\"#333333\" width=\"100%\"
bgcolor=\"#333333\"><tr><td width=\"100%\">"
."<br><center>";
footmsg();
echo "<br>";
// DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
echo "<a href=\"http://www.thethemes.net\" target=\"_blank\"></a>";
echo "</center></table></table></table>";
}


function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#666666\">\n"
."<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr>\n"
."<td background=\"themes/v2_clanspy/images/header_news.gif\" width=\"100%\" height=\"23\"><font class=\"option\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$title</font></td></tr>\n"
."<tr><td background=\"themes/v2_clanspy/images/back1.gif\" colspan=\"2\" bgcolor=\"#333333\">\n"
."<table border=\"0\" width=\"100%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"></a>";
FormatStory($thetext, $notes, $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table>\n"
."</td></tr><tr><td bgcolor=\"#444444\" align=\"left\">\n"
."&nbsp"
."<font class=\"tiny\">"._POSTEDBY." ";
formatAidHeader($aid);
echo " - $time $timezone <br></font>\n"
."<font class=\"content\">$morelink</font></center>\n"
.""
."</td></tr></table>\n"
."</td></tr><tr><td background=\"themes/v2_clanspy/images/header_news_down.gif\" width=\"100%\" height=\"15\"></tr>"
."<tr><td bgcolor=\"#333333\"></td></tr></table>\n";
}

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#444444\">\n"
."<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">"
."<tr><td background=\"themes/v2_clanspy/images/header_news_article.gif\" width=\"100%\" height=\"23\"><font class=\"option\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$title</font></td></tr>\n"
."<tr><td colspan=\"2\" background=\"themes/v2_clanspy/images/back1.gif\"><br>\n"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"></a>";
FormatStory($thetext, $notes="", $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table><br>\n"
."</td></tr>\n"
."</table></td></tr>\n"
."<tr><td background=\"themes/v2_clanspy/images/header_news_down_article.gif\" width=\"100%\" height=\"15\"></tr>"
."<tr><td><br><div align=\"center\"><a href=\"http://www.thethemes.net\" target=\"_blank\"></a></div></td></tr>\n"
."<tr><td bgcolor=\"#333333\">[i]</td></tr></table>\n";
}

function themesidebox($title, $content) {
echo "<table border=\"0\" align=\"center\" width=\"130\" cellpadding=\"0\" cellspacing=\"0\">"
."<tr><td background=\"themes/v2_clanspy/images/header.gif\" width=\"130\" height=\"16\">"
."&nbsp;&nbsp;&nbsp;<font color=\"#cccccc\">$title</font>"
."</td></tr><tr><td>[i]</td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"130\">\n"
."<tr><td width=\"130\" bgcolor=\"#666666\">\n"
."<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" width=\"130\">\n"
."<tr><td background=\"themes/v2_clanspy/images/back1.gif\" width=\"130\" bgcolor=\"#999999\">\n"
."$content"
."</td></tr></table></td></tr><td background=\"themes/v2_clanspy/images/header_down.gif\" width=\"130\" height=\"16\"></td><tr><td>[i]</td></tr></table>";
}

?>

deividz

y no podrias cambiarlo y poner un header.html normal?? esq asi seria muxo ams facil nen..nu se..:P

Best_Copy

Ya yo decia por no liarme ahora a hacer modificaciones grandes pero weno se ve ke lo voy a tener k hacer asi

Asias de toas formas

deividz

como veas colega.. yo asi en theme.php no t puedo ayudar porq el php m cuesta un poko..xD
pero si tienes alguna duda en el header.html ya sas nen!
enga suerte!!

Best_Copy

Gracias de todos modos chavalotes!!!!!!!

Ya me partire los cuernos haber komo keda :S xDDDDDDDDDDDDDDDDDDDDDDDD

P.D: Por cierto davidz este verano pasado estuve en cambrils en el hotel Port Viñols LOL?????

dews

P

en el header.php "esta en la carpeta del theme" si no esta pues en el theme.php

un saludo.

Usuarios habituales

  • PlastiKe
  • Best_Copy
  • deividz
  • McAgoen
  • minipelos