Code:
require "./auth.php";
// API Code
$smarty->assign("trackingnum",$trackingnum);
$smarty->assign("main","trackingnum");
Edit common_templates.tpl and add a new {elseif $main eq "trackingnum"} and include your new .tpl that outputs the $trackingnum values you passed from the php.
hth.
