<?phpif (!defined('MODULE_FILE')) { Header("Location: ../../index.php"); exit;}include('header.php');?> тут html контент <?include('footer.php');?>