Using includes

I am trying to integrate my sites look and feel into phpAlbum, but my includes are not working. Below is part of the code I have put in the album..tpl.php file, but my files are not getting included

<?
include_once $_SERVER["DOCUMENT_ROOT"] . "/inc/sitecommon.php";
include_once $DOCUMENT_ROOT."/inc/dbconn.php";
include_once $DOCUMENT_ROOT."/inc/opendb.php";
$current_page = $_GET['page_name'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Site Name : <?php echo ucwords(str_replace("-", " ", $current_page));?></title>
<? include_once $DOCUMENT_ROOT."/inc/headContent.php";?>
<link rel="stylesheet" href="<?php print ($stylesheet_link);?>" type="text/css">
</head>
<body<?php if ($current_page == "contact-us") {?> onload="initialize()" onunload="GUnload()"<?php }?>>
<div id="wrapper">
<? include_once $DOCUMENT_ROOT."/inc/header.php";?>
    <? include_once $DOCUMENT_ROOT."/inc/sub_header.php";?>
    <div id="content">

How can I get this to work?

Thanks!

Nevermind, it is working

Nevermind, it is working now.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.