<?php
function smarty_function_pagesetter_pubinfo($args, &$smarty)
{
extract($args);
unset($args['pid']);
unset($args['tid']);
$pubinfo = pnModAPIFunc ( 'pagesetter', 'user', 'getPub',
array( 'tid' => $tid,
'pid' => $pid ) );
$smarty->assign($assign, $pubinfo);
}
?><!--[pagesetter_pubinfo tid=4 pid=$name assign="results"]-->
<!--[$results[0]]-->/<!--[$results[1]]-->/<!--[$results[2]]-->/<!--[$results[3]]-->/<!--[$results[4]]-->Template courtesy of Designs By Darren.