|
Thank you very much for your quick reply. Great explanation, that was kind of my understanding when I was on w3schools.com. In this case is it calling on another file - that I need to look at? (see below) I basically just need to change the copyright date and phone numbers on the front of the site. ;-) This is what is on the index.php that I am working with. Thanks again, pretty interesting stuff - will be fun to really get into it.
<?php
// SESSION START/CONTINUE
@ session_start();
// SECURITY/CONFIG
define('IN_MAIN',true);
$path_site = './';
$page = 'index';
// INCLUDES
require_once($path_site.'inc/database.php');
require_once($path_site.'inc/constants.php');
require_once($path_site.'inc/common.php');
// LOGIC \\
if(isset($_SESSION['user']['id'])) { redirect($path_site.'networks.php'); exit(); }
$CONTENT = replace_output( file_get_contents(PATH_CB.'home'.EXT_CB), array(
'path_site'=>$path_site
));
// OUTPUT \\
$OUTPUT = replace_output( file_get_contents(PATH_TPL.'main'.EXT_TPL), array(
'path_site'=>$path_site,
'sbu'=>SITE_BASEURL,
'meta_kw'=>SITE_KEYWORDS,
'meta_desc'=>SITE_DESC,
'meta_title'=>SITE_TITLE,
'nav_list'=>get_nav_list(),
'content'=>$CONTENT
));
print($OUTPUT);
?>
|