Path : /var/www/html/main/
File Upload :
Current File : /var/www/html/main/error.php

<?php
/*!
 * Copyright Anucha Puangpaka
 * Contacts anucha.ppk@icloud.com 062-479-9836
 */

include('head.php');

$xsites = substr($ap_site,0,-1).$_SERVER['REQUEST_URI'];
?>
<main>
<div class="body-main-row-body container theme-showcase text-center" role="main">

	<?php if($_GET['nu']=="403"){ ?>
		<h1>Oops!</h1>
	  <h2>403 Forbidden</h2>
	  <div class="" style="height: 10vh">
	    You don't have permission to access [directory] on this server
	  </div>
	<?php } ?>
	
	<?php if($_GET['nu']=="404"){ ?>
		<h1>Oops!</h1>
	  <h2>404 Not Found</h2>
	  <div class="" style="height: 10vh">
	    Sorry, an error has occured, Requested page not found!
	  </div>
	<?php } ?>

	<?php if($_GET['nu']=="500"){ ?>
		<h1>Oops!</h1>
	  <h2>500 Internal Server Error</h2>
	  <div class="" style="height: 10vh">
	    The page cannot be displayed because an internal server error has occurred
	  </div>
	<?php } ?>

</div>
</main>

<?php include ('footText.php');?>
<?php include ('foot.php');?>