Your IP : 216.73.216.84


Current Path : /home/helpink/www/administrator/components/com_jbusinessdirectory/views/marketing/tmpl/
Upload File :
Current File : /home/helpink/www/administrator/components/com_jbusinessdirectory/views/marketing/tmpl/default.php

<?php
/**
 * @package    J-BusinessDirectory
 *
 * @author     CMSJunkie http://www.cmsjunkie.com/
 * @copyright  Copyright (C) 2007 - 2022 CMSJunkie. All rights reserved.
 * @license    https://www.gnu.org/licenses/agpl-3.0.en.html
 */ 
defined('_JEXEC') or die('Restricted access');
jimport( 'joomla.html.html.tabs' );


 JBusinessUtil::initializeChosen();
JHtml::_('bootstrap.tooltip');
JHtml::_('behavior.multiselect');

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Multilanguage;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session;

JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
?>
<div id="jbd-container" class="jbd-container">
    <form action="index.php" method="post" name="adminForm" id="adminForm">
          <div class="col100">
                <?php
                $options = array(
                  'onActive' => 'function(title, description){
                                            description.setStyle("display", "block");
                                            title.addClass("open").removeClass("closed");
                                        }',
                  'onBackground' => 'function(title, description){
                                            description.setStyle("display", "none");
                                            title.addClass("closed").removeClass("open");
                                        }',
                  'startOffset' => 0,  // 0 starts on the first tab, 1 starts the second, etc...
                  'useCookie' => true, // this must not be a string. Don't use quotes.
                  'active' => 'tab-'.JBusinessUtil::getLanguageTag(),
                );

                $jbdTabs = new JBDTabs();
                $jbdTabs->setOptions($options);

                echo $jbdTabs->startTabSet('tab_general_id');

                echo $jbdTabs->addTab('tab_general_id','panel_0_id', JText::_('LNG_SEND_EMAILS_TO_DIRECTORY'));
                require_once 'emails.php';
                echo $jbdTabs->endTab();

                echo $jbdTabs->endTabSet();
                ?>
          </div>
    </form>
</div>