?> <div class="spacer"></div> <?php if ($c->isEditMode()) { ?> </div> <?php } ?> <div id="header-area"> <div class="divider"></div> <div id="header-area-inside"> <?php $ah = new Area('Header'); $ah->display($c); ?> </div> <?php if ($ah->getTotalBlocksInArea() > 0) { ?> <div class="divider"></div> <?php } ?> </div> </div>
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $this->inc('elements/header.php'); ?> <div class="body gs960"> <div class="main"> <?php $main = new Area('Main'); $main->display($c); ?> <div class="gline"> <div class="unit size3of4"> <?php $extra1 = new Area('Extra1'); $extra1->display($c); ?> </div> <div class="unit lastUnit size1of4"> <?php $extra2 = new Area('Extra2'); $extra2->display($c); ?> </div> </div> </div> </div> <?php $this->inc('elements/footer.php');
</a> </h3> <h4> Posted by <?php echo $author; ?> on <?php echo $date; ?> </h4> </div> <div class="excerpt"> <?php $a = new Area('Main'); $a->disableControls(); $a->display($cobj); ?> </div> <div class="ccm-spacer"></div> <div class="meta"> <?php echo $comments; ?> <a href="<?php echo $link; ?> ">Read full post »</a> </div> </div> <hr class="blog-entry-divider"/> <?php
<?php defined('C5_EXECUTE') or die("Access Denied."); $a2 = new Area('Poll'); $aBlocks = $a2->getAreaBlocksArray($c); /* $pollBlocks=array(); foreach($aBlocks as $bls){ if($bls->getBlockTypeHandle() != 'poll') continue; $pollBlocks[]=$bls; } */ if (count($aBlocks) > 0) { ?> <div id="post-poll"> <div class="aux"> <?php $a2->display($c, $aBlocks); ?> </div> </div> <?php }
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?> <div class="foot"> <div class="inner gs960"> <?php $footer = new Area('Footer'); $footer->display($c); ?> <div class="mod credit"> <div class="inner"> <div class="hd"><h4>credit</h4></div> <div class="bd"> <p class="copyright"> <span class="powered-by"><a href="http://www.concrete5.org" title="<?php echo t('concrete5 open source CMS'); ?> "><?php echo t('concrete5 Content Management'); ?> </a></span> © <?php echo date('Y'); ?> <a href="<?php echo DIR_REL; ?> /"><?php
$pageHeader->display($c); ?> </section> <?php if ($displayPageContent) { ?> <section class="ui page content container"> <?php $pageContent->display($c); ?> </section> <?php } ?> <?php if ($displayPageFooter) { ?> <section class="ui page footer container"> <?php $pageFooter->display($c); ?> </section> <?php } ?> </main> <?php $this->inc('elements/footer.php');
</div> </section> <section id="mainsk" class="b-main-sketches"> <div class="b-sketches-decoration"></div> <div class="b-main-sketches-center"> <?php $b = new Area('Блок галереи скетчей'); $b->display($c); ?> </div> </section> <section id="book" class="b-book"> <div class="b-book-center"> <?php $d = new Area('Блок книги'); $d->display($c); ?> </div> </section> <section id="othersk" class="b-other-sketches"> <div class="b-sketches-decoration"></div> <div class="b-other-sketches-center"> <?php $e = new Area('Блок галереи других скетчей'); $e->display($c); ?> </div> </section> <?php $this->inc('elements/footer.php');
* $pageBlocks = $page->getBlocks('Main'); * if (count($pageBlocks) > 0) { * foreach ($pageBlocks as $pb) { * if ($pb->btHandle == 'content') { * $excerpt = $pb->getInstance()->getContent(); //NOTE: getContent() function is specific to the content block type -- it cannot be called on just any kind of block! * if ($controller->truncateSummaries) { * $excerpt = $th->shorten($excerpt, $controller->truncateChars); //Concrete5.4.2.1 and lower * //$excerpt = $th->shortenTextWord($excerpt, $controller->truncateChars); //Concrete5.4.2.2 and higher * } * break; * } * } * } * echo $excerpt; * ?> * */ /*** Here comes the most important part of the template! The html from here down to the "endforeach" line is repeated for each page in the list... */ ?> <?php $a = new Area('Glass tab content'); //change 'Main' to the name of the area you want to display $a->disableControls(); $a->display($page); ?> <?php } ?> </div>
public function display() { $c = Page::getCurrentPage(); parent::getOrCreate($c, $this->arHandle, 1); parent::display($c); }
<p><a href="#0"><img src="<?php echo $this->getThemePath(); ?>/<?php echo $this->getThemePath(); ?>/images/twitter-feed.jpg"></a></p> <p>IDSystems<br />@IDSystems_UK</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam tincidunt risus convallis tellus fringilla, a condimentum nulla vulputate. </p> </div> </div>*/ ?> </div> </div> <!-- .content --> </main> </div> <!-- #lower-01-main-container --> <div id="lower-02-main-container" class="container"> <main id="lower-02-main" class="wrapper"> <div class="content"> <?php $as = new Area('Systems'); $as->display($c); ?> <ul class="callout-system-links"> <li><img src="<?php echo $this->getThemePath(); ?> /images/systems/sys-02.png"></li> <li><img src="<?php echo $this->getThemePath(); ?> /images/systems/sys-01.png"></li> <li><img src="<?php echo $this->getThemePath(); ?> /images/systems/sys-03.png"></li> <li><img src="<?php
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $this->inc('elements/header.php'); ?> <div class="body gs960"> <div class="main"> <?php $main = new Area('Main'); $main->display($c); ?> </div> </div> <?php $this->inc('elements/footer.php');
<? defined('C5_EXECUTE') or die("Access Denied."); ?> <div class="row"> <div class="span14 offset1 columns"> <div class="ccm-pane"> <div class="ccm-pane-header"><h3><?php echo $c->getCollectionName(); ?> </h3></div> <div class="ccm-pane-body clearfix" id="ccm-stack-container"> <? $a = new Area(STACKS_AREA_NAME); $a->display($c); ?> </div> </div> </div> </div>
protected function displayTableGrid($rows = 3, $columns = 3, $c = NULL) { if (!$c) { global $c; } if ($c->isEditMode()) { $editMode = 'ccm-edit-mode'; } if (!intval($rows)) { $rows = 1; } if (!intval($columns)) { $columns = 3; } $layoutNameClass = 'ccm-layout-name-' . TextHelper::camelcase($this->getAreaHandle()) . '-' . TextHelper::camelcase($this->getLayoutNameTxt()) . '-' . $this->getAreaNameNumber(); echo '<div id="ccm-layout-' . $this->layoutID . '" class="ccm-layout ccm-layout-table ' . $layoutNameClass . ' ' . $editMode . '">'; for ($i = 0; $i < $rows; $i++) { echo '<div class="ccm-layout-row ccm-layout-row-' . ($i + 1) . '">'; $cumulativeWidth = 0; for ($j = 0; $j < $columns; $j++) { $colWidth = $columns == 1 ? '100%' : $this->getNextColWidth($j, $cumulativeWidth); $cumulativeWidth += intval(str_replace(array('px', '%'), '', strtolower($colWidth))); $columnn_id = 'ccm-layout-' . intval($this->layoutID) . '-col-' . ($j + 1); if ($j == 0) { $positionTag = 'first'; } elseif ($j == $columns - 1) { $positionTag = 'last'; } else { $positionTag = ''; } echo '<div class="' . $columnn_id . ' ccm-layout-cell ccm-layout-col ccm-layout-col-' . ($j + 1) . ' ' . $positionTag . '" style="width:' . $colWidth . '">'; $a = new Area($this->getCellAreaHandle($this->getCellNumber())); ob_start(); $a->display($c); $areaHTML = ob_get_contents(); ob_end_clean(); if (strlen($areaHTML)) { if (intval($this->spacing)) { $areaHTML = '<div class="ccm-layout-col-spacing">' . $areaHTML . '</div>'; } echo $areaHTML; } else { echo ' '; } echo '</div>'; } echo '<div class="ccm-spacer"></div>'; echo '</div>'; } echo '</div>'; }
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <div class="pageSection"> <?php $ai = new Area('Blog Post Header'); $ai->display($c); ?> </div> <div class="pageSection"> <h1><?php echo $c->getCollectionName(); ?></h1> <p class="meta"><?php echo t('Posted by')?> <?php echo $c->getVersionObject()->getVersionAuthorUserName(); ?> on <?php echo $c->getCollectionDatePublic('F j, Y'); ?></p> </div> <div class="pageSection"> <?php $as = new Area('Main'); $as->display($c); ?> </div> <div class="pageSection"> <?php $a = new Area('Blog Post More'); $a->display($c); ?> </div> <div class="pageSection"> <?php $ai = new Area('Blog Post Footer'); $ai->display($c); ?> </div>
</h1> <p class="meta"><?php echo t('Posted by %s on %s', $c->getVersionObject()->getVersionAuthorUserName(), Core::make('helper/date')->formatDate($c->getCollectionDatePublic(), true)); ?> </p> </div> <div class="pageSection"> <?php $as = new Area('Main'); $as->display($c); ?> </div> <div class="pageSection"> <?php $a = new Area('Blog Post More'); $a->display($c); ?> </div> <div class="pageSection"> <?php $ai = new Area('Blog Post Footer'); $ai->display($c); ?> </div> </div> <div class="spacer"> </div> </div> <?php $this->inc('elements/footer.php');
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <h1 class="error"><?php echo t('Page Not Found')?></h1> <?php echo t('No page could be found at this address.')?> <?php if (is_object($c)) { ?> <br/><br/> <?php $a = new Area("Main"); $a->display($c); ?> <?php } ?> <br/><br/> <a href="<?php echo DIR_REL?>/"><?php echo t('Back to Home')?></a>.
<?php $this->inc('elements/head.php'); ?> <body class="<?php echo $templateHandle; ?> "> <div id="c-level-1" class="<?php echo $c->getPageWrapperClass(); ?> "> <main revealing> <div class="area-main"> <?php /** @var $a \Concrete\Core\Area\Area */ $a = new Area(Concrete\Package\Jhmr\Controller::AREA_MAIN); $a->enableGridContainer(); //$a->setAreaGridMaximumColumns(12); $a->display($c); ?> </div> </main> </div> <?php Loader::element('footer_required'); // REQUIRED BY C5 // ?> </body> </html>
<div class="bd"> <?php if ($description) { ?> <p><?php echo $title . " - " . $description; ?> </p> <?php } ?> <p class="logo"><a href="<?php echo DIR_REL; ?> /"><?php echo $block && $block->bID ? $block->display() : SITE; ?> </a></p> <div class="nav"> <?php $nav = new Area('Header Nav'); $nav->display($c); ?> </div> </div> </div> </div> </div> </div> <!-- /head -->