getIndex()); if ($app['script_cmd']) include $app['script_cmd']; # Capture the output and put into the body of the page. $www['body'] = new block(); $www['body']->SetBody(ob_get_contents()); $www['page']->block_add('body',$www['body']); ob_end_clean(); if ($www['meth'] == 'ajax') $www['page']->show(get_request('frame','REQUEST',false,'BODY'),true); else $www['page']->display(); ?>