Location: PHPKode > projects > Basic Announce > Basic Announce Version 4.0/system/templates/php_dynamic_file.tpl
<?php
################################################################################
##              -= This is a template for dynamic file =-                      #
################################################################################
    
    // Initialize the session.
    session_start();
    
    require_once("../inc/classes/session.class.php");	
    require_once("../inc/checkPagePermissions.php");
    require_once("../inc/functions.inc.php");
    
    $page_array = explode('/', $_SERVER['SCRIPT_NAME']);
    $page = $page_array[count($page_array) - 1]; 
    if(!page_access_allowed("dynamic_pages.php", $page)) redirect_to("../system/access_denied.php");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>Site :: Home</title>
    <meta http-equiv=Content-Type content="text/html; charset=utf-8">
    <link href="../styles/<CSS_STYLE>/style.css" type=text/css rel=stylesheet>
</head>
<body>
    <?php    
        echo "This is PHP Dynamic Page: <FILE_NAME> <br/>";
        echo "This page was created on: <DATE_CREATED> <br/>";
    ?>
</body>
</html>
Return current item: Basic Announce