title: Date picker is not working in Codeigniter
body: <p>I am trying to add a calender in my application. The following code that I have is not working in codeigntier but it works fine if I put it into another folder outside codeigniter. Would you please kindly help me find out what the problem is? 
  Thanks in Advance </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;link href="calendar/calendar.css" rel="stylesheet" type="text/css" /&gt;
  &lt;script language="javascript" src="calendar/calendar.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;?php
  //get class into the page
  
  
  require_once('tc_calendar.php');
  
  
  
    $myCalendar = new tc_calendar("date5", true, false);
    $myCalendar-&gt;setIcon ("calendar/images/iconCalendar.gif");
    $myCalendar-&gt;setDate(date('d'), date('m'), date('Y'));
    $myCalendar-&gt;setPath("calendar/");
    $myCalendar-&gt;setYearInterval(1971, 2035);
    $myCalendar-&gt;dateAllow('1971-01-01', '2035-01-01');
    $myCalendar-&gt;setDateFormat('j F Y');
    //$myCalendar-&gt;setHeight(350);      
    //$myCalendar-&gt;autoSubmit(true, "form1");
    $myCalendar-&gt;setAlignment('left', 'bottom');
    $myCalendar-&gt;writeScript();
    ?&gt;
  
       &lt;/body&gt;
  
  
      &lt;/html&gt;
  </code></pre>