[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
tracer
/
application
/
views
/
admin_next
/
[
Home
]
File: bg_print_transkrip_nilai.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Transkrip Nilai</title> <script type="text/javascript"> function PrintPage() { document.getElementById('print').style.display = 'none'; window.resizeTo(960, 600); document.URL = ""; window.location.href = ""; window.print(); } </script> <style type="text/css" media="print"> th { font-family: Tahoma; color:black; } td { font-family: Tahoma; color:black; } .foto1 { position: fixed; left: 90px; top: 15px; } .foto2 { position: fixed; left: 240px; top: 370px; opacity: 0.2; z-index: -1; } .foto3 { position: absolute; height: 120px; width: 100px; left: 670px; top: 150px; z-index: -1; border-radius: 4px; } .tran { text-align: center; font-family: Tahoma; color:black; position: fixed; left: 250px; } .lam { text-align: center; font-family: Tahoma; color:black; position: fixed; left: 250px; top: 100px; } h2 { position: fixed; text-align: center; top: 0; left: 210px; } hr.style2 { border-top: 3px double #8c8b8b; position: fixed; } .ex1 { width: 800px; height:auto; margin: 80px 0 0 0; } .tbl1{ position: absolute; margin: 70px 0 0 0; } .tbl2{ position: absolute; margin: 70px 0 0 0; } </style> <style type="text/css" media="screen"> th { font-family: Tahoma; color:black; } td { font-family: Tahoma; color:black; } .foto1 { position: absolute; left: 300px; top: 35px; } .foto2 { position: absolute; left: 240px; top: 370px; opacity: 0.2; z-index: -1; } .foto3 { position: absolute; height: 120px; width: 100px; left: 950px; top: 150px; z-index: -1; border-radius: 4px; } .tran { text-align: center; font-family: Tahoma; color:black; position: absolute; left: 480px; top: 100px; } .lam { text-align: center; font-family: Tahoma; color:black; position: absolute; left: 480px; top: 120px; } h2 { position: absolute; text-align: center; top: 20px; left: 430px; } hr.style2 { border-top: 3px double #8c8b8b; position: absolute; margin: 80px; } .ex1 { width: 800px; height:auto; margin: 20px 0 0 0; } page { background: white; display: block; margin: 0 auto; margin-bottom: 0.5cm; box-shadow: 0 0 0.5cm rgba(0,0,0,0.5); } page[size="A4"] { width: 25cm; height: 0 auto; } .tbl1{ position: absolute; margin: 160px 0 0 50px; } .tbl2{ position: absolute; margin: 160px 0 0 50px; } .button { background-color: #4CAF50; /* Green */ color: white; padding: 5px 10px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; position: fixed; margin: 200px 0 0 500px; z-index: 1; } </style> </head> <body > <page size="A4"> <div class="ex1"> <img class="foto1" src="<?php echo base_url().'assets/images/logo.png'?>" height="60" width="80"> <?php foreach ($mhs->result_array() as $key ) { if ($key['foto']=='') { echo "<img class='foto3' src='".base_url('assets/images/photo.jpg')."' >" ; } else if ($key['foto']!=='') { echo "<img class='foto3' src='".base_url('assets/uploads/'.$key['foto'])."' >" ; } } ?> <input type="button" id="print" name="print" value="Print Transkrip Nilai" onclick="javascript:PrintPage();" class="button" /> <h2>SEKOLAH TINGGI ILMU KESEHATAN </br> ABDI NUSANTARA JAKARTA</h2> <hr class="style2" width="800px" ></hr> <p class="tran">TRANSKRIP AKADEMIK/<em> ACADEMIC TRANSCRIPT</em> </p> <p class="lam">Lampiran Ijazah/<em> Enclosure of Certificat No: <?php echo $no_ijasah;?></em> </p> <div class="tbl1"> <table width="100%" > <tr> <td>Nama/<em>Name</em></td> <td> : <?php echo $nama; ?></td> </tr> <tr> <td>Nim</td> <td> : <?php echo $nim; ?></td> </tr> <tr> <td>Tempat Tanggal Lahir/<em> Place and Date</em></td> <td> : <?php echo $ttl; ?></td> </td> </tr> <tr> <td>Program Studi</td> <td> : <?php echo $jurusan; ?></td> </tr> <tr> <td>Mulai Terdaftar</td> <td> : <?php echo $angkatan; ?> </td> </tr> </table> </div> <div class="tbl2"> <table class="table table-striped table-bordered data" cellpadding="10" cellspacing="0" width="100%" style="border-collapse: collapse;"> <thead> <tr><th> </th></tr> <tr><th> </th></tr> <tr><th> </th></tr> <tr > <th align="center">No</th> <th align="center">Kode MK</th> <th align="center">Matakuliah/<em> Course Descreption</em></th> <th align="center">SKS/<em>Credit</em></th> <th align="center">Nil/<em>Grade</em></th> <th align="center">SKS x Nil</th> </tr> </thead> <img class="foto2" src="<?php echo base_url().'assets/images/logo.png'?>" height="350" width="390"> <?php $totalNB=0; $totalSKS=0; $no=1; foreach($transkrip->result_array() as $value) { echo '<tr> <td>'. $no.'</td> <td>'. $value['kd_mk'].'</td> <td> '. $value['nama_mk'].'</td> <td align="center">'. $value['jum_sks'].' </td> <td align="center">'. $value['grade'].'</td> <td align="center">'. $value['NxH'].'</td> </tr>'; $no++; if($value['grade'] != 'T') { $totalNB +=$value['NxH']; $totalSKS+=$value['jum_sks']; } } $ip = 0; if($totalNB !=0) $ip = round($totalNB/$totalSKS, 2); echo ' <tr> <td colspan="4"><strong>Jumlah SKS yang telah diselesaikan : '.$totalSKS.' SKS</strong></td> <td colspan="4"><strong>IP Kumulatif : '.$ip.'</strong></td> </tr>'; ?> </table> </div> </div> </page> </body> </html>