<?php include('includes/header.html');?>
	<div class="editable">
		<?php
		$previewfile = $_GET['previewfile'];
		$basepage_preview = substr($previewfile, 0, strpos($previewfile, '.'));
		$title = str_replace('_', ' ', strtolower($basepage_preview)); // convert name to lowercase and replace underscores with space
		include ($rootbackup.$basepage_preview.'.txt');
		?> 
	</div>
<?php include('includes/footer.html');?>