این کد رو چک کنید
کد PHP:
<?php
define("CLIENTAREA",true);
require("dbconnect.php");
require("includes/functions.php");
require("includes/clientareafunctions.php");
$pagetitle = 'Shared Hosting';
$pageicon = "images/support/clientarea.gif";
$breadcrumbnav = '<a href="index.php">'.$_LANG['globalsystemname'].'</a>';
$breadcrumbnav .= ' > <a href="sharedhosting.php">Shared Hosting</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["variablename"] = $value;
# Define the template filename to be used without the .tpl extension
$templatefile = "dedicatedhosting";
outputClientArea($templatefile);
?>
اینطور درستر هست . فایل tpl شما درست هست اما php باید مثل این باشه
یا حق