<?php echo "<b>" . sekarang() . "</b> Sampai <b>" . $kembali . "</b>"; ?> </div> <?php if ($siswa_ada) { ?> <script type="text/javascript"> $('#tmbl-pinjam').focus(); $('#tmbl-pinjam').click(function(){ $.ajax({ url:'ajax/ajax-pinjam.php?mode=pinjam&buku=<?php echo $_GET["buku"]; ?> &siswa=<?php echo $siswa->getInduk(); ?> &kembali=<?php echo $kembali; ?> ', type: 'POST', success:function(data){ $("#content").html(data); } }) }) </script> <a href="#" class="btn btn-primary" id="tmbl-pinjam">Pinjam</a> <a class="btn" href="#" data-dismiss="modal" aria-hidden="true">Batal</a> <?php }
<div class="well" style="padding: 10px;"> <a href="#" class="btn"><?php echo $member->getNama(); ?> </a> <a id="detail" href="#" class="btn" rel="popover" data-toggle="button">Detail</a> <script> $('#detail').popover({ html : 'true', placement : 'right', title : '<?php echo $member->getNama(); ?> ', content : '<table cellpadding="3" cellspacing="3"><tr><td>No Anggota</td><td>:</td><td><?php echo $member->getInduk(); ?> </td></tr><tr><td>Kelas</td><td>:</td><td><?php echo $member->getKelas() . " " . $member->getJurusan(); ?> </td></tr><tr><td>Belum Kembali</td><td>:</td><td><?php echo $member->getSedangMeminjam(); ?> </td></tr><tr><td>Semua Peminjaman</td><td>:</td><td><?php echo $member->getTotalMeminjam(); ?> </td></tr></table>' }); </script> </div> <div style="height: 415px; overflow: auto; margin-bottom:10px; border: 1px solid #E3E3E3;">