title: How to show content of a a specific URL in Smarty template?
body: <p>Following is my code snippet from smarty template :</p>
  
  <pre><code>&lt;div id="entrancelist"&gt;
        &lt;h2 class="heading"&gt;My Packages&lt;/h2&gt;
        {if $user_study_test_packages.test}
          &lt;ul class="entrancelist"&gt;     
           {foreach from=$user_study_test_packages.test item="user_test_packages" key=key}
            &lt;li&gt;
            &lt;h4&gt;{$user_test_packages.pack_name|capitalize:true}&lt;/h4&gt;
             {if $user_test_packages.pack_expiry_date1 &gt;= $current_date }
              &lt;div class="fr"&gt;&lt;span class="expiry"&gt;Expiry : {$user_test_packages.pack_expiry_date}&lt;/span&gt;&lt;/div&gt;
             {else}
               &lt;div class="fr"&gt;&lt;span class="expiry_dt"&gt;This package is expired on {$user_test_packages.pack_expiry_date}.&lt;/span&gt;&lt;/div&gt;
             {/if}
             &lt;p class="descp"&gt;{$user_test_packages.test_pack_desc}&lt;/p&gt;
            &lt;div class="srtest"&gt;&lt;a href="my_tests_listing.php?pack_id={$user_test_packages.pack_id}" class="starttst"&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
            &lt;/li&gt; 
           {/foreach}     
         &lt;/ol&gt;
        {else}  
            You haven't bought any online test packages
         {/if}
      &lt;/div&gt;
  </code></pre>
  
  <p>Now what I want to do is reaplace the text "You haven't bought any online test packages" with the content of different URL say www.google.com But I'm not understanding how should I achieve this. Can anyone help me out in this issue? Thanks in advance.</p>