Здравствуйте.у меня есть код файла index.php моего шаблона Код (PHP): <?php /** * Template for Joomla! CMS, created with Artisteer. * See readme.txt for more details on how to use the template. */ defined('_JEXEC') or die; require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php'; // Create alias for $this object reference. $document = & $this; $templateUrl = $document->baseurl . '/templates/' . $document->template; artxComponentWrapper($document); ?> <!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" xml:lang="<?php echo $document->language; ?>" lang="<?php echo $document->language; ?>" > <head> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" type="text/css" /> <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]--> <script type="text/javascript" src="<?php echo $templateUrl; ?>/jquery.js"></script> <script type="text/javascript">jQuery.noConflict();</script> <script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script> </script> </head> <body> <div id="art-page-background-glare"> <div id="art-page-background-glare-image"> <div id="art-main"> <div class="art-sheet"> <div class="art-sheet-tl"></div> <div class="art-sheet-tr"></div> <div class="art-sheet-bl"></div> <div class="art-sheet-br"></div> <div class="art-sheet-tc"></div> <div class="art-sheet-bc"></div> <div class="art-sheet-cl"></div> <div class="art-sheet-cr"></div> <div class="art-sheet-cc"></div> <div class="art-sheet-body"> <div class="art-header"> <div class="art-header-center"> <div class="art-header-png"></div> <div class="art-header-jpeg"></div> </div> <div class="art-logo"> <h1 id="name-text" class="art-logo-name"><a href="<?php echo $document->baseurl; ?>/">Мир Волшебства И Магии</a></h1> </div> </div> <jdoc:include type="modules" name="user3" /> <jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" /> <?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?> <div class="art-content-layout"> <div class="art-content-layout-row"> <?php if (artxCountModules($document, 'left')) : ?> <div class="art-layout-cell art-sidebar1"> <?php echo artxModules($document, 'left', 'art-block'); ?> <div class="cleared"></div> </div> <?php endif; ?> <?php $contentCellStyle = artxCountModules($document, 'left') ? 'content' : 'content-wide'; ?> <div class="art-layout-cell art-<?php echo $contentCellStyle; ?>"> <?php echo artxModules($document, 'banner2', 'art-nostyle'); if (artxCountModules($document, 'breadcrumb')) echo artxPost(artxModules($document, 'breadcrumb')); echo artxPositions($document, array('user1', 'user2'), 'art-article'); echo artxModules($document, 'banner3', 'art-nostyle'); ?> <?php if (artxHasMessages()) : ?><div class="art-post"> <div class="art-post-body"> <div class="art-post-inner"> <div class="art-postcontent"> <jdoc:include type="message" /> </div> <div class="cleared"></div> </div> <div class="cleared"></div> </div> </div> <?php endif; ?> <jdoc:include type="component" /> <?php echo artxModules($document, 'banner4', 'art-nostyle'); ?> <?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?> <?php echo artxModules($document, 'banner5', 'art-nostyle'); ?> <div class="cleared"></div> </div> </div> </div> <div class="cleared"></div> <?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?> <jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" /> <div class="art-footer"> <div class="art-footer-t"></div> <div class="art-footer-l"></div> <div class="art-footer-b"></div> <div class="art-footer-r"></div> <div class="art-footer-body"> <?php echo artxModules($document, 'syndicate'); ?> <div class="art-footer-text"> <?php if (artxCountModules($document, 'copyright') == 0): ?> <?php ob_start(); ?> <p><a href="http://www.winx-mir.ru">Главная</a> | <a href="http://winx-mir.ru/index.php?option=com_agora&Itemid=73">Форум</a> | <a href="http://winx-mir.ru/index.php?option=com_chronocontact&Itemid=68">Связаться с нами</a></p> <p>Copyright © %YEAR% winx-mir.ru Все права защищены.</p> <div align="center"> <!--LiveInternet counter--><script type="text/javascript"><!-- document.write("<a href='http://www.liveinternet.ru/click' "+ "target=_blank><img src='//counter.yadro.ru/hit?t21.8;r"+ escape(document.referrer)+((typeof(screen)=="undefined")?"": ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth? screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+ ";"+Math.random()+ "' alt='' title='LiveInternet: показано число просмотров за 24"+ " часа, посетителей за 24 часа и за сегодня' "+ "border='0' width='88' height='31'><\/a>") //--></script><!--/LiveInternet--> </div> <?php echo str_replace('%YEAR%', date('Y'), ob_get_clean()); ?> <?php else: ?> <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?> <?php endif; ?> </div> <div class="cleared"></div> </div> </div> <div class="cleared"></div> </div> </div> <div class="cleared"></div> <p class="art-page-footer"></p> </div> </div> </div> </body> </html> и код флеш шапки Код (html): <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="author" content="User"> <meta name="generator" content="SWiSH Max2 (2009.09.18) www.swishzone.com"> <meta name="description" content=""> <meta name="keywords" content="видео, игры, на, нажми, наше, наши, объекты, статьи, фото, характеристики"> <!-- text used in the movie --> <!-- видео, игры, на, нажми, наше, наши, объекты, статьи, фото, характеристики --> <!-- Created by SWiSH Max2 - The Ultimate Flash Creation Tools - www.swishzone.com --> <style type="text/css"> /*<![CDATA[*/ html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; } object { vertical-align: top; } /*]]>*/ </style> </head> <body bgcolor="#FFFFFF"> <center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" id="header" width="1080" height="450" > <param name="movie" value="header.swf"> <param name="bgcolor" value="#FFFFFF"> <param name="quality" value="high"> <param name="seamlesstabbing" value="false"> <param name="allowscriptaccess" value="samedomain"> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" name="header" width="1080" height="450" src="header.swf" bgcolor="#FFFFFF" quality="high" seamlesstabbing="false" allowscriptaccess="samedomain" > <noembed> </noembed> </embed> </object> </center> </body> </html> еще у меня есть влешка как код флешки вставить в index.php и куда закинуть саму влешку?