Change res function
Change table_layout.tpl