<div class="kt-content  kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">

						<!-- begin:: Subheader -->
						<div class="kt-subheader   kt-grid__item" id="kt_subheader">
							<div class="kt-container  kt-container--fluid ">
								<div class="kt-subheader__main">
									<h3 class="kt-subheader__title">
										<a href="<?php echo base_url() ?>Dashboard">	<?php echo $this->lang->line('dashboard') ?> </a></h3>
									<span class="kt-subheader__separator kt-hidden"></span>
									<div class="kt-subheader__breadcrumbs">
										<a href="#" class="kt-subheader__breadcrumbs-home"><i class="flaticon2-shelter"></i></a>
										<span class="kt-subheader__breadcrumbs-separator"></span>
										<a href="" class="kt-subheader__breadcrumbs-link">
											<?php echo $this->lang->line('add-attendance') ?> </a>
										<span class="kt-subheader__breadcrumbs-separator"></span>
									</div>
								</div>
							</div>
						</div>
						<!-- end:: Subheader -->
						<!-- begin:: Content -->
						<div class="kt-container  kt-container--fluid  kt-grid__item kt-grid__item--fluid">
							<div class="row">
								<div class="col-md-12">

									<!--begin::Portlet-->
									<div class="kt-portlet">
										<div class="kt-portlet__head">
											<div class="kt-portlet__head-label">
												<h3 class="kt-portlet__head-title">	<?php echo $this->lang->line('student') ?> 	<?php echo $this->lang->line('absent') ?></h3>
											</div>
										</div>
										<div class="kt-portlet__body">

											<!--begin::Form-->
											<form class="kt-form" method="post" action="">
												<div class="form-group row">
													<label class="col-3 col-form-label">	<?php echo $this->lang->line('date') ?></label>
													<input type="text" name="date" class="form-control datepicker_single col-9" >
												</div>
												<?php $products = $this->db->get('bills_producer')->result(); ?>
													<div class="row form-group-sub">
														<label class=" col-3 form-control-label">Select product</label>	
															<select class=" col-9 form-control" name="product_id">
															<option value=""><?php echo $this->lang->line('select');echo ' '; echo $this->lang->line('products'); ?></option>
															<?php foreach ($products as $row) {
															?>
															<option value="<?php echo  $row->id ; ?>"><?php echo  $row->name ;?></option>
															<?php } ?>	
															</select>	
													</div><?php 
												$ii=0;
													$userlist = $this->db->get('bills_user')->result();
													foreach ($userlist as $key => $value) {
												$i = $ii++?>
												<div class="form-group row">
													<label class="col-3 col-form-label"><?php echo $value->username;?></label>
													<div class="col-5">
														<div class="kt-radio-inline ">
															<label class="kt-radio kt-radio--success">
																<input type="radio" name="absent[<?php echo $value->id ;?>]" value="1" ><?php echo $this->lang->line('present') ?>
																<span></span>
															</label>
															<label class="kt-radio kt-radio--danger">
																<input type="radio" name="absent[<?php echo $value->id ;?>]" value="0"> <?php echo $this->lang->line('absent') ?>
																<span></span>
															</label>
															<label class="kt-radio kt-radio--brand">
																<input type="radio" name="absent[<?php echo $value->id ;?>]" value="2"> <?php echo $this->lang->line('late') ?> <?php echo $this->lang->line('present') ?>
																<span></span>
															</label>
														</div>
														<!-- <span class="form-text text-muted">Some help text goes here</span> -->
													</div>		
																						
												</div>
												<?php } ?>												
												<div class="kt-portlet__foot">
													<div class="kt-form__actions">
														<button type="submit" class="btn btn-primary"><?php echo $this->lang->line('submit') ?></button>
													</div>
												</div>
											</form>

											<!--end::Form-->
										</div>
									</div>

									<!--end::Portlet-->

								</div>
								
							</div>
						</div>

						<!-- end:: Content -->
					</div>

					<!-- begin:: Footer -->
					
