Qry($sql); $page_info=$RES->GetARow(); $SMARTY->Assign('page_info',$page_info); $SMARTY->ShowHeader(); $SMARTY->ShowBody('index.tpl'); $SMARTY->ShowFooter(); ?>