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

JBusinessUtil::checkPermissions("directory.access.announcements", "managecompanyannouncement");
$isProfile = true;
$user = JBusinessUtil::getUser();
?>
<script>
    var isProfile = true;
    var userId = '<?php echo $user->id ?>';
</script>
<style>
#header-box, #control-panel-link{
	display: none;
}
</style>
<div class="jbd-front-end">
	<?php include(JPATH_COMPONENT_ADMINISTRATOR.DS.'views'.DS.'announcement'.DS.'tmpl'.DS.'edit.php');?>
</div>
<div class="clear"></div>
