Article View: alt.pl.programy.flash-5
Article #34435Re: Jak wstawić flasha do index.php?
From: Karol
Date: Wed, 19 Dec 2007 22:16
Date: Wed, 19 Dec 2007 22:16
98 lines
3798 bytes
3798 bytes
Użytkownik "Karol" <no@mail.com> napisał w wiadomości
news:fkc4t1$d3l$1@inews.gazeta.pl...
> Czesc
> Mam kod HTMLa wygenerowany z Flasha
> http://test.bialmot.pl/templates/webshop/index.html
>
> Animacja działa jak trzeba (wersja testowa grafiki)
>
> Ale nie umiem osadzić tego w templatce (próbowałem na wszystkie sposoby i
> nie działa) Oto treść pliku index.php w którą ma byś wkomponowany w/w
> banner:
> http://test.bialmot.pl/templates/webshop/index.php.txt
W IE próbuj interpretować to jako XMLa (w Firefoxie jest OK) poniżej
przytoczę pełny kod
W każdym razie banner powiniez znaleść się tam, gdzie w kodzie występuje
logo.jpg
=======================================================
Kod:
=======================================================
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
if(mosCountModules('right'))
{
$wide="";
}
else
{
$wide="_wide";
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo
$mosConfig_live_site;?>/templates/webshop/css/template_css.css"
rel="stylesheet" type="text/css" />
</head>
<body class="body_style">
<div id="wrapper">
<div id="logo"><a href="index.php"><img src="<?php echo
$mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate();
?>/images/logo.jpg" border="0" /></a></div>
<div id="pathway_outline">
<div id="pathway"><? mosPathWay(); ?></div>
</div>
<div id="main">
<div id="left_outline">
<div id="left"><? mosLoadModules('left',-3); ?></div>
</div>
<div id="middle_outline<? echo $wide ?>">
<div id="middle<? echo $wide ?>"><? mosMainBody(); ?></div>
</div>
<div id="right_outline">
<div id="right"><? mosLoadModules('right',-3); ?></div>
</div>
<div style="clear:both;"></div>
</div>
<div id="footer_outline">
<div id="footer">
Copyright <a href="http://www.zkaradza.com">www.zkaradza.com</a>
2005-2006<br />
www.zkaradza.com offers high quality Joomla/Mambo templates,
custom components and modules, SMF themes and full site development<br /><br
/>
You are free to use this template on non-commercial sites. To
use this template on commercial site please contact us at <a
href="http://www.zkaradza.com">www.zkaradza.com</a>
</div>
</div>
</div>
</div>
</body>
</html>
Technical Details
Message-ID:
<fkc57n$edl$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<fkc4t1$d3l$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: "Karol" <no@mail.com> Newsgroups: alt.pl.programy.flash-5 Subject: Re: Jak wstawić flasha do index.php? Date: Wed, 19 Dec 2007 23:16:23 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 100 Message-ID: <fkc57n$edl$1@inews.gazeta.pl> References: <fkc4t1$d3l$1@inews.gazeta.pl> NNTP-Posting-Host: csknet-84-234-46-51.csk.pl X-Trace: inews.gazeta.pl 1198102583 14773 84.234.46.51 (19 Dec 2007 22:16:23 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Wed, 19 Dec 2007 22:16:23 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Priority: 3 X-RFC2646: Format=Flowed; Response X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-User: ccna X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit