WordPress Shortcode wrap around div

If by template file you mean a php file in the themes folder, you can call do_shortcode to have the shortcode processor do its magic on your div.

EDIT: not entirely sure I understand what you want, but you could try this:

<div id="subscription">
<?php do_shortcode('[subscribe]'.call_php_function().'[/subscribe]');?>
</div>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)