12 - PHP Online
Form of PHP Sandbox
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of 12.php
- <?php
- defined('_JEXEC') or die;
- /**
- * Template for Joomla! CMS, created with Artisteer.
- * See readme.txt for more details on how to use the template.
- */
- require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php';
- // Create alias for $this object reference:
- $document = $this;
- // Shortcut for template base url:
- $templateUrl = $document->baseurl . '/templates/' . $document->template;
- Artx::load("Artx_Page");
- // Initialize $view:
- $view = $this->artx = new ArtxPage($this);
- // Decorate component with Artisteer style:
- $view->componentWrapper();
- JHtml::_('behavior.framework', true);
- ?>
- <!DOCTYPE html>
- <html dir="ltr" lang="<?php echo $document->language; ?>">
- <head>
- <jdoc:include type="head" />
- <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" />
- <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" />
- <!-- Created by Artisteer v4.3.0.60745 -->
- <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width" />
- <!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
- <link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" type="text/css" />
- <!--[if lte IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" media="screen" /><![endif]-->
- <link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.responsive.css" media="all" type="text/css" />
- <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu&subset=latin" />
- <link rel="shortcut icon" href="<?php echo $templateUrl; ?>/favicon.ico" type="image/x-icon" />
- <script src="<?php echo $templateUrl; ?>/jquery.js"></script>
- <script>if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
- <script>jQuery.noConflict();</script>
- <script src="<?php echo $templateUrl; ?>/script.js"></script>
- <script src="<?php echo $templateUrl; ?>/script.responsive.js"></script>
- <script src="<?php echo $templateUrl; ?>/modules.js"></script>
- <?php $view->includeInlineScripts() ?>
- <script>if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
- </head>
- <body>
- <div id="art-main">
- <div class="art-sheet clearfix">
- <jdoc:include type="modules" name="slabovid" />
- <header class="art-header"><?php echo $view->position('header', 'art-nostyle'); ?>
- <div class="art-shapes">
- </div>
- <h1 class="art-headline">
- <a href="<?php echo $document->baseurl; ?>/"><?php echo $this->params->get('siteTitle'); ?></a>
- </h1>
- <h2 class="art-slogan"><?php echo $this->params->get('siteSlogan'); ?></h2>
- <div class="art-positioncontrol art-positioncontrol-674844179" id="search">
- <?php echo $view->position('header1', 'art-nostyle'); ?></div>
- <div class="art-positioncontrol art-positioncontrol-2039123862" id="slabovid">
- <?php echo $view->position('header2', 'art-nostyle'); ?></div>
- <a href="/index.php/karta-sajta" class="art-logo art-logo-868750734">
- <img src="<?php echo $templateUrl; ?>/images/logo-868750734.png" alt="" />
- </a><a href="/index.php" class="art-logo art-logo-182325515">
- <img src="<?php echo $templateUrl; ?>/images/logo-182325515.png" alt="" />
- </a><a href="/index.php/contact" class="art-logo art-logo-1764679421">
- <img src="<?php echo $templateUrl; ?>/images/logo-1764679421.png" alt="" />
- </a><a href="/index.php?option=com_users&view=login" title="Войти на сайт" class="art-logo art-logo-1573841292">
- <img src="<?php echo $templateUrl; ?>/images/logo-1573841292.png" alt="" />
- </a>
- <?php if ($view->containsModules('user3', 'extra1', 'extra2')) : ?>
- <nav class="art-nav">
- <?php if ($view->containsModules('extra1')) : ?>
- <div class="art-hmenu-extra1"><?php echo $view->position('extra1'); ?></div>
- <?php endif; ?>
- <?php if ($view->containsModules('extra2')) : ?>
- <div class="art-hmenu-extra2"><?php echo $view->position('extra2'); ?></div>
- <?php endif; ?>
- <?php echo $view->position('user3'); ?>
- </nav>
- <?php endif; ?>
- </header>
- <?php echo $view->position('banner1', 'art-nostyle'); ?>
- <?php echo $view->positions(array('top1' => 33, 'top2' => 33, 'top3' => 34), 'art-block'); ?>
- <div class="art-layout-wrapper">
- <div class="art-content-layout">
- <div class="art-content-layout-row">
- <?php if ($view->containsModules('left')) : ?>
- <div class="art-layout-cell art-sidebar1">
- <?php echo $view->position('left', 'art-block'); ?>
- </div>
- <?php endif; ?>
- <div class="art-layout-cell art-content">
- <?php
- echo $view->position('banner2', 'art-nostyle');
- if ($view->containsModules('breadcrumb'))
- echo artxPost($view->position('breadcrumb'));
- echo $view->positions(array('user1' => 50, 'user2' => 50), 'art-article');
- echo $view->position('banner3', 'art-nostyle');
- echo artxPost(array('content' => '<jdoc:include type="message" />', 'classes' => ' art-messages'));
- echo '<jdoc:include type="component" />';
- echo $view->position('banner4', 'art-nostyle');
- echo $view->positions(array('user4' => 50, 'user5' => 50), 'art-article');
- echo $view->position('banner5', 'art-nostyle');
- ?>
- </div>
- <?php if ($view->containsModules('right')) : ?>
- <div class="art-layout-cell art-sidebar2">
- <?php echo $view->position('right', 'art-block'); ?>
- </div>
- <?php endif; ?>
- </div>
- </div>
- </div>
- <?php echo $view->positions(array('bottom1' => 33, 'bottom2' => 33, 'bottom3' => 34), 'art-block'); ?>
- <?php echo $view->position('banner6', 'art-nostyle'); ?>
- <footer class="art-footer">
- <?php if ($view->containsModules('copyright')) : ?>
- <?php echo $view->position('copyright', 'art-nostyle'); ?>
- <?php else: ?>
- <p>© 2018. Все права защищены.<br /></p>
- <?php endif; ?>
- </footer>
- </div>
- <p class="art-page-footer">
- <span id="art-footnote-links">Разработка сайта <a href="http://www.akiac.ru/" target="_blank">КГБУО "АКИАЦ"</a>.</span>
- </p>
- </div>
- <?php echo $view->position('debug'); ?>
- </body>
- </html>
File Description
- 12
- PHP Code
- 22 Sep-2021
- 6.44 Kb
You can Share it:
Latest PHP Pastes