title: Bootstrap template admin panel login check
body: <p>I bought a responsive admin panel template built with bootstrap. I have a question:</p>
  
  <p>I am using jquery on all the admin panel files to get data from a web service.</p>
  
  <p>What is the best way to disallow people from accessing files of the admin panel if they are not logged in ? Let us say I have checklogin.php ? Do I have to call it on every page and then redirect them to a different login page ? And change the format of my files from .html to .php ?</p>
  
  <p>Regards</p>