3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @package Joomla.Administrator * @subpackage Templates.protostar * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $this->language = $doc->language; $this->direction = $doc->direction; // Detecting Active Variables $option = $app->input->getCmd('option', ''); $view = $app->input->getCmd('view', ''); $layout = $app->input->getCmd('layout', ''); $task = $app->input->getCmd('task', ''); $itemid = $app->input->getCmd('Itemid', ''); $sitename = $app->getCfg('sitename'); if($task == "edit" || $layout == "form" ) { $fullWidth = 1; } else { $fullWidth = 0; } // Add JavaScript Frameworks JHtml::_('bootstrap.framework'); // Add Stylesheets $doc->addStyleSheet('templates/'.$this->template.'/css/template.css'); $doc->addStyleSheet('templates/'.$this->template.'/css/woi.css'); // Load optional rtl Bootstrap css and Bootstrap bugfixes JHtmlBootstrap::loadCss($includeMaincss = false, $this->direction); // Add current user information $user = JFactory::getUser(); // Adjusting content width if ($this->countModules('position-7') && $this->countModules('position-8')) { $span = "span6"; } elseif ($this->countModules('position-7') && !$this->countModules('position-8')) { $span = "span9"; } elseif (!$this->countModules('position-7') && $this->countModules('position-8')) { $span = "span9"; } else { $span = "span12"; } // Logo file or site title param if ($this->params->get('logoFile')) { $logo = '<img src="'. JURI::root() . $this->params->get('logoFile') .'" alt="'. $sitename .'" />'; } elseif ($this->params->get('sitetitle')) { $logo = '<span class="site-title" title="'. $sitename .'"></span>'; } else { $logo = '<span class="site-title" title="'. $sitename .'"></span>'; } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <jdoc:include type="head" /> <!--[if lt IE 9]> <script src="<?php echo $this->baseurl ?>/media/jui/js/html5.js"></script> <![endif]--> </head> <body class="woi <?php echo $parent->alias . " view-" . $view . " layout-" . $layout . " task-" . $task . " itemid-" . $itemid . " ";?> <?php if ($this->params->get('fluidContainer')) { echo "fluid"; } ?>"> <div id="pattern"> <!-- Body --> <div class="body" > <div id="sredina" class=""> <div id="levo"> <div id="video"> <div id="logo"> <img src="/templates/woibuyandsell/images/logo_welcome.png"> <a target="blank" href="http://www.woisite.com" alt="Wheels Of Italy"> </a> </div> </div> <div id="triboxa"> <div id="sponsors"> <div class="sponsortext"><img src="/templates/woibuyandsell/images/1.png"></div> <div class="mb fadein box"> <a href="http://www.wixonjewelers.com/index.php" target="blank"><img src="http://www.woisite.com/images/sponsors/1-1.jpg" alt="Wixon Jewelers WOI Sponsor" /></a> <a href="http://www.wixonjewelers.com/index.php" target="blank"><img src="http://www.woisite.com/images/sponsors/1-2.jpg" alt="Wixon Jewelers WOI Sponsor" /></a> </div> <div class="sponsortext"><img style="margin-top:15px; margin-left:15px" src="/templates/woibuyandsell/images/2.png"></div> <div class="mb fadein2 box"> <a href="http://searsimportsbodyshop.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/2-1.jpg" alt="Sears Imports Body Shop WOI Sponsor" /></a> <a href="http://www.twincitiesluxuryauto.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/2-2.jpg" alt="Twin Cities Luxury Auto WOI Sponsor" /></a> <a href="http://www.fiatminneapolis.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/2-4.jpg" alt="Fiat of Minneapolis WOI Sponsor" /></a> </div> <div class="sponsortext"><img style="margin-left:15px" src="/templates/woibuyandsell/images/3.png"></div> <div class="mb fadein3 box"> <a href="http://www.gpbicycles.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/3-1.jpg" alt="Grand Performance Bicycles WOI Sponsor" /></a> <a href="http://www.motoprimo.net/index.htm" target="blank"><img src="http://www.woisite.com/images/sponsors/3-3.jpg" alt="MotoPrimo WOI Sponsor" /></a> <a href="http://www.brcrentals.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/3-4.jpg" alt="BRC Rentals WOI Sponsor" /></a> </div> </div> </div> </div> </div> <div id="navigacija" class=""> <jdoc:include type="modules" name="position-1" style="none" /> </div> </div> <!-- Footer --> <a href="http://www.skysa.com/page/features/live-support-chat" id="SKYSA-NoScript">Live Support</a><script type="text/javascript" src="//static2.skysa.com?i=9C10CBA7-4DC9-4FC9-99F6-A21DF2634F8E" async="true"></script> <script type="text/javascript"> var j = jQuery.noConflict(); j(function(){ j('.fadein a:gt(0)').hide(); setInterval(function(){ j('.fadein a:first-child').fadeOut().next('a').fadeIn().end().appendTo('.fadein');}, 3000); }); j(function(){ j('.fadein2 a:gt(0)').hide(); setInterval(function(){ j('.fadein2 a:first-child').fadeOut().next('a').fadeIn().end().appendTo('.fadein2');}, 4500); }); j(function(){ j('.fadein3 a:gt(0)').hide(); setInterval(function(){ j('.fadein3 a:first-child').fadeOut().next('a').fadeIn().end().appendTo('.fadein3');}, 5000); }); </script> <jdoc:include type=modules name=floatercontainer style=xhtml /> <jdoc:include type="modules" name="debug" style="none" /> </div> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.51 ms | 401 KiB | 8 Q