Witam :) Mógłby mi ktoś pomóc z wstawieniem fleszowego menu na strone moj kod flash to
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="426px" HEIGHT="28px" id="animka" ALIGN="left">
<PARAM NAME=movie VALUE="http://drakoo.superhost.pl/images/menu.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="http://drakoo.superhost.pl/images/menu.swf" quality=high bgcolor=#000000 WIDTH="426px" HEIGHT="28px" NAME="animka" ALIGN="left"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
i nie wiem gdzie mam go wstawić w skórce oto theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| PHP-Fusion 6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Europe Theme for PHP-Fusion v6+ |
|---------------------------------------------|
| author: Fuzed Themes - Shedrock © 2007 |
| credits: Riadi - europe.js script coding |
| web: http://phpfusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
require_once INCLUDES."theme_functions_include.php";
// Theme settings
$body_text = "#7B8784";
$body_bg = "#FFFFFF";
$theme_width = "975px";
$theme_width_l = "185";
$theme_width_r = "185";
// Right Panels off in Forum Mode - Custom coded
$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width, $settings;
$cookieval = "";
if (isset($_COOKIE['Europe_Theme'])) {
$cookie = explode("&",$_COOKIE['Europe_Theme']);
for ($i = 0;$i < sizeof($cookie);$i++) {
$cookie2 = explode(":",$cookie[$i]);
if ($cookie2[0] == "hideleft" || $cookie2[0] == "hideright") {
$cookieval .= ",".$cookie2[0].":'".($cookie2[1] == 'off' ? 'off' : 'on')."'";
}
}
}
echo "<script language='javascript' src='".THEME."europe.js' type='text/javascript'></script>\n";
echo "<script language='javascript' type='text/javascript'>Europe.init({basedir:'".THEME."'".$cookieval."});</script>\n";
// main table
echo "<table width='$theme_width' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td class='side_left'></td>
<td width='100%' valign='top'>\n";
// header table
echo "<table class='header_logo' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td valign='bottom' width='100%'>
<div id='logo'>$header_content</div>\n";
// sublink and clock table
echo "<table border='0' cellpadding='2' cellspacing='0' width='100%'>
<tr>
<td id='navigation' class='sub_nav' width='85%'>
".showsublinks("<img alt='' src='".THEME."images/nav_sep.gif'>","navigation")."
</td>
<td align='right' id='Clock' nowrap='nowrap' width='15%'>
<script language='javascript' type='text/javascript'>Europe.tick();</script>
</td>
</tr>
</table>\n";
//closing header table
echo "\t\t</td>
</tr>
</table>\n";
//panel images table
echo "<table border='0' cellpadding='0' cellspacing='0' style='height: 19px;' width='100%'>
</table>\n";
//close panel images table
// page content table
echo "<table bgcolor='#FFFFFF' cellpadding='0' cellspacing='0' width='100%'>
<tr id='contentbody'>\n";
}
function render_footer($license=false) {
global $settings;
//closing content table
echo "\t</tr>
</table>\n";
//footer table
echo "<table style='margin-top: 6px;' width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='footer' align='center' width='100%' style='padding-top: 15px;' valign='top'>
".stripslashes($settings['footer'])."<br>"
.(!$license ? showcopyright()."<br>" : "")."
<div style='padding-top: 7px; text-align: center;' class='smalltext'>
<b>Europe</b> Theme designed by: <a target='_blank' href='http://phpfusion-themes.com'>Fuzed Themes</a> © - 2004/2007<br><br>
".showcounter()."<br><br>
</div>
</td>
</tr>
</table>\n";
//closing main table
echo "\t\t</td>
<td class='side_right'></td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main' colspan='3'>$subject</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left' rowspan='2'></td>
<td class='side-body' colspan='3'>$news</td>
<td class='border-right' rowspan='2'></td>
</tr>
<tr>
<td class='info-left'></td>
<td width='100%' height='27' class='info-main'>
".openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id'])."
</td>
<td class='info-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain' colspan='3'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main' colspan='3'>$subject</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left' rowspan='2'></td>
<td class='side-body' colspan='3'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
<td class='border-right' rowspan='2'></td>
</tr>
<tr>
<td class='info-left'></td>
<td width='100%' height='27' class='info-main'>
".openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id'])."
</td>
<td class='info-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain' colspan='3'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function render_game($subject, $game, $info) {
global $locale;
include LOCALE.LOCALESET."games.php";
echo "<div align='center'><table cellpadding='0' cellspacing='0' style='border-collapse: collapse; background-color:#;' width='100%' class='border'>
<tr>
<td class='side-caption'>$subject</td>
</tr>
<td width='637'><span style='color: #fff; font-weight: bolder; font-size: 12px;'></span> <span style='color: #6d9501; font-size: 12px; font-weight: bolder;'></span><br><br>
<div align='center'>
<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='550' HEIGHT='400' id='grgame' name='grgame'>
<PARAM NAME=movie VALUE='$game'>
<param name='menu' value='false'>
<param name='quality' value='high'>
<param name='FlashVars' value='gcode=482CD697'>
<embed src='$game' flashvars='gcode=482CD697' menu=false quality=high WIDTH='550' HEIGHT='400' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' id='grgame' name='grgame'></embed>
</object>
</div><br><br>
<div align='center' style='font-size: 14px;'><a href='javascript:history.go(-1)' title='Wstecz'><img src='".IMAGES."up/powrot.gif' border='0' height='35' alt='Powrót'></a></div></td>
</tr>
<td align='right' class='infobar'>\n";
if ($info['game_allow_comments']) echo $info['game_comments'].$locale['043']." ·\n";
echo "".$locale['407']." ".$info['game_reads']." ".$locale['406']."
</td>
</table></div>";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>$title</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>\n";
}
function closetable() {
echo "\t\t</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>$title</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>\n";
}
function closeside() {
echo "\t\t</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n
".tablebreak()."";
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>
<span style='float:left'>$title</span>
<span style='float:right'>".panelbutton($state,$boxname)."</span>
</td>
<td class='cap-right' style='clear:both'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "\t\t\t</div>
</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n
".tablebreak()."";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr>
<td height='4'></td>
</tr></table>\n";
}
?>
Próbowałem w tym
<tr>
<td id='navigation' class='sub_nav' width='85%'>
".showsublinks("<img alt='' src='".THEME."images/nav_sep.gif'>","navigation")."
</td>
ale niedziala moze cos zle wpisuje ?
Edytowane przez Pieka dnia 16.02.2007 18:05:49
|