How to display specific forms in drupal 7?
I would recommend using blocks with conditional views instead of hard coding this into your template file, but if that's really what you want to do, you basically just need to use drupal_render and drupal_get_form in the appropriate places in your template file i.e.:

Login:
&lt;?php print drupal_render(drupal_get_form('user_login')); ?&gt;
 - OR -
Register:
&lt;?php print drupal_render(drupal_get_form('user_register_form')); ?&gt;