How to load page template and put content into?
<p>Maybe it's duplicate but I don't know how it calls and cannot find. I need to load a php-file (template of my block) and set content into it.
For example, template file:</p>

<pre><code>&lt;?php include_once 'boot.inc' ?&gt;
&lt;div class="widget"&gt;
    &lt;div class="widget-title"&gt;I need to put title here&lt;/div&gt;
    &lt;div class="widget-body"&gt;I need to put content here&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>And php function to insert new block with this template:</p>

<pre><code>function nm_new_block($title, $content) {};
</code></pre>

<p>Can I do it in php?</p>