Adding phtml file to static blocks in magento
<p>I am new to magento. And while creating static block on my own in magento dashboard, it doesnt compile php code. So i need to call a phtml file But I am not sure what needs to be done for this. The code I need to put in static block is :</p>

<pre><code>&lt;div class="account-login"&gt;
&lt;div class="page-title"&gt;
    &lt;h1&gt;&lt;?php echo $this-&gt;__('Login or Create an Account') ?&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;?php echo $this-&gt;getMessagesBlock()-&gt;getGroupedHtml() ?&gt;
&lt;form action="&lt;?php echo $this-&gt;getPostActionUrl() ?&gt;" method="post" id="login-form"&gt;
    &lt;?php echo $this-&gt;getBlockHtml('formkey'); ?&gt;
    &lt;div class="col2-set"&gt;
        &lt;div class="col-1 new-users"&gt;
            &lt;div class="content"&gt;
                &lt;h2&gt;&lt;?php echo $this-&gt;__('New Customers') ?&gt;&lt;/h2&gt;
                &lt;p&gt;&lt;?php echo $this-&gt;__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?&gt;&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="col-2 registered-users"&gt;
            &lt;div class="content"&gt;
                &lt;h2&gt;&lt;?php echo $this-&gt;__('Registered Customers') ?&gt;&lt;/h2&gt;
                &lt;p&gt;&lt;?php echo $this-&gt;__('If you have an account with us, please log in.') ?&gt;&lt;/p&gt;
                &lt;ul class="form-list"&gt;
                    &lt;li&gt;
                        &lt;label for="email" class="required"&gt;&lt;em&gt;*&lt;/em&gt;&lt;?php echo $this-&gt;__('Email Address') ?&gt;&lt;/label&gt;
                        &lt;div class="input-box"&gt;
                            &lt;input type="text" name="login[username]" value="&lt;?php echo $this-&gt;escapeHtml($this-&gt;getUsername()) ?&gt;" id="email" class="input-text required-entry validate-email" title="&lt;?php echo $this-&gt;__('Email Address') ?&gt;" /&gt;
                        &lt;/div&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        &lt;label for="pass" class="required"&gt;&lt;em&gt;*&lt;/em&gt;&lt;?php echo $this-&gt;__('Password') ?&gt;&lt;/label&gt;
                        &lt;div class="input-box"&gt;
                            &lt;input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="&lt;?php echo $this-&gt;__('Password') ?&gt;" /&gt;
                        &lt;/div&gt;
                    &lt;/li&gt;
                    &lt;?php echo $this-&gt;getChildHtml('form.additional.info'); ?&gt;
                    &lt;?php echo $this-&gt;getChildHtml('persistent.remember.me'); ?&gt;
                &lt;/ul&gt;
                &lt;?php echo $this-&gt;getChildHtml('persistent.remember.me.tooltip'); ?&gt;
                &lt;p class="required"&gt;&lt;?php echo $this-&gt;__('* Required Fields') ?&gt;&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col2-set"&gt;
        &lt;div class="col-1 new-users"&gt;
            &lt;div class="buttons-set"&gt;
                &lt;button type="button" title="&lt;?php echo $this-&gt;__('Create an Account') ?&gt;" class="button" onclick="window.location='&lt;?php echo Mage::helper('persistent')-&gt;getCreateAccountUrl($this-&gt;getCreateAccountUrl()) ?&gt;';"&gt;&lt;span&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('Create an Account') ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="col-2 registered-users"&gt;
            &lt;div class="buttons-set"&gt;
                &lt;a href="&lt;?php echo $this-&gt;getForgotPasswordUrl() ?&gt;" class="f-left"&gt;&lt;?php echo $this-&gt;__('Forgot Your Password?') ?&gt;&lt;/a&gt;
                &lt;button type="submit" class="button" title="&lt;?php echo $this-&gt;__('Login') ?&gt;" name="send" id="send2"&gt;&lt;span&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('Login') ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php if (Mage::helper('checkout')-&gt;isContextCheckout()): ?&gt;
        &lt;input name="context" type="hidden" value="checkout" /&gt;
    &lt;?php endif; ?&gt;
&lt;/form&gt;
&lt;script type="text/javascript"&gt;
//&lt;![CDATA[
    var dataForm = new VarienForm('login-form', true);
//]]&gt;
&lt;/script&gt;
</code></pre>

<p></p>