Menu w templatce do joomla

       

Podstrony


telcocafe

Wie kto¶ jak z poniżej zamieszonego kodu php zrobić tak aby lewe menu (left) było z lewej, a prawe menu (right) było z prawej. Bo teraz jest że lewe i prawe menu jest po prawej stronie. Ten kod pochodzi z templatki do joomla.

<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleswitcher.php"); ?> <!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 if ( $my->id ) { initEditor(); } mosShowHead(); // ************************************************* // Change the variables below to adjust the template // // If you have any issues, check out the forum at // [url="http://www.rockettheme.com"]http://www.rockettheme.com[/url] // // ************************************************* $default_style = "style2"; //[style1... style20] $enable_rokzoom = "true"; // true | false $template_width = "950"; // width in px $secondcol_width = "25%"; // width in px | width in % $thirdcol_width = "25%"; // width in px | width in % $menu_name = "mainmenu"; // mainmenu by default, can be any Joomla menu name $menu_type = "splitmenu"; // moomenu | suckerfish | splitmenu | module $splitmenu_col = "secondcol"; // secondcol | thirdcol $default_font = "default"; // smaller | default | larger $show_pathway = "false"; // true | false // module slider configuration $modules_list = array(array("title"=>"Group 1 Stuff", "module"=>"user7"), array("title"=>"Group 2 Panel", "module"=>"user8"), array("title"=>"Group 3 Collection", "module"=>"user9"), array("title"=>"Group 4 Assortment", "module"=>"user10"), array("title"=>"Group 5 Items", "module"=>"user11")); $module_slider_height = 200; // height in px $max_mods_per_row = 3; // maximum number of modules per row (adjust the height if this wraps) require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleloader.php"); require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_tabmodules.php"); require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_utils.php"); ?> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" /> <?php if($mtype=="moomenu" or $mtype=="suckerfish") :?> <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/rokmoomenu.css" rel="stylesheet" type="text/css" /> <?php endif; ?> <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/<?php echo $tstyle; ?>.css?nocache=1" rel="stylesheet" type="text/css" /> <?php if($enable_rokzoom=="true") :?> <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/rokzoom/rokzoom.css" rel="stylesheet" type="text/css" /> <?php endif; ?> <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/rokslidestrip.css" rel="stylesheet" type="text/css" /> <style type="text/css"> div.wrapper { <?php echo $template_width; ?>padding:0;} td.secondcol { width: <?php echo $secondcol_width; ?>;} td.thirdcol { width: <?php echo $thirdcol_width; ?>;} .shadow-3 { width: <?php echo $raw_width; ?>px;} </style> <?php if (isIe7()) :?> <!--[if IE 7]> <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie7.css" rel="stylesheet" type="text/css" /> <![endif]--> <?php endif; ?> <?php if (isIe6()) :?> <!--[if lte IE 6]> <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie6.php" rel="stylesheet" type="text/css" /> <style type="text/css"> img { behavior: url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/iepngfix.htc); } </style> <![endif]--> <?php endif; ?> &lt;script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/mootools-release-1.11.js"></script> &lt;script type="text/javascript">tempus=<?php echo $tempus; ?></script> &lt;script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/roktempus.js"></script> <?php if($enable_rokzoom=="true") :?> &lt;script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/rokzoom/rokzoom.js"></script> <?php endif; ?> <?php if($mtype=="moomenu") :?> &lt;script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/rokmoomenu.js"></script> &lt;script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/mootools.bgiframe.js"></script> &lt;script type="text/javascript"> window.addEvent('domready', function() { new Rokmoomenu($E('ul.menu'), { bgiframe: false, delay: 500, animate: { props: ['opacity', 'width', 'height'], opts: { duration:400, fps: 100, transition: Fx.Transitions.Quad.easeOut } } }); }); </script> <?php endif; ?> <?php if($mtype=="suckerfish" or $mtype=="splitmenu") : echo "<!--[if IE]>\n"; include_once( "$mosConfig_absolute_path/templates/" . $mainframe->getTemplate() . "/js/ie_suckerfish.js" ); echo "<![endif]-->\n"; endif; ?> <?php if($enable_rokzoom=="true") :?> &lt;script type="text/javascript"> window.addEvent('load', function() { RokZoom.init({ imageDir: 'templates/<?php echo $mainframe->getTemplate(); ?>/rokzoom/images/', resizeFX: { duration: 700, transition: Fx.Transitions.Cubic.easeOut, wait: true }, opacityFX: { duration: 500, wait: false } }); }); </script> <?php endif; ?> </head> <body <?php if($tempus!="false") echo 'id=' . $tempus .' '; ?>class="<?php echo $fontstyle; ?> <?php echo $tstyle; ?>"> <!-- begin top part --> <div id="bg-top"> <div id="bg-top-overlay"></div> </div> <!-- end top part --> <!-- start overall frame --> <div id="overall-frame"> <!-- begin bottom part IE ONLY --> <div id="bg-bottom-ie"> <div id="bg-bottom-overlay-ie"></div> </div> <!-- end bottom part ie --> <!-- start bottom part OTHER BROWSERS --> <div id="bg-bottom"> <div id="bg-bottom-overlay"> <!-- begin wrapper --> <div class="wrapper"> <div id="top-shadow"> <div class="shadow-1"></div> <div class="shadow-2"></div> <div class="shadow-3"></div> <!-- begin header --> <div id="header"> <div id="logo-space"><a href="<?php echo $mosConfig_live_site;?>" class="nounder"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/logo.png" border="0" alt="" id="logo" /></a><br /><span>Wszystko czego szukasz znajdziesz u nas</span></div> </div> <?php if (mosCountModules("top")) :?> <div id="search"> <?php mosLoadModules('top', -1); ?> </div> <?php endif; ?> </div> <div id="horiz-menu" class="<?php echo $mtype; ?>"> <?php if($mtype == "splitmenu") : ?> <?php echo $topnav; ?> <?php elseif($mtype == "moomenu" or $mtype == "suckerfish") : ?> <?php mosShowListMenu($menu_name); ?> <?php else: ?> <?php mosLoadModules('toolbar',-1); ?> <?php endif; ?> </div> <!-- end header --> <!-- begin inset --> <div id="inset"> <?php mosLoadModules('inset',-1); ?> </div> <!-- end inset --> <!-- begin mainbody --> <div id="body-shadow-left"> <div id="body-shadow-right"> <div id="body"> <table class="mainbody" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td class="maincol"> <div id="maincol"> <div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div> <?php if ($show_pathway == "true") : ?> <?php mosPathway(); ?> <?php endif; ?> <?php if (mosCountModules('user3') or mosCountModules('user4')) : ?> <div id="topmodules" class="spacer<?php echo $topmod_width; ?>"> <?php if (mosCountModules('user3')) : ?> <div class="block"> <?php mosLoadModules('user3',-2); ?> </div> <?php endif; ?> <?php if (mosCountModules('user4')) : ?> <div class="block"> <?php mosLoadModules('user4',-2); ?> </div> <?php endif; ?> </div> <?php endif; ?> <div id="component"> <div class="padding"> <?php mosMainbody(); ?> </div> </div> <?php if (mosCountModules('user5') or mosCountModules('user6')) : ?> <div id="bottommodules" class="spacer<?php echo $bottommod_width; ?>"> <?php if (mosCountModules('user5')) : ?> <div class="block"> <?php mosLoadModules('user5',-2); ?> </div> <?php endif; ?> <?php if (mosCountModules('user6')) : ?> <div class="block"> <?php mosLoadModules('user6',-2); ?> </div> <?php endif; ?> </div> <?php endif; ?> </div> </td> <?php if (mosCountModules('left') or ($subnav and $splitmenu_col=="secondcol")) : ?> <td class="secondcol"> <div id="secondcol"> <div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div> <?php if($subnav and $splitmenu_col=="secondcol") : ?> <div id="sub-menu"> <?php echo $subnav; ?> </div> <?php endif; ?> <?php mosLoadModules('left',-2); ?> </div> </td> <?php endif; ?> <?php if (mosCountModules('right') or ($subnav and $splitmenu_col=="thirdcol")) : ?> <td class="thirdcol"> <div id="thirdcol"> <div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div> <?php if($subnav and $splitmenu_col=="thirdcol") : ?> <div id="sub-menu"> <?php echo $subnav; ?> </div> <?php endif; ?> <?php mosLoadModules('right',-2); ?> </div> </td> <?php endif; ?> </tr> <tr> <td class="maincol bottom"> <div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div> </td> <?php if (mosCountModules('left') or ($subnav and $splitmenu_col=="secondcol")) : ?> <?php endif; ?> <?php if (mosCountModules('right') or ($subnav and $splitmenu_col=="thirdcol")) : ?> <td class="thirdcol bottom"> <div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div> </td> <?php endif; ?> </tr> </table> </div> </div> </div> <!-- end mainbody --> <!-- begin bottom panel --> <div id="bottom-modules"> <div class="padding" > <?php displayTabs(); ?> </div> </div> <div id="footer-bar"> <div align="center"><a href="http://www.rockettheme.com/" title="RocketTheme Joomla Template Club" class="nounder"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/blank.gif" border="0" alt="RocketTheme Joomla Templates" id="rocket" /></a></div> </div> <div id="footer-shadow"> <div class="shadow-1"></div> <div class="shadow-2"></div> <div class="shadow-3"></div> </div> <!--end body panel --> </div> <!-- end wrapper --> </div> </div> <!-- end bottom part OTHER BROWSERS --> </div> <!-- end overall frame --> </body> </html>

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • nvm.keep.pl

  • Sitedesign by AltusUmbrae.