Chcia³bym przenie¶ menu (tzw. top menu) w inne miejsce - tak jak pokazano na za³±czonej fotce.
Domy¶lam siê ¿e bêdzie trzeba edytowaæ plik index.php z danej templatki ale nie wiem co i jak.
Plik index.php u¿ywanej templatki wygl±da tak:
Kod: |
<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );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(); ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php if ( $my->id ) { initEditor(); } ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/
$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"
shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/templates/247portal-red/favicon.ico\" />" ; ?>
<link rel="alternate" title="<?php echo $mosConfig_sitename; ?>" href="<?php echo $GLOBALS['
mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape"«»)&&(parseInt(appVersion)==4)
) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.Stil1 { font-size: xx-small;
color: #FFFFFF;
}
-->
</style>
</head>
<body>
<div>
<a name="up" id="up"></a>
<table width="900" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="mt"><a href="http://www.mamboteam.com" class="Stil1" >
www.mamboteam.com</a></td>
</tr>
</table>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="<?php echo $mosConfig_live_site;?>/templates/247portal-red/images/space.gif"
width="900" height="1" /></td>
</tr>
<tr>
<td><div class="background">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo
$mosConfig_live_site;?>/templates/247portal-red/images/center.jpg">
<tr>
<td width="26"><img src="<?php echo $mosConfig_live_site;?>/templates/247portal-red/
images/left.jpg" width="26" /></td>
<td class="title"> <table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td height="100" colspan="2" class="title" style="padding-top:14px;"><table width="
100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" style="padding-left:10px;"><a href="<?php echo
$mosConfig_live_site;?>" title="<?php echo $mosConfig_sitename; ?>"><?php echo $mosConfig_sitename;
?></a></td>
</tr>
</table></td>
</tr>
<tr>
</tr>
</table></td>
<td width="26"><img src="<?php echo $mosConfig_live_site;?>/templates/247portal-red/
images/right.jpg" width="26" /></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="11" height="25" background="<?php echo $mosConfig_live_site;?>/templates/
247portal-red/images/shadowl.jpg"><div>
</div></td>
<td height="25" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999; border-top:
5px solid #FFFFFF;"></td>
<td height="25" align="right" bgcolor="#F1F1F1" style="border-bottom: 1px solid #999999;
border-top: 5px solid #FFFFFF;"><div class="date"><?php mosLoadModules ( 'user3' ); ?></div></td>
<td width="11" height="25" align="right" background="<?php echo $mosConfig_live_site;?>/
templates/247portal-red/images/shadowr.jpg"> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding-left:8px; background-repeat: repeat-y;" background="<?
php echo $mosConfig_live_site;?>/templates/247portal-red/images/shadowl.jpg"> </td>
<td valign="top" style="background-repeat: repeat-y;"background="<?php echo
$mosConfig_live_site;?>/templates/247portal-red/images/lb.gif"><?php if (mosCountModules('left')) {
?>
<div class="leftrow">
<?php mosLoadModules ( 'left' ); ?>
</div>
<?php } ?></td>
<td valign="top" bgcolor="#FAFAFA" width="100%"><div class"main">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top" bgcolor="#F1F1F1">
<?php if (mosCountModules('top')) { ?><td colspan="3" style="border-top: 3px
solid #FFFFFF;">
<div>
<?php mosLoadModules ( 'top' ); ?>
</div>
</td><?php } ?>
</tr>
<tr>
<?php if (mosCountModules('user1')) { ?><td valign="top" bgcolor="#F1F1F1" style="
border-top: 3px solid #FFFFFF;"><div>
<?php mosLoadModules ( 'user1' ); ?>
</div></td>
<td width="4" class="mod" valign="top" bgcolor="#FFFFFF" style="border-top: 3px
solid #FFFFFF;"><div class="mod"> <?php } ?><?php if (mosCountModules('user2')) { ?> </div></td>
<td valign="top" bgcolor="#F1F1F1" style="border-top: 3px solid #FFFFFF;"><div>
<?php mosLoadModules ( 'user2' ); ?>
</div></td><?php } ?>
</tr>
<tr align="left" valign="top">
<td colspan="3" style=" border-top: 4px solid #FFFFFF; padding: 5px;"><div class="
main">
<?php mosMainBody(); ?>
</div></td>
</tr>
<tr bgcolor="#F1F1F1">
<td><?php mosLoadComponent( "banners" ); ?></td>
<td colspan="3" valign="top" style="border-top: 3px solid #FFFFFF;"><?php if
(mosCountModules('bottom')) { ?>
<div>
<?php mosLoadModules ( 'bottom' ); ?>
</div>
<?php } ?></td>
</tr>
</table>
</td>
<td valign="top" style="background-repeat: repeat-y; "background="<?php echo
$mosConfig_live_site;?>/templates/247portal-red/images/rb.gif"><?php if (mosCountModules('right'))
{ ?>
<div class="rightrow">
<?php mosLoadModules ( 'right' ); ?>
</div>
<?php } ?></td>
<td valign="top" style="padding-right: 8px; background-repeat: repeat-y;" background="<?
php echo $mosConfig_live_site;?>/templates/247portal-red/images/shadowr.jpg"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo
$mosConfig_live_site;?>/templates/247portal-red/images/center2.jpg">
<tr>
<td width="26"><img src="<?php echo $mosConfig_live_site;?>/templates/247portal-red/
images/left2.jpg" /></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" align="left"><a href="<?php echo sefRelToAbs($_SERVER['REQUEST_URI'
])."#up"; ?>"><img src="<?php echo $mosConfig_live_site;?>/templates/247portal-red/images/ltop.jpg"
alt="Top!" border="0" /></a> </td>
<td align="center"><div class="footer"><object classid="clsid:«»D27CDB6E-
AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,19,0" width="650" height="53">
<param name="movie" value="/images/copyright.swf" />
<param name="quality" value="high" />
<embed src="/images/copyright.swf" quality="high" pluginspage="http://
www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="650" height="53"><
/embed>
</object></div>
</td>
<td width="30" align="right"><a href="<?php echo sefRelToAbs($_SERVER['
REQUEST_URI'])."#up"; ?>"><img src="<?php echo $mosConfig_live_site;?>/templates/247portal-red/
images/rtop.jpg" alt="Top!" border="0" /></a></td>
</tr>
</table></td>
<td width="26"><img src="<?php echo $mosConfig_live_site;?>/templates/247portal-red/
images/right2.jpg" /></td>
</tr>
</table>
</div></td>
</tr>
</table>
</div>
</body>
</html>
|