Alıntı


<?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="mypage.php">My Page</a>';

initialiseClientArea($pagetitle,$pageicon,$breadcr umbnav);

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 = "sayfaadın";

outputClientArea($templatefile);

?>



Şeklinde yapabilirsin