<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
<?php 
foreach($css_files as $file): ?>
	<link type="text/css" rel="stylesheet" href="<?php echo $file ?>" />
<?php endforeach; ?>
<?php foreach($js_files as $file): ?>
	<script src="<?php echo $file ?>"></script>
<?php endforeach; ?>
<style type='text/css'>
body
{
	font-family: Arial;
	font-size: 14px;
}
a {
    color: blue;
    text-decoration: none;
    font-size: 14px;
}
a:hover
{
	text-decoration: underline;
}
</style>
<title><?php echo $this->lang->line('BackOffice').' - '.COMPANY_NAME?></title>
</head>
<body>
	
	<div style="padding: 30px">

		<h2>Benvindo ao Back Office</h2>
		<p style="font-size: 16px">
			Aqui poderá gerir os conteúdos do website: <span style="text-decoration: underline;"><?php echo COMPANY_NAME?></span>
		</p>
		<p style="font-size: 16px">
			Para tal, seleccione uma das opções listadas em baixo.
		</p>
	
	</div>
	
	<p>
		<span style="font-size: 18px;"><?php echo COMPANY_NAME?></span>
		<span style="padding-left: 200px; text-decoration: underline;"><?php 
			echo '<a href="'.base_url('site/logout').'">LOGOUT</a>';
		?></span>
	</p>
	

	<div style="margin-top: 30px;">
		<a style="text-decoration: underline;" href='<?php echo site_url('backOffice/newsletters_management')?>'>Newsletters</a> |
                <a style="text-decoration: underline;" href='<?php echo site_url('backOffice/flash_management')?>'>Flash News</a> |
                <a style="text-decoration: underline;" href='<?php echo site_url('backOffice/oportunidades_management')?>'>Oportunidades de emprego</a> |
                <a style="text-decoration: underline;" href='<?php echo site_url('backOffice/candidaturas_management')?>'>Candidaturas</a> |
                <a style="text-decoration: underline;" href='<?php echo site_url('backOffice/subscricao_newsletter_management')?>'>Subscritores de newsletter</a> |
                <a style="text-decoration: underline;" href='<?php echo site_url('backOffice/contactos_management')?>'>Contactos</a>
	</div>
	<div style='height:20px;'></div>  
    <div>
		<?php echo $output; ?>
    </div>
</body>
</html>
