<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
	<head>
		{include file="{$smarty.const.APP_REAL_PATH}_templates/engine/head.tpl"}

		<style type="text/css">
			@import url('_css/categoriesTabs.css');
			@import url('_css/reportsList.css');
			@import url('{$MODULE_REL_PATH}_css/reportStatus.css');
		</style>

		<script language="javascript" src="_js/reportsList.js"></script>
		<script language="javascript" src="{$MODULE_REL_PATH}_js/application/reports.js"></script>

	</head>

	<body class="hasStatusBar">

		{include file="{$smarty.const.APP_REAL_PATH}_templates/engine/header.tpl"}
		{include file="{$smarty.const.APP_REAL_PATH}_templates/engine/menu.tpl"}


		<div id="pageContent">

			{showMessage}

			<table class="mainTable" cellspacing="0" cellpadding="0">
				<tr>

					<td width="300">
						<div id="categoriesListDiv">
							{include file="index_categoriesList.tpl"}
						</div>
					</td>

					<td>
						{if $categoriesList}
							<div id="reportsListDiv" class="reportsList"></div>
						{/if}
					</td>

				</tr>
			</table>

		</div>

		{include file="{$smarty.const.APP_REAL_PATH}_templates/engine/footer.tpl"}

		{* ---- AJAX RELOAD THE REPORTS LIST ---- *}
		{if $categoriesList}
			<script language="javascript">
				ajaxIframe( 'reportsListDiv', 'reportsList.php', 'idCategory={$idCurrentCategory}', {ldelim} onSuccess:redimensionReportsList{rdelim} );
			</script>
		{/if}


	</body>
</html>
