<?php if (!isset($mainfile)) { include("mainfile.php"); } $index = 1; include("header.php"); OpenTable(); ?> <html> <body> <iframe src="/modules/X-NG/x-ng.pl" width="100%" height="500" frameborder="0"></iframe> </body> </html> <?php CloseTable(); include("footer.php"); ?>