print full url template
You should use the url() function to create URLs.


  Generates an internal or external URL.


This functions handles all complexity of creating an URL, including language prefix. url() handles exernal URLs too.

You can also use the l() function to create anchor tags:


  Formats an internal or external URL link as an HTML anchor tag.
  
  This function correctly handles aliased paths and adds an 'active'
  class attribute to links that point to the current page (for theming),
  so all internal links output by modules should be generated by this
  function if possible.


In your case you can use:

&lt;?php print url('&lt;front&gt;', array('absolute' =&gt; TRUE, 'fragment' =&gt; 'project'));?&gt;