<?php
/**
 *---------------------------------------------------------------------------------------
 * @package       VP Smart Template
 *---------------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2012-2021 VirtuePlanet Services LLP. All rights reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       Abhishek Das
 * @email         info@virtueplanet.com
 * @link          https://www.virtueplanet.com
 *---------------------------------------------------------------------------------------
 */

defined ( '_JEXEC' ) or die;

$app      = JFactory::getApplication();
$template = plgSystemVPFrameworkHelper::getTemplate();
$print    = $app->input->getInt('print', 0);
$params   = $template->params;
?>
<?php if($params->get('show_vm_social_buttons', 1) && empty($print)) : ?>
	<?php VPFrameworkScript::addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' . $params->get('addthis_profile_id', 'ra-58f069b8e5a62b6f')); ?>
	<!-- Go to www.addthis.com/dashboard to customize your tools -->
	<div class="addthis_inline_share_toolbox"></div>
<?php endif; ?>