UPDATE-nav bar,search function,advanced search function, template design,code optimization