View Single Post
  #4  
Old 05-29-2003, 02:24 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

In my /include/check_useraccount.php

I added the query:

Code:
$name=func_query_first("select firstname,lastname from $sql_tbl[customers] where login='$login'");

In the same file:

Code:
$smarty->assign("name",$name);$smarty->assign("name",$name);

Then in my authbox.tpl

Code:
Welcome back, {$name[0]} {$name[1]}
Reply With Quote