2011-09-22 11:37:12
Create a new page in helloworld module
i want to create a new page in hello world module,
i made the page and follow the instruction in documents but i can't access header and footer sec. my code of new page is ..
<?php
if ($_SESSION['valid_user']) {
$_user_location = 'users';
define('AT_INCLUDE_PATH', '../../include/');
//require (AT_INCLUDE_PATH.'vitals.inc.php');
require (AT_INCLUDE_PATH.'header.inc.php');
}
?>
<iframe width="800" height="800" src="http://127.0.0.2/library/open/demo/" id="frm"></iframe>
<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>