<?php
$content=file_get_contents("pag1.php");
$match = array('#<\?php(.*?)\?>#se');
$replace= array("eval(stripslashes('$1'))");
$content=preg_replace($match, $replace, $content);
$pan=new PANEL($content);
$pan->Draw();
?>