assign("anrs",$anrs); $smarty->assign("titels",$titels); $smarty->assign("adresse",$kdnres); $smarty->display("umschlagshow.tpl"); } else { error("Dieser Kunde existiert nicht!"); } //$pdf = makeumschlagAddress(0,"asd"); //$tmppdfname = str_replace(array(" ","."),array("_","_"),microtime()); //savePDF($pdf,"./temp/pdftemp/$tmppdfname.pdf"); //$smarty->assign("pdffile","./temp/pdftemp/$tmppdfname.pdf"); //$smarty->display("umschlagshow.tpl");