update the function about footer manage
add a template for footer
fix the function about footer manage