This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--ACCORDION WILL CLOSE ON CLICK TO NEXT ITEM AND OPEN thanks - http://itprism.com/blog/106-bootstrap-tabs-accordion-slides--> | |
| <?php echo JHtml::_('bootstrap.startAccordion', 'slide-group-id', array('active' => 'slide1_id', 'parent' => 'slide-group-id')); ?> | |
| <?php echo JHtml::_('bootstrap.addSlide', 'slide-group-id', 'Panel Title', 'slide1_id', 'accordion-toggle'); ?> <h1>dasdasads</h1> | |
| <?php echo JHtml::_('bootstrap.endSlide'); ?> | |
| <?php echo JHtml::_('bootstrap.addSlide', 'slide-group-id', 'Panel Title 2', 'slide2_id', 'accordion-toggle'); ?> <h1>dasdasads</h1> | |
| <?php echo JHtml::_('bootstrap.endSlide'); ?> | |
| <?php echo JHtml::_('bootstrap.endAccordion'); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @package Joomla.Site | |
| * @subpackage mod_login | |
| * | |
| * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. | |
| * @license GNU General Public License version 2 or later; see LICENSE.txt | |
| */ | |
| defined('_JEXEC') or die; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @package Joomla.Site | |
| * @subpackage mod_login | |
| * | |
| * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. | |
| * @license GNU General Public License version 2 or later; see LICENSE.txt | |
| */ | |
| defined('_JEXEC') or die; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php // no direct access | |
| /* iamrobert.com | TAIWAN ------------------------------------------------- | |
| _ __ __ | |
| (_)__ ___ _ _______ / / ___ ____/ /_ | |
| / / _ `/ ' \/ __/ _ \/ _ \/ -_) __/ __/ | |
| /_/\_,_/_/_/_/_/ \___/_.__/\__/_/ \__/ | |
| ===================================================== DIGITAL DESIGN STUDIO | |
| # author Robert Stark | |
| # copyright Copyright © 2017 iamrobert.com All rights reserved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //add at top of template index.php | |
| //GET DEFAULT HOMEPAGE | |
| $app = JFactory::getApplication(); | |
| $menu = $app->getMenu(); | |
| if ($menu->getActive() == $menu->getDefault()) { | |
| //LANGUAGE | |
| // Initialize the language code variable | |
| $lc = ""; | |
| $host = $_SERVER['HTTP_HOST']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="loca-block"> | |
| <div class="row"> | |
| <div class="small-4 columns"> | |
| <a href="https://www.zapatas-shanghai.com/"> | |
| <div class="mxh shwidth"> | |
| <h5 class="sh">萨帕塔上海</h5> | |
| </div> | |
| </a> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //JOOMLA TEMPLATE INLINE CSS | |
| $document = JFactory::getDocument(); | |
| $siteURL='http'.(empty($_SERVER['HTTPS'])?'':'s').'://'.$_SERVER['SERVER_NAME']; | |
| $inlineStyle= file_get_contents ($siteURL.$tpath.'/css/fonts.css'); | |
| $document->addStyleDeclaration($inlineStyle); | |
| //JOOMLA TEMPLATE INLINE JS | |
| $siteURL='http'.(empty($_SERVER['HTTPS'])?'':'s').'://'.$_SERVER['SERVER_NAME']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* iamrobert.com | TAIWAN ------------------------------------------------- | |
| _ __ __ | |
| (_)__ ___ _ _______ / / ___ ____/ /_ | |
| / / _ `/ ' \/ __/ _ \/ _ \/ -_) __/ __/ | |
| /_/\_,_/_/_/_/_/ \___/_.__/\__/_/ \__/ | |
| ===================================================== DIGITAL DESIGN STUDIO | |
| # author Robert Stark | |
| # copyright Copyright © 2017 iamrobert.com All rights reserved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if(strip_tags($row[0]) == 'Video'): ?> | |
| <?php if($row[9] != NULL) :?> | |
| <?php | |
| $datavideo = strip_tags($row[9][0]); | |
| $datavideo = str_replace("href=","", $datavideo); | |
| $datavideo = preg_replace('/\s+/', '', $datavideo); | |
| $datavideo = preg_replace('/\"/', '', $datavideo); | |
| //$datavideo = preg_replace('\"', '', $datavideo); | |
| if (preg_match('/^.*(?:(?:youtu\.be\/|v\/|vi\/|u\/\w\/|embed\/)|(?:(?:watch)?\?v(?:i)?=|\&v(?:i)?=))([^#\&\?]*).*/', $datavideo, $match)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //TRIGGER RESIZE EVENTS | |
| // + MERGE MENUS - Secondary Nav | |
| //TRIGGER RESIZE EVENTS | |
| $("#resize").on( | |
| "resizeme.zf.trigger", | |
| Foundation.util.throttle(function() { | |
| console.log("resize"); | |
| }, 500) | |
| ); |