<?php echo $header; ?><?php echo $column_left; ?>
<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <div class="pull-right">
        <a onclick="$('#form').submit();" data-toggle="tooltip" title="<?php echo $button_download; ?>" class="btn btn-primary"><i class="fa fa-download"></i></a>
        <a href="<?php echo $cancel; ?>" data-toggle="tooltip" title="<?php echo $button_cancel; ?>" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
      <h1><?php echo $heading_title; ?></h1>
	  <ul class="breadcrumb">
		<?php foreach ($breadcrumbs as $breadcrumb) { ?>
		<li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
		<?php } ?>
	  </ul>
    </div>
  </div>
  <div class="container-fluid">
    <?php if ($warning) { ?>
    <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> <?php echo $warning; ?>
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    <?php } ?>

  <div class="panel panel-default">
    <div class="panel-heading">
      <h3 class="panel-title"><i class="fa fa-pencil"></i> <?php echo $text_edit; ?></h3>
    </div>
    <div class="panel-body">
      <form action="<?php echo $download; ?>" method="post" enctype="multipart/form-data" id="form" name="form" id="form-gpf" class="form-horizontal">
              <div class="form-group">
                <label class="col-sm-3 control-label"><span data-toggle="tooltip" title="<?php echo $help_date_from; ?>"><?php echo $entry_date_from; ?></span></label>
                <div class="col-sm-3">
                  <div class="input-group date">
                    <input type="text" name="date_from" value="<?php echo $date_from; ?>" placeholder="YYYY=MM-DD" data-format="YYYY-MM-DD" id="input-date-from" class="form-control" />
                    <span class="input-group-btn">
                    <button class="btn btn-default" type="button"><i class="fa fa-calendar"></i></button>
                    </span></div>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-3 control-label"><span data-toggle="tooltip" title="<?php echo $help_date_to; ?>"><?php echo $entry_date_to; ?></span></label>
                <div class="col-sm-3">
                  <div class="input-group date">
                    <input type="text" name="date_to" value="<?php echo $date_to; ?>" placeholder="YYYY=MM-DD" data-format="YYYY-MM-DD" id="input-date-to" class="form-control" />
                    <span class="input-group-btn">
                    <button class="btn btn-default" type="button"><i class="fa fa-calendar"></i></button>
                    </span></div>
                </div>
              </div>
	  </form>
    </div>
  </div>
</div>

</div>

<script type="text/javascript"><!--
$('.date').datetimepicker({
	pickTime: false
});

$('.time').datetimepicker({
	pickDate: false
});

$('.datetime').datetimepicker({
	pickDate: true,
	pickTime: true
});
//--></script> 

<?php echo $footer; ?>