title: Simple dynamic breadcrumb
body: <p>I think this script is of big interest to any noob around here :) including me :)</p>
  
  <p>What I want to create is a little code that I can use in any file and will generate a breadcrumb like this:</p>
  
  <p>If the file is called "<em>website.com/templates/index.php</em>" the breadcrumb should show:</p>
  
  <pre><code>Website.com &gt; Templates
  </code></pre>
  
  <p>&nbsp;^^ link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^plain text</p>
  
  <p>If the file is called "<em>website.com/templates/template_some_name.php</em>" the breadcrumb should show:</p>
  
  <pre><code>Website.com &gt; Templates &gt; Template Some Name
  </code></pre>
  
  <p>&nbsp;^^ link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^^plain text</p>