예제 #1
0
function TampilkanHeaderKecil($w, $mnux = 'mhswkeu.det', $gos = '', $pil = 1)
{
    global $arrID;
    $foto = FileFotoMhsw($w['MhswID'], $w['Foto']);
    $strpil = $pil == 0 ? '' : "<tr><td class=ul colspan=2>Pilihan: <a href='?mnux={$mnux}'>Kembali ke Daftar Mhsw</a> |\r\n    <a href='?{$_SERVER['QUERY_STRING']}&UkuranHeader=Besar'>Besarkan</a>";
    // Tampilkan
    echo "<p><table class=box cellspacing=2 cellpadding=4>\r\n  <tr><th class=ttl>Mahasiswa</th><th class=ttl>Program/Program Studi</th></tr>\r\n  <tr><td class=ul>{$w['MhswID']}: <b>{$w['Nama']}</b></td>\r\n    <td class=ul><b>{$w['PRG']}</b> ({$w['ProgramID']}) - <b>{$w['PRD']}</b> ({$w['ProdiID']})</td></tr>\r\n    {$strpil}\r\n    </td></tr>\r\n  </table></p>";
}
예제 #2
0
function TampilkanHeaderBesar($w, $mnux = 'mhswkeu.det', $gos = '', $pil = 1)
{
    global $arrID;
    $foto = FileFotoMhsw($w['MhswID'], $w['Foto']);
    // Tampilkan
    $pa = GetaField('dosen', 'Login', $w['PenasehatAkademik'], "concat(Nama, ', ', Gelar, ' (', Login, ')')");
    echo "<p>\n  <table class=box cellspacing=2 cellpadding=4>\n\t<tr>\n\t\t<td class=inp1 colspan=4><b>Data Mahasiswa</b></td>\n\t\t<td class=box rowspan=7 style='padding: 2pt'><img src='{$foto}' width=120 height=150></td>\n\t</tr>\n\t<tr>\n\t\t<td class=inp>NPM</td><td class=ul><b>{$w['MhswID']}</b></td>\n\t\t<td class=inp>Nama</td><td class=ul><b>{$w['Nama']}</b></td>\n\t</tr>\n\t<tr>\n\t\t<td class=inp>Program</td><td class=ul><b>{$w['PRG']}</b> ({$w['ProgramID']})</td>\n\t\t<td class=inp>Program Studi</td><td class=ul><b>{$w['PRD']}</b> ({$w['ProdiID']})</td>\n\t</tr>\n\t<tr>\n\t\t<td class=inp>Master Biaya & Potongan</td><td class=ul><b>{$w['BPT']}&nbsp;</td>\n\t\t<td class=inp>Penasehat Akademik</td><td class=ul><b>{$pa}</b>&nbsp;</td>\n\t</tr>\n  </table></p>";
}
예제 #3
0
function TampilkanHeaderMhsw($w)
{
    $foto = FileFotoMhsw($w['MhswID'], $w['Foto']);
    // Tampilkan
    if ($_SESSION['_LevelID'] == 120) {
        // Mahasiswa
        $btn1 = "";
    } else {
        $btn1 = "<input type=button name='GantiFoto' value='Ganti Foto' onClick=\"location='?mhswbck={$_SESSION['mnux']}&mnux=master/mhsw.foto&mhswid={$w['MhswID']}'\" />";
    }
    echo "<p><table class=box cellspacing=2 cellpadding=4 width=600>\r\n  <tr><td class=inp width=100>NPM</td>\r\n     <td class=ul><b>{$w['MhswID']}</b></td>\r\n     <td class=box rowspan=6 style='padding: 2pt' align=center width=124>\r\n     <img src='{$foto}' height=120></td>\r\n     </tr>\r\n\r\n  <tr><td class=inp>Nama</td>\r\n      <td class=ul><b>{$w['Nama']}</b></td></tr>\r\n  <tr><td class=inp>Program</td>\r\n      <td class=ul>{$w['ProgramID']} - <b>{$w['PRG']}</b></td></tr>\r\n  <tr><td class=inp>Program Studi</td>\r\n      <td class=ul>{$w['ProdiID']} - <b>{$w['PRD']}</b></td></tr>\r\n  <tr><td class=inp>Pilihan</td>\r\n      <td class=ul>\r\n      <input type=button name='Kembali' value='Kembali ke Daftar'\r\n        onClick=\"location='?mnux=master/mhsw'\" />\r\n      {$btn1}\r\n      <input type=button name='CetakMhsw' value='Cetak Data'\r\n\t    onClick=\"CetakData('{$w['MhswID']}')\" />\r\n\t  </td></tr>\r\n  </table>\r\n  <script>\r\n\tfunction CetakData(id)\r\n\t{\tlnk = \"{$_SESSION['mnux']}.cetak.php?MhswID=\"+id;\r\n\t\t  win2 = window.open(lnk, \"\", \"width=600, height=400, scrollbars, status\");\r\n\t\t  if (win2.opener == null) childWindow.opener = self;\r\n\t}\r\n  </script>";
}
예제 #4
0
<?php

