<link rel="stylesheet" href="css/jquery-ui.css" />
<link rel="stylesheet" href="css/jquery.autocomplete.css" type="text/css" />
<script src="js/jquery/jquery.js" type="text/javascript"></script>
<script src="js/jquery/jquery-1.8.2.js"></script>
<script src="js/jquery/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery/autocomplete_jquery_plugin.js"></script>
<script>
function dashboard_report_search(from_date,to_date)
 {
  jQuery.ajax({
  type: "GET",
  url: "master_entry/dashboard_forms/dashboard_form.php",
  data: "from_date="+from_date+"&to_date="+to_date,
  success: function(msg){jQuery("#dashboard_form_div").html(msg);
 }
    });
 }
</script>
<style type="text/css">
.style2 {color: #FF0000}
.style7{font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 13px;}
.style8{ text-align:center;font-family:Tahoma, Arial, Helvetica, sans-serif; font-size: 15px; padding:40px; font-weight: 500;color:#32328e;letter-spacing: 1px;}
.style9{ text-align:left;font-family:Tahoma, Arial, Helvetica, sans-serif; font-size: 15px;font-weight: 600;color:#333; background-color:#f7f7f7;}
</style>
<style type="text/css">
.style7{font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 13px;}
.style9{ text-align:left;font-family:Tahoma, Arial, Helvetica, sans-serif; font-size: 15px; padding:0px; font-weight: 600;color:#333;letter-spacing: 1px;padding:10px; background-color:#f7f7f7;}
.types_class { 
    height: 25px; 
    width: 230px; 
    background-color: transparent;  
    border-style: solid;  
    border-width: 0px 0px 1px 0px;  
    border-color:#CCC; 
    outline:0;
	font-size:14px;
  } 
  
  .types_class1 { 
    height: 25px; 
    width: 140px; 
    background-color: transparent;  
    border-style: solid;  
    border-width: 0px 0px 1px 0px;  
    border-color:#CCC; 
    outline:0;
	font-size:14px;
  } 
.textbox:focus {
    border-color: #C9C9C9;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 8px;
}  
</style>

<div class="container">
<div class="row-fluid">
<div class="span12">
<div class="table-responsive">
<form name="user_form"  id="user_form" method="post" action=""  enctype="multipart/form-data">
<table width="100%" border="0" align="center">
<tr align="left"><div class="style9">Dashboard</div><tr>
<tr>
  <td width="28%" align="center" style="font-family: Verdana, sans-serif; font-size: 14px; font-weight: bold; color:#F00">From Date</td>
  <td width="15%"  align="left"  style="font-family:Verdana, sans-serif; font-size:12px;"><input type="date" class="types_class1" name="from_date" id="from_date"  style="height:23px; width:150px" value="<?php if($_GET['from_date']!='') { echo $_GET['from_date']; } else { echo date("Y-m-d"); }?>"  />&nbsp;</td>
  <td width="22%" align="center" style="font-family: Verdana, sans-serif; font-size: 14px; font-weight: bold; color:#F00">To Date</td>
  <td width="18%" align="left" style="font-family:Verdana, sans-serif; font-size:12px;"><input type="date" class="types_class1" name="to_date" id="to_date" style="height:23px;width:150px;" value="<?php if($_GET['to_date']!='') { echo $_GET['to_date']; } else { echo date("Y-m-d"); }?>" />&nbsp;</td>
  <td width="17%" align="left" style="font-family:Verdana, sans-serif; font-size:12px;"><a href="#"  onClick="dashboard_report_search(from_date.value,to_date.value)"><img src="img/search_icon.png" width="40" height="35" title="Search" value="Search" /></a></td>
</tr>
</table>
<table width="100%"  >
<tr>
<td colspan="3" align="center"><div id="dashboard_form_div"><?php include("dashboard_form.php"); ?></div></td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>