<?php
/**
 * @name		Page Builder CK
 * @package		com_pagebuilderck
 * @copyright	Copyright (C) 2015. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @author		Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
 */

defined('_JEXEC') or die;

$user		= \Joomla\CMS\Factory::getUser();
$app		= \Joomla\CMS\Factory::getApplication();

$assoc		= isset($app->item_associations) ? $app->item_associations : 0;
$canEdit    = $user->authorise('core.edit', 'com_pagebuilderck');
?>

<?php 
// loads the css and js files
require PAGEBUILDERCK_PATH . '/views/page/tmpl/include.php';
// loads the main content
require PAGEBUILDERCK_PATH . '/views/element/tmpl/main.php';
