--- results.php 2001/03/19 16:47:46 1.8 +++ results.php 2001/06/07 09:08:45 1.9 @@ -37,6 +37,9 @@ while ($row=$sth->fetchrow_hash()) { $results[]=$row; } + +if ($type == "p") $main_file="presentations"; + $smarty->assign(array( results=>$results, type=>$type