<?php use Antfuentes\Titan\Joomla; use Antfuentes\Titan\Framework; $article = new Joomla\Article(); $string = new Framework\String(); $h = new Framework\Html(); $article->sectionContent($this->articleAlias, $this->sectionAlias); $introtext = $string->breakExplode($article->introtext); $h->b('div', 0, 1, '', '{"class":"row", "data-min-height":"70"}'); $h->b('div', 0, 1, '', '{"class":"vertical"}'); $h->b('div', 0, 1, '', '{"class":"col col-xs-12 bg-div", "data-min-height":"35"}'); $h->b('div', 0, 1, '', '{"class":"vertical"}'); $h->b('div', 0, 1, '', '{"class":"col col-center col-xs-8 div"}'); $h->b('ul', 0, 1, '', '{"class":"col col-xs-12 ul"}'); $string->breakByGroupSize(1, $introtext, __DIR__, 'logos'); $h->b('ul', 1, 1); $h->b('div', 1, 1); $h->b('div', 1, 1); $h->b('div', 1, 1); $h->b('div', 1, 1); $h->b('div', 1, 1);
<?php //ARTICLE //FAQ //SECTION #1 use Antfuentes\Titan\Joomla; use Antfuentes\Titan\Framework; $article = new Joomla\Article(); $string = new Framework\String(); $h = new Framework\Html(); $article->sectionContent($this->articleAlias, $this->sectionAlias); $row = '{"class":"row", "data-min-height":"30"}'; $vertical = '{"class":"vertical"}'; $container = '{"class":"col col-center col-xs-11 col-sm-10 col-md-9 col-lg-8"}'; $h->b('div', 0, 1, '', $row); $h->b('div', 0, 1, '', $vertical); $h->b('div', 0, 1, '', $container); $string->breakByGroupSize(2, $string->breakExplode($article->introtext), __DIR__, 'boxes'); $h->b('div', 1, 1); $h->b('div', 1, 1); $h->b('div', 1, 1);
<?php use Antfuentes\Titan\Joomla; use Antfuentes\Titan\Framework; $menu = new Joomla\Menu(); $h = new Framework\Html(); $sch = new Framework\Sch(); $string = new Framework\String(); $menu->categoryBlog($this->catid, $this->id); $menu->article($this->id, JRequest::getVar('Itemid')); $text = $string->breakExplode($this->introtext); $img = json_decode($this->images); $link = 'index.php?option=com_content&view=article&id=' . $this->id . ':' . $this->alias . '&catid=' . $this->catid . '&Itemid=' . JRequest::getVar('Itemid'); //echo '<a href="'.$link.'">'.$this->title.'</a>'; //echo '<br>'; if ($resultsKey == 0) { $h->b('section', 0, 1, '{"class":"row section", "data-min-height":"80"}'); $h->b('div', 0, 1, '', '{"class":"vertical"}'); $h->b('div', 0, 1, '', '{"class":"col col-center col-xs-8", "data-mh":"audio-cat-div"}'); } $h->b('article', 0, 1, '', '{"class":"col col-xs-12 col-sm-3 col-md-3 col-lg-3", "id":"article", "data-mh":"artists-catergory-article"}'); $h->b('a', 0, 1, '', '{"href":"' . $menu->articleLink . '", "class":"col col-xs-12 artists-a"}'); $h->b('figure', 0, 1, '', '{"class":"col col-xs-12 figure"}'); $h->b('img', 0, 1, '', '{"class":"col col-xs-12 image", "src":"' . $img->image_intro . '", "alt":"' . $img->image_intro_alt . '"}'); $h->b('div', 0, 1, '', '{"style":"background-image: url(' . $img->image_intro . ')", "class":"div-img"}'); $h->b('div', 1, 1); $h->b('figure', 1, 1); $h->b('a', 1, 1); $h->b('a', 0, 1, '', '{"href":"' . $menu->articleLink . '", "class":"col col-xs-12 artists-a"}'); $h->b('hgroup', 0, 1, '{"id":"hgroup"}'); $h->b('h2', 0, 1);
<?php use Antfuentes\Titan\Joomla; use Antfuentes\Titan\Framework; $article = new Joomla\Article(); $db = new Joomla\Database(); $string = new Framework\String(); $h = new Framework\Html(); $article->sectionContent($this->articleAlias, $this->sectionAlias); $wallop = '{"class":"Wallop"}'; $wallopList = '{"class":"Wallop-list"}'; $wallopNext = '{"class":"next fa fa-arrow-circle-o-right"}'; $wallopPervious = '{"class":"previous fa fa-arrow-circle-o-left"}'; $wallopPagination = '{"class":"Wallop-pagination"}'; $itemsArray = $string->breakExplode($article->introtext); $h->b('div', 0, 1, '', $wallop); $h->b('div', 0, 1, '', $wallopList); $string->breakByGroupSize(3, $itemsArray, __DIR__, 'items'); $h->b('i', 0, 1, '', $wallopNext); $h->b('i', 1, 1); $h->b('i', 0, 1, '', $wallopPervious); $h->b('i', 1, 1); $h->b('div', 1, 1); $h->b('ul', 0, 1, '', $wallopPagination); $string->breakByGroupSize(3, $itemsArray, __DIR__, 'dots'); $h->b('ul', 1, 1); $h->b('div', 1, 1);