Ht_template.c