                <!-- Main content -->
                <section class="content">
<div class="row" style="text-align: center">
    <div class="col-lg-5" style=" float: none;margin: 0 auto">
        <div class="box box-solid box-danger">
                                 <div class="box-header">
                                    <h3 class="box-title">Lisensi Anda Telah Habis</h3>
                                </div>

                  <div class="box-body">
 <table class="table table-bordered" style="text-align: left;">  
                        <tbody>  
                          <?php
                         
                          $user = $db->fetch_single_row("config_user","id",1);
                          $data_msg_server = fetch_curl(service_url('exp_check_sp')."?kode_pt=".$user->id_sp);
                          $status_lisensi = '<span class="badge bg-green"> AKTIF</span>';
                          if ($data_msg_server->exp_date < date('Y-m-d')) {
                              $status_lisensi = '<span class="badge bg-red"> Expired</span>';
                          }
                          ?>
                          <tr>  
                                <td>Nama Aplikasi</td>  
                                <td>Feeder Importer Premium</td>  
                            </tr>  
                            <tr>  
                                <td>Nama PT</td>  
                                <td><?=$user->nama_pt;?></td>  
                            </tr>  
                            <tr>  
                                <td>Lisensi Berlaku S/d</td>  
                                <td><span class="badge bg-aqua"><?=tgl_indo($data_msg_server->exp_date);?></span></td>  
                            </tr>  
                            <tr>  
                                <td>Status</td>  
                                <td><?=$status_lisensi;?></td>  
                            </tr>  
                             <tr>  
                                <td colspan="2"><b>KONTAK KAMI</b></td>  
                            </tr> 
                            <tr>
                              <td>No HP</td><td>081395070845</td>
                            </tr> 
                            <tr>
                              <td>Email</td><td>wildannudin@gmail.com</td>
                            </tr> 
                            <tr>
                                <td colspan="2">
                                    Untuk memperpanjang lisensi silakan klik tombol Perpanjang, atau Klik Refresh Jika sudah Di diperpanjang atau lisensi masih aktif.
                                </td>
                            </tr>
                        </tbody>  
                    </table> 
                    <p>
<form method="post" action="" class="form-horizontal">


<input type="hidden" name="refresh" value="refresh">
                      <div class="form-group">
                        <div class="col-lg-12">
                            <a href="https://feeder-importer.com/dashboard" target="_blank" class="btn btn-success"><i class="fa fa-hand-o-up"></i> Perpanjang Lisensi</a>  
                          <button class="btn btn-primary" type="submit"><i class="fa fa-refresh"></i> Refresh</span>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
                  </div>
                  </div>
              </div>
</div>
                </section><!-- /.content -->