I'm positive I've read the tutorial correctly on how to create pages, but everything just shows up white when I try to access COD4.php
Here's what I did:
I made a COD4.php file, saved it in my base whmcs directory and inside it I put this:
<?php
define("CLIENTAREA",true);
require("dbconnect.php");
require("includes/functions.php");
require("includes/clientareafunctions.php");
$pagetitle = $_LANG['clientareatitle'];
$pageicon = "images/support/clientarea.gif";
$breadcrumbnav = '<a href="index.php">'.$_LANG['globalsystemname'].'</a>';
$breadcrumbnav .= ' > <a href="COD4.php">COD4</a>';
initialiseClientArea($pagetitle,$pageicon,$breadcrumbnav);
if ($_SESSION['uid']) {
# User is Logged In - put any code you like here
}
# To assign variables in Smarty use the following syntax.
# This can then be used as {$variablename} in the template
$smartyvalues["COD4"] = $value;
# Define the template filename to be used without the .tpl extension
$templatefile = "COD4";
outputClientArea($templatefile);
?>
Then I created another file named COD4.tpl, left it blank, and put it in my base template directory.
But like I said, its a blank page when I try to access it, excludiing my header and everything else.
Any insight would be greatly appreciated