<?Lassoscript
// Last modified 5/12/08 by ECL, Landmann InterActive

// FUNCTIONALITY
// Used to access the maintenance area

// CHANGE NOTES
// 10/12/07
// Recoded for CMS v. 3.0

Include:'/siteconfig.lasso';

// Start the session
Session_Start: -Name=$svSessionAdminName, -Expires=$svSessionTimeout;

// Page head
Include:($svLibsPath)'page_header_admin.inc';

// Defining the DataType
Var:'vDataType' = 'Maintenance';

// Debugging
// Var:'svDebug' = 'Y';
?>
<table width="780">
	<tr>
		<td width="170">
			[Include:($svLibsPath)'navbar_main.inc']
		</td>
		<td>
			<div class="contentcontainerwhite">
<?Lassoscript
// Login check
If: (Var:'svUser_ID') != '';

	Include:'/maintenance/maintenance.inc';

Else;
	// Dump out error 6004 "Access Restricted"
	Var:'vError' = '6004';

	// Standard Error Table
	LI_ShowError3: -ErrNum=(Var:'vError'), -Option=(Var:'vOption');

/If;
?>
			</div>
		</td>
	</tr>
</table>
[Include:($svIncludesPath)'build_footer.inc']
[OutputFooter]
</body>
</html>
