<?php defined('BASEPATH') or exit('No direct access is allowed');?>



<!-- <div class="col-md-12 padding_sidebar">
  <div class="row" style="margin-right:0px ;margin-left:0px;">
   <div class="col-md-9 col-md-offset-3">

 <img class="img-responsive" style="margin-top:70px;" src="<?=base_url('assets/coming_soon.png');?>"></img>
  </div>
</div>
</div>
</div>

</div> -->


<?php defined('BASEPATH')or exit("NO DIRECT ACCESS iS ALLOWED");?>

					<div class="col-md-12 padding_sidebar">
            <div class="row" style="margin-right:0px ;margin-left:0px;">
            		<div class="card-head profile-categories_bread"><header>Account Balance <i class="fa fa-fw fa-inr"></i> <?=$list[0]->current_amount;?></header>
            		<div class="pull-left"><?php echo  $link;?></div>
                		 <ol class="breadcrumb page-breadcrumb pull-right">
                        <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="<?=site_url("Teacher")?>">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                        </li>
                        <li class="active">Account Status</li>
                     </ol>
            			<div class="pull-left">
            			  <a href="#" class="btn btn-sm btn-social btn-github pull-right button_collapse">
        						<i class="fa fa-fw fa-search  text-green"></i>Search</a>
            			</div>
                </div>
                <div class="card card-topline-purple">
                	<div class="card-head"></div>
                  <div class="table-responsive">
                     <div id="tableContainer2" class="container-tb">
                       <table class="table table_containers">
                      <thead>
                        <tr>
													<th>#</th>
													<th>Amount</th>
													<th>Date</th>
													<th>Time</th>
                        </tr>
                      </thead>
                       <tbody>
                       <?php if( count($list) ):$sn=1;
                          $count = $this->uri->segment(4);
                          foreach($list as $lists ): ?>
                        <tr <?php if(($today>=$stars)&&($today<$ends)){ ?>style="background-color:#bfcadacf;"<?php }?>>
													<td><?php echo  ucfirst($sn);?></td>
													<td><i class="fa fa-fw fa-inr"></i> <?php echo  $lists->amount_add;?></td>
													<td><?php echo  date('d-M-Y | l',strtotime($lists->wallet_add_date_time));?></td>
													<td><?php echo  date('g:i A',strtotime($lists->wallet_add_date_time));?></td>
                        </tr>
                    		<?php $sn++;unset($json2);unset($user_id);unset($user_url);unset($stars);unset($ends);unset($today);unset($a);?>
                        <?php endforeach; ?>
                        <?php else : ?>
                        <tr><td><a href="#">No Record Found</a></td></tr>
                         <?php endif; ?>
                      </tbody><?php $count++; ?>
                  </table>
                  </div>
                  </div>
            </div>
            </div>
				</div>
      </div>
		</div>

	<!-- <div class='wrap_search'>
	<div class='content content_pop'>
		<div class="col-md-12">
			  <?=form_open('Student/past-classes');?>
				<div class="col-md-10">
					<div class="col-md-2  padding_20 emp_style">
						<select id='sel_category' class="form-control input-sm" name="subject" >
								<option value="" >Select Subject</option>
								<?php
							/*	foreach($subject as $category1){
									echo "<option value='".$category1['id']."'>".strtoupper($category1['category_code'].$category1['class_code'].$category1['subject_code'])." | ".strtoupper($category1['subject'])."</option>";
								} */
								?>
						</select>
					</div>
					<div class="col-md-2">
						<div class="col-md-12  padding_20 emp_style">
							 <input type="text" name="dates" class="form-control " id="reservation">
						</div>
				  </div>
					<div class="col-md-2">
						<div class="col-md-12  padding_20 emp_style">
							 <select name="seach_term" class="form-control ">
								<option value="or">OR</option>
								 <option value="and">AND</option>
							 </select>
						</div>
				  </div>
					<div class="col-md-2">
						<div class="col-md-12  padding_20 emp_style">
							 <select name="order_by" class="form-control ">
								 <option value="asc">Ascending</option>
								 <option value="desc">Desending</option>
							 </select>
						</div>
				  </div>
					<div class="col-md-2  btn_mrgin1 emp_style">
						<?php echo form_submit('search','search',['class'=>'btn btn-primary btn_mrgin btn-sm']);?>
					</div>
				</div>
			<?php echo form_close();?>
			</div>
	</div>
</div> -->


<!-- <script type="text/javascript">
	function hello(html){alert();
  //  $('#pop2').empty();
     $('#pop2').append(html);
}
</script> -->
