assign("pdffile","./temp/pdftemp/$tmppdfname.pdf"); $smarty->display("projectshow.tpl"); ?>