// Author : Eksansilus
// 20 Oktober 2012
// www.sisfojpteupi.net
include "db.mysql.php";
include "connectdb.php";
include "xth.lib.php";
include "parameter.php";
include "cekparam.php";
?>

<HTML xmlns="http://www.w3.org/1999/xhtml">
  <HEAD><TITLE><?php 
echo $_Institution;
?>
</TITLE>
  <META content="Emanuel Setio Dewo" name="author">
  <META content="Sisfo Kampus" name="description">
  <link href="index.css" rel="stylesheet" type="text/css">
  </HEAD>
<BODY>

<?php 
$MhswID = $_REQUEST['mhswid'];
$FotoID = $_REQUEST['foto'];
$foto = FileFotoMhsw($MhswID, $FotoID);
// Tampilkan
echo "<p><table class=box cellspacing=2 cellpadding=4>\n    <td class=box style='padding: 2pt'><img src='{$foto}' width=120 height=150></td></tr>\n  </table>";
예제 #5
0
function TampilkanHeaderMhsw($w)
{
    $foto = FileFotoMhsw($w['MhswID'], $w['Foto']);
    // Tampilkan
    echo "<p><table class=box cellspacing=2 cellpadding=4>\r\n  <tr><td class=ul colspan=2><b>Data Mahasiswa</b></td>\r\n    <td class=box rowspan=6 style='padding: 2pt'><img src='{$foto}' width=120 height=150></td></tr>\r\n  <tr><td class=ul>NPM</td><td class=ul><b>{$w['MhswID']}</b></td></tr>\r\n\r\n  <tr><td class=ul>Nama</td><td class=ul><b>{$w['Nama']}</b></td></tr>\r\n  <tr><td class=ul>Program</td><td class=ul>{$w['ProgramID']} - <b>{$w['PRG']}</b></td></tr>\r\n  <tr><td class=ul>Program Studi</td><td class=ul>{$w['ProdiID']} - <b>{$w['PRD']}</b></td></tr>\r\n  <tr><td class=ul>Pilihan</td><td class=ul><a href='?mnux=mhsw'>Kembali ke Daftar Mhsw</a> |\r\n    <a href='?mnux=mhsw.foto&mhswid={$w['MhswID']}'>Ganti Foto</a>\r\n    </td></tr>\r\n  </table>";
}
예제 #6
0
function TampilkanHeader($w)
{
    $foto = FileFotoMhsw($w, $w['Foto']);
    echo "<p><table class=box cellspacing=2 cellpadding=4 width=600>\r\n\r\n  <tr><td class=inp width=100>NPM</td>\r\n      <td class=ul><b>{$w['MhswID']}</td>\r\n      <td rowspan=7 class=box width=124 style='padding: 2pt' align=center valign=middle>\r\n      <img src='{$foto}' height=120 /></td>\r\n      </tr>\r\n\r\n  <tr><td class=inp>Nama</td>\r\n      <td class=ul><b>{$w['Nama']}</td></tr>\r\n  <tr><td class=inp>Program</td>\r\n      <td class=ul><b>{$w['ProgramID']}</td></tr>\r\n  <tr><td class=inp>Program Studi</td>\r\n      <td class=ul><b>{$w['ProdiID']}</td></tr>\r\n  <tr><td class=inp>File Foto</td>\r\n      <td class=ul>{$w['Foto']}</td></tr>\r\n  <tr><td class=inp>Pilihan</td>\r\n      <td class=ul>\r\n        <input type=button name='Kembali' value='Kembali ke Data Mhsw'\r\n          onClick=\"location='?mnux=master/mhsw.edt&mhswid={$w['MhswID']}'\" />\r\n      </td></tr>\r\n  </table></p>";
}
예제 #7
0
function TampilkanHeader($w)
{
    $foto = FileFotoMhsw($w, $w['Foto']);
    echo "<p><table class=box cellspacing=2 cellpadding=4>\n  <tr><td colspan=2 class=ul><b>Data Mahasiswa</td>\n    <td rowspan=7 class=box style='padding: 2pt'><img src='{$foto}'></td></tr>\n  <tr><td class=ul>NPM</td><td class=ul><b>{$w['MhswID']}</td></tr>\n\n  <tr><td class=ul>Nama</td><td class=ul><b>{$w['Nama']}</td></tr>\n  <tr><td class=ul>Program</td><td class=ul><b>{$w['ProgramID']}</td></tr>\n  <tr><td class=ul>Program Studi</td><td class=ul><b>{$w['ProdiID']}</td></tr>\n  <tr><td class=ul>File Foto</td><td class=ul>{$w['Foto']}</td></tr>\n  <tr><td class=ul>Pilihan</td><td class=ul><a href='?mnux=modules/me.mhsw.edt&mhswid={$w['MhswID']}'>Kembali ke data mahasiswa</a></td></tr>\n  </table></p>";
}