Sindbad~EG File Manager
<!DOCTYPE html>
<html>
<?php $this->load->view('link_css.php'); ?>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<?php $this->load->view('header.php'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Home
<small>Here</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<!--<li class="active">Here</li>-->
</ol>
</section>
<!-- Main content -->
<section class="content">
<?php if ($this->session->flashdata('succses')) : ?>
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<strong><?php echo $this->session->flashdata('succses'); ?></strong>
</div>
<?php endif; ?>
<div class="row">
<div class="col-lg-4 col-xs-12">
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
<h3><?=$jml_kontak[0]->jml?></h3>
<p>Total Kontak</p>
</div>
<div class="icon">
<i class="fa fa-phone-square"></i>
</div>
<a href="<?=base_url()?>index.php/Home/get_kontak_home/1" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<div class="col-lg-4 col-xs-12">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<h3><?=$jml_kontak_sdh_follow[0]->jml?></h3>
<p>Sudah Follow Up</p>
</div>
<div class="icon">
<i class="fa fa-check-square"></i>
</div>
<a href="<?=base_url()?>index.php/Home/get_kontak_home/2" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<div class="col-lg-4 col-xs-12">
<!-- small box -->
<div class="small-box bg-orange">
<div class="inner">
<h3><?=$jml_kontak_blm_follow[0]->jml?></h3>
<p>Belum Follow Up</p>
</div>
<div class="icon">
<i class="fa fa-warning"></i>
</div>
<a href="<?=base_url()?>index.php/Home/get_kontak_home/3" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border text-center">
<h3>Kontak Yang Harus Di Follow Up</h3>
</div>
<div class="box-body">
<div class="table-responsive">
<table id="example1" class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>No</th>
<th>Nama</th>
<th>Email</th>
<th>No. Telepon</th>
<th>Store</th>
<th>Tipe Akun</th>
<th>Jenis Barang dijual</th>
<th>Rata-rata Order</th>
<th>Tanggal kontak Masuk</th>
<th>Status</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
<?php
$i=1;
foreach ($data_kontak_blm_follow as $dkbf):
?>
<tr>
<td><?=$i?></td>
<td><?=$dkbf->nama?></td>
<td><?=$dkbf->email?></td>
<td><?=$dkbf->no_telepon?></td>
<td><?=$dkbf->nama_store?></td>
<td><?=$dkbf->tipe_akun?></td>
<td><?=$dkbf->jenis_barang_dijual?></td>
<td><?=$dkbf->rata_rata_order_perbulan?></td>
<td><?=date('d F Y - H:i:s', strtotime($dkbf->create_at))?></td>
<td>
<?php
if ($dkbf->status == NULL) {
echo "Belum Follow Up";
} else {
echo "Sudah Follow Up";
}
?>
</td>
<td>
<a href="<?=base_url()?>index.php/Home/action_follow_up/<?=$dkbf->id?>" class="btn btn-primary" title="Detail"><i class="fa fa-check margin-r-5"></i> Follow Up</a>
</td>
</tr>
<?php endforeach ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<?php $this->load->view('footer.php'); ?>
<div class="control-sidebar-bg"></div>
</div>
<?php $this->load->view('link_js.php'); ?>
<script src="<?php echo base_url(); ?>assets/plugins/chartjs/Chart.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script>
$(function () {
$('#example1').DataTable()
$('#example2').DataTable({
'paging' : true,
'lengthChange': false,
'searching' : false,
'ordering' : true,
'info' : true,
'autoWidth' : false
})
})
</script>
</body>
</html>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists