Thanks for the assistance, but I'm still having trouble displaying assigned IPs as well as domains.
Here's what I go:
<?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,$breadcrumbnav);
if ($_SESSION['uid'])
{
# User is Logged In - put any code you like here
$query="SELECT * FROM tblhosting WHERE id='".$_SESSION['uid']."'";
$result = mysql_query($query) or die('Error, query failed');
while ($data = mysql_fetch_array($result))
{
$assignedips = $data['assignedips'];
$domain = $data['domain'];
}
$smartyvalues['assignedips'] = $assignedips;
$smartyvalues['domain'] = $domain;
# 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 = "mynewtemplate";
outputClientArea($templatefile);
?>
{$assignedips}
{domain}
"{$assignedips}" is not showing up at all and "{domain}" is just showing a random domain in the database that is not related to an individual account.
Any help on this matter is greatly appreciated! Thanks again!