<?php define( 'SYSTEM_FILE', 1); require_once('../inc/head.php'); noauth(); if(filter_has_var(INPUT_GET, 'test')){ include '../test/test.php'; include '../inc/foot.php'; exit(); } echo '<div class="c"><a href="?test">test</a></div>'; nav(); require_once('../inc/foot.php'); ?>