[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
simkeu
/
dummy-old
/
application
/
views
/
content
/
[
Home
]
File: beranda.php
<h2 align="center" class="sub-header"><?php echo ($message)?></h2> <h3 align="center" class="sub-header"><?php echo ($head_h2)?></h3> <h3 align="center" class="sub-header"><?php echo ($per)?></h3> <div class="row"> <div class="col-sm-12"> <!-- Tombol Tambah--> <div class="affix"> <div class="table-responsive"> <table> <thead> <tr> <th> <button type="button" id="tooltip" class="btn btn-success btn-xm" data-toggle="modal" data-placement="bottom" title="Tambah <?php echo ($judul)?>" data-target="#tambah_kegiatan"> <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> PESAN KOMENTAR </button> </th> <!-- <th> </th> --> <th> <!-- --> <!-- --> </th> </tr> </thead> <!-- <tbody> <tr> <td> </td> </tr> </tbody> --> </table> </div> </div> <!-- Ent Tombol --> <!-- Modal Tambah--> <div class="modal fade" id="tambah_kegiatan" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">INPUT <?php echo ($judul)?></h4> </div> <!-- Pemindahan Form diatas modal-body <?=$act11a?>--> <form class="form-horizontal" role="form" method="post" action="<?=$tambah?>"> <div class="modal-body"> <!-- --> <div class="form-group"> <label for="inputName" class="col-sm-4 control-label">Pengirim</label> <div class="col-sm-6"> <input name="nama" type="text" class="form-control" id="inputName" placeholder="Pengirim"> </div> </div> <div class="form-group"> <label for="inputName" class="col-sm-4 control-label">Subjek Item</label> <div class="col-sm-6"> <!-- <input name="subjek" type="text" class="form-control" id="inputName" placeholder="Subjek"> --> <select class="form-control" name="subjek"> <?php foreach($getitem as $data0) { echo '<option value="'.$data0->id.'">'.$data0->item.'</option>'; } ?> </select> </div> </div> <div class="form-group"> <label for="inputName" class="col-sm-4 control-label">Isi Komentar</label> <div class="col-sm-6"> <textarea name="komentar" type="text" class="form-control" id="inputName" rows="5"></textarea> </div> </div> <!-- --> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">TUTUP</button> <button type="submit button" class="btn btn-primary">SIMPAN</button> </div> </div> </form> <!-- Pemindahan Tutup Form --> </div> </div> <!-- End Tambah --> <div class="row"> <div class="col-xs-2 col-sm-3"> <!-- ddevider --> <div> <!-- space --> </div> </div> <!-- BATAS TOP --> <div class=".col-xs-10"> <!-- Table ITEM --> <br> <h3 class="sub-header">TABEL <?php echo ($judul0)?></h3> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr class="info"> <th>Nomor</th> <th>Item</th> <th>Modul</th> <th>Level</th> <th>Progress(%)</th> <!-- <th align="justify">Menu</th> --> </tr> </thead> <tbody> <?php if ($isi->num_rows()>0){ $nomor=1; foreach ($isi->result() as $key) { ?> <tr> <td><?=$nomor?></td> <td><?=$key->item?></td> <td><?=$key->modul?></td> <td align="right"><?=$key->level?></td> <td align="center"><?=$key->progress?></td> <td> </td> </tr> <?php $nomor++;} } ?> </tbody> </table> </div> <!-- End Table --> </div> <!-- --> <div class="col-sm-3"> <p class="sub-header">Keterangan Level (Tingkat Kesulitan)</p> <table id="example" class="display table table-bordered" cellspacing="0" width="30%" style="font-size: 75%"> <thead> <tr> <th>LEVEL</th> <th>KETERANGAN</th> </tr> </thead> <tbody> <tr> <td>1</td> <td align="center">Lama Pengerjaan < 1 hari </td> </tr> <tr> <td>2</td> <td align="center">Lama Pengerjaan 1 s/d 3 hari</td> </tr> <tr> <td>3</td> <td align="center">Lama Pengerjaan > 3 hari </td> </tr> </tbody> </table> </div> <div class="col-sm-9"></div> <!-- --> <!-- Batas antar tabel ITEM dan tabel KOMENTAR --> </div> <h3 class="sub-header">TABEL <?php echo ($judul)?></h3> <div class="table-responsive"> <table class="table table-striped" id="isi" cellspacing="0" width="70%"> <thead> <tr class="info"> <th>Nomor</th> <th>Tanggal</th> <th>Pengirim</th> <th>Nomor Item</th> <th>Item Terkait</th> <th>Isi Komentar</th> </tr> </thead> <?php if ($isi_com->num_rows()>0){ $no=1; foreach ($isi_com->result() as $key) { $dpt_item = $this->Mprogress->get_namaitem($key->subjek)->row()->item; ?> <tbody> <tr> <td align="center"><?=$no?></td> <td><?=$key->tanggal?></td> <td><?=$key->nama?></td> <td align="center"><?=$key->subjek?></td> <td><?=$dpt_item?></td> <td><?=$key->komentar?></td> <td></td> </tr> <?php $no++;} }else{ echo 'DATA KOMENTAR KOSONG'; } ?> </tbody> </table> </div> <!-- End Table -->