<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<?php echo $__env->make('admin.layouts.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
	</head>
	<?php /*  Make the root URL available for the admin side  */ ?>
	<body data-base-url="<?php echo e(Request::root()); ?>" <?php if(isset($module_path)): ?> data-module-path="<?php echo e($module_path); ?>"<?php endif; ?>>
		<div id="body-wrapper">
			<div id="sidebar">

				<img id="paracore" src="<?php echo URL::asset('admin/images/logo-alt.png'); ?>" width="185px" alt="89A" />

				<?php if (!isset($login) || $login != 1): ?>
					<div id="profile-links">
						Welcome <a href="#" title="Edit your profile"><?php echo $current_user->name; ?></a><br />
						<br />
						<a href="<?php echo url('/'); ?>" target="_blank" title="View the Site">View my Site</a> | 
						<a href="<?php echo url('logout'); ?>" title="Sign Out">Sign Out</a>
					</div>
					<?php echo $__env->make('admin.layouts.menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
				<?php endif; ?>

			</div>
			<div id="main-content">
				<h1><?php echo $__env->yieldContent('page_title'); ?></h1>
				<p class="page-subtitle"><?php echo $__env->yieldContent('page_subtitle'); ?><p>
				<div id="notifications"></div>
				<div id="page-content"><?php echo $__env->yieldContent('page_content'); ?></div>
			</div>
			<script id="notification" type="text/x-jquery-tmpl">
				<div class="notification ${type}">
					<div class="close"><img alt="close" title="Close Notification" src="../../images/icons/cross_grey_small.png" /></div>
					<div>${msg}</div>
				</div>
			</script>
		</div>

		<?php echo $__env->make('admin.layouts.jscript', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
	</body>
</html>

