main.tpl for bouth template