当前位置: 首页>>代码示例>>PHP>>正文


PHP GetProdiUser函数代码示例

本文整理汇总了PHP中GetProdiUser函数的典型用法代码示例。如果您正苦于以下问题:PHP GetProdiUser函数的具体用法?PHP GetProdiUser怎么用?PHP GetProdiUser使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了GetProdiUser函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: TampilkanHeader

function TampilkanHeader()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    CheckFormScript('TahunID,ProdiID,Angkatan');
    $Sekarang = date('Y-m-d-H-i');
    echo <<<SELESAI
  <table class=box cellspacing=1 align=center>
  <form action='{$_SESSION['mnux']}.cetak.php' method=POST target=_blank onSubmit='return CheckForm(this)'>
  <input type=hidden name='gos' value='CetakKHS' />
  <input type=hidden name='BypassMenu' value='1' />
  <input type=hidden name='Sekarang' value='{$Sekarang}' />
  <tr><td class=wrn width=2 rowspan=3></td>
      <td class=inp>Tahun Akademik:</td>
      <td class=ul><input type=text name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=5 /></td>
      <td class=inp>Program Studi:</td>
      <td class=ul><select name='ProdiID'>{$optprodi}</select></td>
      </tr>
  <tr><td class=inp>Angkatan Mhsw:</td>
      <td class=ul><input type=text name='Angkatan' value='{$_SESSION['Angkatan']}' size=5 maxlength=5 /> atau:</td>
      <td class=inp>Mahasiswa:</td>
      <td class=ul colspan=2 nowrap>
      <input type=text name='MhswID' value='{$_SESSION['MhswID']}' size=20 maxlength=50 />
      <input type=submit name='Cetak' value='Cetak KHS' /><br />
      *) Kosongkan jika ingin mencetak 1 angkatan
      </td>
      </tr>
  </form>
  </table>
  </p>
SELESAI;
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:31,代码来源:khs.php

示例2: TampilkanFilter

function TampilkanFilter()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['FilterProdiID']);
    echo "<table class=box cellspacing=1 align=center width=940>\r\n  <form name='frmFilterKomprehensif' action='?' method=POST>\r\n  <input type=hidden name='gos' value='' />\r\n  <input type=hidden name='komprepage' value='1' />\r\n  <tr>\r\n      <td class=inp>Tahun Akd:</td>\r\n      <td class=ul><input type=text name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=5 /></td>\r\n      <td class=inp>Filter Prodi:</td>\r\n      <td class=ul><select name='FilterProdiID' onChange='this.form.submit()'>{$optprodi}</select></td>\r\n      </tr>\r\n  <tr><td class=inp>Cari NIM:</td>\r\n      <td class=ul><input type=text name='FilterMhswID' value='{$_SESSION['FilterMhswID']}' size=20 maxlength=20 /></td>\r\n      <td class=inp>Cari Nama:</td>\r\n      <td class=ul><input type=text name='FilterNamaMhsw' value='{$_SESSION['FilterNamaMhsw']}' size=20 maxlength=20 /></td>\r\n      </tr>\r\n  <tr>\r\n      <td class=ul colspan=4 align=center>\r\n        <input type=submit name='Cari' value='Cari Data' />\r\n        <input type=button name='ResetFilter' value='Reset Filter'\r\n          onClick=\"location='?mnux={$_SESSION['mnux']}&gos=&TahunID=&FilterProdiID=&FilterMhswID=&FilterNamaMhsw='\" />\r\n        &#9655;&#9654;\r\n        <input type=button name='DaftarkanMhswKomprehensif' value='Daftarkan Komprehensif Mhsw'\r\n          onClick=\"javascript:KomprehensifEdit(1,0)\" />\r\n\t\t<input type=button name='SetupKompre' value='Setup Komprehensif'\r\n          onClick=\"javascript:SetupKomprehensif()\" />\r\n\t  <br>\r\n\t\t<input type=button name='CetakFormKompre' value='Cetak Formulir'\r\n          onClick=\"javascript:CetakForm()\" />\r\n\t\t<input type=button name='CetakJadwalKompre' value='Cetak Jadwal'\r\n          onClick=\"javascript:CetakJadwal()\" />\r\n\t\t<input type=button name='CetakJadwalKomprePerHari' value='Cetak Jadwal Per Hari'\r\n\t\t  onClick=\"javascript:CetakJadwalPerHari()\" />\r\n      </td>\r\n      </tr>\r\n  </form>\r\n  </table>";
    RandomStringScript();
    echo <<<SCR
  <script>
\t  function KomprehensifEdit(md,id) {
\t\t  _rnd = randomString();
\t\t  lnk = "{$_SESSION['mnux']}.edit.php?md="+md+"&_rnd="+_rnd+"&KompreID="+id;
\t\t  win2 = window.open(lnk, "", "width=700, height=500, scrollbars, status");
\t\t  if (win2.opener == null) childWindow.opener = self;
\t  }
\t  function EditJadwal(md,id,prodi) {
\t\t_rnd = randomString();
\t\tlnk = "{$_SESSION['mnux']}.jadwal.php?md="+md+"&_rnd="+_rnd+"&KompreID="+id+"&ProdiID="+prodi;
\t\twin2 = window.open(lnk, "", "width=1000, height=500, scrollbars, status");
\t\twin2.moveTo(100,100);
\t\tif (win2.opener == null) childWindow.opener = self;
\t  }
\t  function DetailKompre(md,id,prodi) {
\t\t\t_rnd = randomString();
\t\t\tlnk = "{$_SESSION['mnux']}.nilai.php?md="+md+"&_rnd="+_rnd+"&KompreID="+id+"&ProdiID="+prodi;
\t\t\twin2 = window.open(lnk, "detail", "width=500, height=500, scrollbars, status");
\t\t\twin2.moveTo(100,100);
\t\t\tif (win2.opener == null) childWindow.opener = self;
\t  }
\t  function CetakKomprehensif() {
\t\t_rnd = randomString();
\t\tlnk = "{$_SESSION['mnux']}.cetak.php?TahunID={$_SESSION['TahunID']}&_rnd="+_rnd;
\t\twin2 = window.open(lnk, "", "width=700, height=600, scrollbars, status");
\t\tif (win2.opener == null) childWindow.opener = self;
\t  }
\t  function CetakForm() {
\t\t_rnd = randomString();
\t\tlnk = "{$_SESSION['mnux']}.cetakformulir.php?ProdiID={$_SESSION['FilterProdiID']}&_rnd="+_rnd;
\t\twin2 = window.open(lnk, "", "width=800, height=600, scrollbars, status, resizable");
\t\tif (win2.opener == null) childWindow.opener = self;
\t  }
\t  function CetakJadwal() {
\t\t_rnd = randomString();
\t\tlnk = "{$_SESSION['mnux']}.cetakJadwal.php?_rnd="+_rnd+"TahunID={$_SESSION['TahunID']}&ProdiID={$_SESSION['FilterProdiID']}";
\t\twin2 = window.open(lnk, "cetakJ", "width=700, height=600, scrollbars, status, resizable");
\t\tif (win2.opener == null) childWindow.opener = self;
\t  }
\t  function CetakJadwalPerHari() {
\t\t_rnd = randomString();
\t\tlnk = "{$_SESSION['mnux']}.cetakjadwalperhari.php?_rnd="+_rnd+"TahunID={$_SESSION['TahunID']}&ProdiID={$_SESSION['FilterProdiID']}";
\t\twin2 = window.open(lnk, "", "width=700, height=600, scrollbars, status, resizable");
\t\tif (win2.opener == null) childWindow.opener = self;
\t  }
\t  function SetupKomprehensif() {
\t\t_rnd = randomString();
\t\tlnk = "{$_SESSION['mnux']}.setup.php?TahunID={$_SESSION['TahunID']}&_rnd="+_rnd;
\t\twin2 = window.open(lnk, "", "width=800, height=600, scrollbars, status");
\t\tif (win2.opener == null) childWindow.opener = self;
\t  }
  </script>
SCR;
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:60,代码来源:komprehensif.php

示例3: TampilkanFilter

function TampilkanFilter()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['FilterProdiID']);
    echo "<table class=box cellspacing=1 align=center width=940>\n  <form name='frmFilterPraktek' action='?' method=POST>\n  <input type=hidden name='gos' value='' />\n  <input type=hidden name='praktekpage' value='1' />\n  <tr>\n      <td class=inp>Tahun Akd:</td>\n      <td class=ul><input type=text name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=5 /></td>\n      <td class=inp>Filter Prodi:</td>\n      <td class=ul><select name='FilterProdiID' onChange='this.form.submit()'>{$optprodi}</select></td>\n      </tr>\n  <tr><td class=inp>Cari NIM:</td>\n      <td class=ul><input type=text name='FilterMhswID' value='{$_SESSION['FilterMhswID']}' size=20 maxlength=20 /></td>\n      <td class=inp>Cari Nama:</td>\n      <td class=ul><input type=text name='FilterNamaMhsw' value='{$_SESSION['FilterNamaMhsw']}' size=20 maxlength=20 /></td>\n      </tr>\n  <tr>\n      <td class=ul colspan=4 align=center>\n        <input type=submit name='Cari' value='Cari Data' />\n        <input type=button name='ResetFilter' value='Reset Filter'\n          onClick=\"location='?mnux={$_SESSION['mnux']}&gos=&TahunID=&FilterProdiID=&FilterMhswID=&FilterNamaMhsw='\" />\n        &#9655;&#9654;\n        <input type=button name='DaftarkanPraktekMhsw' value='Daftarkan Praktek Kerja Mhsw'\n          onClick=\"javascript:PraktekEdit(1,0)\" />\n        <input type=button name='CetakDaftarPraktek' value='Cetak Daftar Praktek Kerja'\n          onClick=\"javascript:CetakPraktek()\" />\n      </td>\n      </tr>\n  </form>\n  </table>";
    RandomStringScript();
    echo <<<SCR
  <script>
  <!--
  function PraktekEdit(md,id) {
    if (frmFilterPraktek.FilterProdiID.value == '') alert("Pilihan Program Studi terlebih dahulu");
    else {
      _rnd = randomString();
      lnk = "{$_SESSION['mnux']}.edit.php?md="+md+"&PraktekKerjaID="+id+"&ProdiID="+frmFilterPraktek.FilterProdiID.value+"&_rnd="+_rnd;
      win2 = window.open(lnk, "", "width=700, height=600, scrollbars, status");
      if (win2.opener == null) childWindow.opener = self;
    }
  }
  function CetakPraktek() {
    _rnd = randomString();
    lnk = "{$_SESSION['mnux']}.cetak.php?TahunID={$_SESSION['TahunID']}&_rnd="+_rnd;
    win2 = window.open(lnk, "", "width=700, height=600, scrollbars, status");
    if (win2.opener == null) childWindow.opener = self;
  }
  function fnKelulusan(id) {
    _rnd = randomString();
    lnk = "{$_SESSION['mnux']}.lulus.php?_rnd="+_rnd+"&PraktekKerjaID="+id;
    win2 = window.open(lnk, "", "width=700, height=400, scrollbars, status");
    if (win2.opener == null) childWindow.opener = self;
  }
  //-->
  </script>
SCR;
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:33,代码来源:praktek.php

示例4: TampilkanHeaderPenilaian

function TampilkanHeaderPenilaian()
{
    $s = "select DISTINCT(TahunID) from tahun where KodeID='" . KodeID . "' order by TahunID DESC";
    $r = _query($s);
    $opttahun = "<option value=''></option>";
    while ($w = _fetch_array($r)) {
        $ck = $w['TahunID'] == $_SESSION['TahunID'] ? "selected" : '';
        $opttahun .= "<option value='{$w['TahunID']}' {$ck}>{$w['TahunID']}</option>";
    }
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    if (!empty($_SESSION['TahunID']) && !empty($_SESSION['ProdiID']) && $_SESSION['_LevelID'] != 100) {
        $ExportXL = "<input type=button name='ExportXL' value='Export ke XL (untuk SMS)'\r\n        onClick=\"location='{$_SESSION['mnux']}.exportxl.php?TahunID={$_SESSION['TahunID']}&ProdiID={$_SESSION['ProdiID']}'\" />";
    } else {
        $ExportXL = '';
    }
    $CetakBelumAdaUAS = "<input type=button name='BelumAdaUAS' value='Cetak Dosen Yang Belum Entry Nilai UAS'\r\n\t\tonClick=\"CetakBelumUAS('{$_SESSION['TahunID']}', '{$_SESSION['ProdiID']}')\">";
    // Jika dosen yg login
    if ($_SESSION['_LevelID'] == 100) {
        $frmProdi = '';
    } else {
        // Jika staff
        $frmProdi = "\r\n      <td class=inp>Program Studi:</td>\r\n      <td class=ul nowrap>\r\n        <select name='ProdiID' onChange='this.form.submit()'>{$optprodi}</select>\r\n      </td>";
    }
    echo "\r\n  <script>\r\n\t\r\n\tfunction CetakBelumUAS(thn, prd) {\r\n      lnk = \"{$_SESSION['mnux']}.takadauas.php?TahunID=\"+thn+\"&ProdiID=\"+prd;\r\n      win2 = window.open(lnk, \"\", \"width=800, height=600, scrollbars, status\");\r\n      if (win2.opener == null) childWindow.opener = self;\r\n\t}\r\n  </script>\r\n  <table class=box cellspacing=1 align=center>\r\n  <form action='?' method=POST>\r\n  <input type=hidden name='mnux' value='{$_SESSION['mnux']}' />\r\n  <input type=hidden name='gos' value='' />\r\n  \r\n  <tr><td class=wrn rowspan=2 width=2></td>\r\n      <td class=inp>Tahun Akd:</td>\r\n      <td class=ul><select name='TahunID' />{$opttahun}</td>\r\n      \r\n      {$frmProdi}\r\n      <td class=ul>\r\n        <input type=submit name='Tampilkan' value='Tampilkan' />\r\n        </td>\r\n      </tr>\r\n  <tr><td class=ul colspan=5 align=center>\r\n      {$ExportXL} {$CetakBelumAdaUAS}\r\n      </td></tr>\r\n  \r\n  </form>\r\n  </table>";
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:25,代码来源:nilai.php

示例5: DataQuota

function DataQuota($gel)
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    $whr_prodi = empty($_SESSION['ProdiID']) ? '' : "and ProdiID='{$_SESSION['ProdiID']}'";
    EditQuotaScript();
    CheckFormScript('TahunID,ProdiID');
    echo "<p>\n  <table class=box cellspacing=1 align=center>\n  <form action='?' method=POST onSubmit='return CheckForm(this)'>\n  <input type=hidden name='mnux' value='{$_SESSION['mnux']}' />\n  <input type=hidden name='gos' value='' />\n  <tr><td class=wrn width=2 rowspan=4></td>\n      <td class=inp>Gelombang:</td>\n      <td class=ul>{$gel}</td>\n      </tr>\n  <tr>\n      <td class=inp>Program Studi:</td>\n      <td class=ul><select name='ProdiID'>{$optprodi}</select></td>\n      </tr>\n  <tr><td></td>\n\t  </tr>\n  <tr><td class=ul colspan=2>\n      <input type=submit name='AmbilData' value='Ambil Data' />\n      </td></tr>\n  </form>\n  </table>\n  </p>";
    $maxLast = 100;
    echo "<p>\n  <table class=box cellspacing=1 align=center>\n  <form action='?' method=POST>\n  <input type=hidden name='gos' value='ProsesQuota' />\n  <input type=hidden name='gel' value='{$gel}' />\n  <input type=hidden name='prodi' value='{$_SESSION['ProdiID']}' />\n  <input type=hidden name='BypassMenu' value=1 />\n  <tr>\n\t<th class=ttl>100.00</th>\n\t<th class=ttl colspan=3></th>\n\t<th class=ttl><input type=button name='Tambah' value='+' onClick='EditQuota(1, 0, 100)'></th>\n  </tr>";
    $whr_prodi = empty($_SESSION['ProdiID']) ? '' : "and ProdiID='{$_SESSION['ProdiID']}'";
    $s = "select * from quotabeasiswa where PMBPeriodID='{$gel}' {$whr_prodi} and KodeID='" . KodeID . "' order by DariNilai DESC";
    $r = _query($s);
    while ($w = _fetch_array($r)) {
        $s1 = "select PMBID, Nama, NilaiSekolah from pmb where PMBPeriodID='{$gel}' {$whr_prodi} \n\t\t\t\tand {$w['DariNilai']} <= NilaiSekolah and NilaiSekolah < {$maxLast} and LulusUjian='Y' and KodeID='" . KodeID . "' order by NilaiSekolah DESC";
        $r1 = _query($s1);
        $optpeserta = "<option value=''>-- Lihat List Calon Mahasiswa di Sini --</option>";
        $n1 = 0;
        while ($w1 = _fetch_array($r1)) {
            $n1++;
            $optpeserta .= "<option value='{$n1}'>{$w1['PMBID']} - {$w1['Nama']} ( {$w1['NilaiSekolah']} )</option>";
        }
        echo "\n\t  <tr>\n\t\t<td class=ul rowspan=2></td>\n\t\t<td class=ul rowspan=2 align=center><font size=3><b>{$w['Diskon']} %</b></font></td>\n\t\t<td class=inp>Calon<sup>2</sup> Mahasiswa:</td>\n\t\t<td class=ul><select name='Nama{$w['MaxQuotaID']}'>{$optpeserta}</select></td>\n\t\t<td class=ul rowspan=2 align=center><a href='#' onClick=\"EditQuota(0, {$w['MaxQuotaID']}, '{$maxLast}')\"><img src='img/edit.png'></a></td>\n\t  </tr>\n\t  <tr>\n\t\t<td class=inp>Jumlah:</td>\n\t\t<td class=ul><b>{$n1}</b></td>\n\t  </tr>\n\t  <tr>\n\t\t<th class=ttl>{$w['DariNilai']}</th>\n\t\t<th class=ttl colspan=3></th>\n\t\t<th class=ttl><input type=button name='Tambah' value='+' onClick=\"EditQuota(1, 0, '{$w['DariNilai']}')\"></th>\n\t  </tr>";
        $maxLast = $w['DariNilai'];
    }
    $s1 = "select PMBID, Nama, NilaiSekolah from pmb where PMBPeriodID='{$gel}' {$whr_prodi} \n\t\t\t\tand NilaiSekolah < {$maxLast} and LulusUjian='Y' and KodeID='" . KodeID . "' order by NilaiSekolah DESC";
    $r1 = _query($s1);
    $optpeserta = "<option value=''>-- Lihat List Calon Mahasiswa di Sini --</option>";
    $n1 = 0;
    while ($w1 = _fetch_array($r1)) {
        $n1++;
        $optpeserta .= "<option value='{$n1}'>{$w1['PMBID']} - {$w1['Nama']} ( {$w1['NilaiSekolah']} )</option>";
    }
    echo "\n  <tr>\n\t<td class=ul rowspan=2></td>\n\t<td class=ul rowspan=2 align=center><font size=3><b>0.00 %</b></font></td>\n\t<td class=inp>Calon<sup>2</sup> Mahasiswa:</td>\n\t<td class=ul><select name='NamaLast'>{$optpeserta}</select></td>\n  </tr>\n  <tr>\n\t<td class=inp>Jumlah:</td>\n\t<td class=ul><b>{$n1}</b></td>\n  </tr>\n  <tr>\n\t<th class=ttl>0.00</th>\n\t<th class=ttl colspan=3></th>\n\t<th class=ttl></th>\n  </tr>\n  <tr>\n\t<td colspan=8><input type=submit name='Proses' value='Proses Quota Beasiswa'></td>\n  </tr>\n  </form>  \n  </table>\n  </p>";
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:34,代码来源:quotabeasiswa.php

示例6: TampilkanHeader

function TampilkanHeader($gels, $gel)
{
    $optfrm = GetOption2('pmbformulir', 'Nama', 'Nama', $_SESSION['_pmbFrmID'], "KodeID='" . KodeID . "'", 'PMBFormulirID');
    $optprg = GetOption2('program', "concat(ProgramID, ' - ', Nama)", 'ProgramID', $_SESSION['_pmbPrg'], "KodeID='" . KodeID . "'", 'ProgramID');
    $opturut = GetUrutanPMB();
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['_pmbPrd']);
    echo "<table class=box cellspacing=1 align=center>\r\n  <form action='?' method=POST>\r\n  <input type=hidden name='mnux' value='{$_SESSION['mnux']}' />\r\n  <input type=hidden name='gos' value='' />\r\n  <input type=hidden name='_pmbPage' value='0' />\r\n  \r\n  <tr>\r\n      <td class=inp>Cari Nama:</td>\r\n      <td class=ul1><input type=text name='_pmbNama' value='{$_SESSION['_pmbNama']}' size=20 maxlength=30 /></td>\r\n      <td class=inp width=100>Filter Formulir:</td>\r\n      <td class=ul1>\r\n        <select name='_pmbFrmID'>{$optfrm}</select>\r\n      </td>\r\n      </tr>\r\n  <tr>\r\n      <td class=inp>Cari No. PMB:</td>\r\n      <td class=ul1><input type=text name='_pmbNomer' value='{$_SESSION['_pmbNomer']}' size=20 maxlength=30 /></td>\r\n      <td class=inp>Urutkan:</td>\r\n      <td class=ul1><select name='_pmbUrut'>{$opturut}</select></td>\r\n      </tr>\r\n  <tr>\r\n      <td class=inp>Program:</td>\r\n      <td class=ul1><select name='_pmbPrg'>{$optprg}</select></td>\r\n      <td class=inp>Prodi:</td>\r\n      <td class=ul1><select name='_pmbPrd'>{$optprodi}</select></td>      \r\n  </tr>\r\n  <tr>\r\n  <td class=ul1 align=center colspan=4>\r\n      <input type=submit name='Submit' value='Submit' />\r\n      <input type=button name='Reset' value='Reset'\r\n        onClick=\"location='?mnux={$_SESSION['mnux']}&gos=&_pmbPage=0&_pmbNama=&_pmbNomer='\" />\r\n      </td>\r\n  </tr>\r\n  </form>\r\n  </table>";
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:8,代码来源:mhswbaru.php

示例7: TampilkanPRC

function TampilkanPRC()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    $prosesbutton = (!empty($_SESSION['_Login']) and !empty($_SESSION['ProdiID'])) ? "<input type=button name='Proses' value='Proses Urut NIM' onClick=\"ProsesNIM()\" />" : "";
    CheckFormScript('TahunID,ProdiID');
    ProsesScript();
    echo "<p>\r\n  <table class=box cellspacing=1 align=center>\r\n  <form action='?mnux={$_SESSION['mnux']}&gos=' method=POST onSubmit='return CheckForm(this)'>\r\n  <tr><td class=wrn width=2 rowspan=3></td>\r\n      <td class=inp>Tahun Akd:</td>\r\n      <td class=ul><input type=text name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=5 /></td>\r\n      </tr>\r\n  <tr>\r\n      <td class=inp>Program Studi:</td>\r\n      <td class=ul><select name='ProdiID'>{$optprodi}</select></td>\r\n      </tr>\r\n  <tr><td class=ul colspan=2 align=center>\r\n\t  <input type=submit name='Proses' value='Set Parameter'>{$prosesbutton}\t\r\n      </td></tr>\r\n  </form>\r\n  </table>\r\n  </p>";
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:8,代码来源:urutnim.php

示例8: TampilkanHeader

function TampilkanHeader()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    CheckFormScript('TahunID,ProdiID,Angkatan');
    echo <<<SELESAI
  <table class=box cellspacing=1 align=center>
  <form action='{$_SESSION['mnux']}.cetak.php' method=POST target=_blank onSubmit='return CheckForm(this)'>
  <input type=hidden name='gos' value='CetakKHS' />
  <input type=hidden name='BypassMenu' value='1' />
  <tr><td class=wrn width=2 rowspan=3></td>
      <td class=inp>Tahun Akademik:</td>
      <td class=ul><input type=text id='TahunID' name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=5 /></td>
      <td class=inp>Program Studi:</td>
      <td class=ul><select id='ProdiID' name='ProdiID'>{$optprodi}</select></td>
      </tr>
  <tr><td class=inp>Angkatan Mhsw:</td>
      <td class=ul><input type=text name='Angkatan' value='{$_SESSION['Angkatan']}' size=5 maxlength=5 /> atau:</td>
      <td class=inp>Mahasiswa:</td>
      <td class=ul colspan=2 nowrap>
      <input type=text name='MhswID' value='{$_SESSION['MhswID']}' size=20 maxlength=50 />
      <input type=submit name='btnCetak' value='Cetak Kartu UTS' /><br />
      *) Kosongkan jika ingin mencetak 1 angkatan
      </td>
      </tr>
  <tr><td colspan=4 align=center><input type=button name='Cetak' value='Cetak Daftar Yang Tidak Bisa UTS' onClick="CetakDaftarTakBisaUjian()">
\t  </td>
\t  </tr>
  </form>
  </table>
  </p>
  <script>
\tfunction CetakDaftarTakBisaUjian()
\t{\t
\t\tvar thn = document.getElementById('TahunID').value;
\t\tvar prd = document.getElementById('ProdiID').value;
\t\tif (thn == '' || prd == ''){
\t\t\talert('Tahun Akademik dan Program Studi tidak boleh kosong');
\t\t} else {
\t\t  lnk = '{$_SESSION['mnux']}.takujian.php?TahunID='+thn+'&ProdiID='+prd;
\t\t  win2 = window.open(lnk, '', 'width=600, height=400, scrollbars, status');
\t\t  if (win2.opener == null) childWindow.opener = self;
\t\t}
\t}\t
  </script>
SELESAI;
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:46,代码来源:uts.kartu.php

示例9: TampilkanHeaderJadwal

function TampilkanHeaderJadwal()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['_jdwlProdi']);
    $opthr = GetOption2('hari', 'Nama', 'HariID', $_SESSION['_jdwlHari'], '', 'HariID');
    echo <<<ESD
  <table class=box cellspacing=1 width=100%>
  <form name='frmJDWL' action="../{$_SESSION['mnux']}.jdwl.php" method=POST>
  
  <tr><td class=wrn width=2></td>
      <td class=inp>Prodi:</td>
      <td class=ul><select name='_jdwlProdi' onChange='this.form.submit()'>{$optprodi}</select></td>
      <td class=inp>Hari:</td>
      <td class=ul><select name='_jdwlHari' onChange='this.form.submit()'>{$opthr}</select></td>
      <td class=ul><input type=submit name='btnKirim' value='Kirim' /></td>
  </form>
  </table>
ESD;
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:18,代码来源:jadwalujian.jdwl.php

示例10: TampilkanHeaderLaporanKeuangan

function TampilkanHeaderLaporanKeuangan()
{
    $optprd = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    echo <<<ESD
  <table class=box cellspacing=1 align=center width=600>
  <form action='?' method=POST>
  <tr><td class=wrn width=1></td>
      <td class=inp width=60>Tahun Akd:</td>
      <td class=ul width=120 nowrap>
        <input type=text name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=6 />
        <input type=submit name='btnSet' value='Set' />
        </td>
      <td class=inp width=60>Prodi:</td>
      <td class=ul><select name='ProdiID' onChange='this.form.submit()'>{$optprd}</select></td>
  
  </form>
  </table>
ESD;
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:19,代码来源:lapkeu.php

示例11: TampilkanHeader

function TampilkanHeader()
{
    PraScript();
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    $mk = GetFields('mk', 'MKID', $_SESSION['MKID'], "MKKode, Nama, SKS");
    CheckFormScript("TahunID,ProdiID,MKID");
    echo <<<ESD
  <table class=box cellspacing=1 align=center width=600>
  
  <form name='frmPra' action='?' method=POST onSubmit="return CheckForm(this)">
  <input type=hidden name='mnux' value='{$_SESSION['mnux']}' />
  <input type=hidden name='gos' value='DftrMhsw' />
  <tr><td class=wrn width=2 rowspan=3></td>
      <td class=inp>Tahun Akd:</td>
      <td class=ul><input type=text name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=5 /></td>
      <td class=inp>Program Studi:</td>
      <td class=ul><select name='ProdiID'>{$optprodi}</select></td>
      </tr>
  <tr>
      <td class=inp>Cek Matakuliah:</td>
      <td class=ul colspan=3>
        <input type=hidden name='MKID' value='{$_SESSION['MKID']}' />
        <input type=text name='MKKode' value='{$mk['MKKode']}' size=10 maxlength=15 readonly=true />
        <input type=text name='MKNama' value='{$mk['Nama']}' size=30 maxlength=50 onKeyUp="javascript:CariMK(frmPra.ProdiID.value, 'frmPra')" />
        <input type=text name='SKS' value='{$mk['SKS']}' size=3 maxlength=3 readonly=true /> <sub>SKS</sub>
      <div style='text-align:right'>
      &raquo;
      <a href='#'
        onClick="javascript:CariMK(frmPra.ProdiID.value, 'frmPra')" />Cari...</a> |
      <a href='#' onClick="javascript:frmPra.MKID.value='';frmPra.MKKode.value='';frmPra.MKNama.value='';frmPra.SKS.value=0">Reset</a>
      </div>
      </td>
      </tr>
  <tr>
      <td class=ul colspan=4>
      <input type=submit name='btnProses' value='Proses Daftar Mhsw' />
      </td></tr>
  </form>
  </table>
  
  <div class='box0' id='carimk'></div>
ESD;
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:43,代码来源:mhswprasyarat.php

示例12: TampilkanHeaderPresensi

function TampilkanHeaderPresensi()
{
    //$optprodi = GetOption2('prodi', "concat(ProdiID, ' - ', Nama)", 'ProdiID', $_SESSION['ProdiID'], "KodeID='".KodeID."'", 'ProdiID');
    // Edit: Ilham
    $s = "select DISTINCT(TahunID) from tahun where KodeID='" . KodeID . "' order by TahunID DESC";
    $r = _query($s);
    $opttahun = "<option value=''></option>";
    while ($w = _fetch_array($r)) {
        $ck = $w['TahunID'] == $_SESSION['TahunID'] ? "selected" : '';
        $opttahun .= "<option value='{$w['TahunID']}' {$ck}>{$w['TahunID']}</option>";
    }
    $optprodi = $_SESSION['_LevelID'] == 100 ? GetOption3("prodi", "ProdiID", "concat(ProdiID, ' - ', Nama) as NM", "NM", $w['ProdiID'], '.') : GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    $optprg = GetOption2('program', "concat(ProgramID, ' - ', Nama)", 'ProgramID', $_SESSION['ProgramID'], "KodeID='" . KodeID . "'", 'ProgramID');
    $opthari = GetOption2('hari', 'Nama', 'HariID', $_SESSION['HariID'], '', 'HariID');
    $buttons = $_SESSION['_LevelID'] == 100 ? "" : "<input type=button name='CetakRekap' value='Cetak Rekap' onClick='javascript:CetakRekap()' />\r\n      <input type=button name='CetakDetail' value='Cetak Detail Presensi' onClick=\"javascript:CetakDetail()\" />\r\n      <input type=button name='CetakPresMhsw' value='Cetak Presensi Mhsw' onClick=\"javascript:CetakDetailMhsw()\" />";
    echo "<table class=box cellspacing=0 align=center width=600>\r\n  <form action='?' method=POST>\r\n  <input type=hidden name='mnux' value='{$_SESSION['mnux']}' />\r\n  <input type=hidden name='gos' value='' />\r\n  <tr><td class=wrn width=2 rowspan=4></td>\r\n      <td class=inp>Thn Akd.:</td>\r\n      <td class=ul1><select name='TahunID'/>{$opttahun}</select></td>\r\n      <td class=inp>Program Studi:</td>\r\n      <td class=ul1><select name='ProdiID'>{$optprodi}</select></td>\r\n      </tr>\r\n  <tr><td class=inp>Hari:</td>\r\n      <td class=ul1><select name='HariID'>{$opthari}</select></td>\r\n      <td class=inp>Prg Pendidikan:</td>\r\n      <td class=ul1><select name='ProgramID'>{$optprg}</select>\r\n        <input type=submit name='Tampilkan' value='Tampilkan Jadwal' align=right />\r\n        </td>\r\n      </tr>\r\n  </form>\r\n  <tr><td class=ul colspan=5>\r\n      {$buttons}\r\n      </td></tr>\r\n  </table>";
    echo <<<SCR
  <script>
  <!--
  function CetakRekap() {
    lnk = "{$_SESSION['mnux']}.rekap.php";
    win2 = window.open(lnk, "", "width=600, height=600, scrollbars, status");
    if (win2.opener == null) childWindow.opener = self;
  }
  function CetakDetail() {
    lnk = "{$_SESSION['mnux']}.detail.php";
    win2 = window.open(lnk, "", "width=600, height=600, scrollbars, status");
    if (win2.opener == null) childWindow.opener = self;
  }
  function CetakDetailMhsw() {
    lnk = "{$_SESSION['mnux']}.mhsw.php";
    win2 = window.open(lnk, "", "width=600, height=600, scrollbars, status");
    if (win2.opener == null) childWindow.opener = self;
  }
  //-->
  </script>
SCR;
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:38,代码来源:presensi.php

示例13: TampilkanHeaderUTS

function TampilkanHeaderUTS()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['_utsProdi']);
    $optprog = GetOption2('program', "concat(ProgramID, ' - ', Nama)", 'ProgramID', $_SESSION['_utsProg'], "KodeID='" . KodeID . "'", 'ProgramID');
    if (!empty($_SESSION['_utsTahun']) && !empty($_SESSION['_utsProdi'])) {
        JdwlEdtScript();
        $btn1 = " |\r\n      <input type=button name='HapusSemua' value='Hapus Semua Jadwal UTS' \r\n        onClick=\"javascript:JdwlDelAll('{$_SESSION['_utsTahun']}', '{$_SESSION['_utsProdi']}','{$_SESSION['_utsProg']}')\" />\r\n     ";
    }
    echo <<<SCR
  <table class=box cellspacing=1 align=center width=800>
  <form name='frmJadwalHeader' action='?' method=POST>
  <input type=hidden name='mnux' value='{$_SESSION['mnux']}' />
  <input type=hidden name='gos' value='' />
  
  <tr>
      <td class=inp>Tahun Akd:</td>
      <td class=ul1><input type=text name='_utsTahun' value='{$_SESSION['_utsTahun']}' size=5 maxlength=5 /></td>
      <td class=inp>Program:</td>
      <td class=ul1><select name='_utsProg'>{$optprog}</select></td>
      <td class=inp>Program Studi:</td>
      <td class=ul1 colspan=3><select name='_utsProdi'>{$optprodi}</select></td>
      </tr>
  <tr><td bgcolor=silver height=1 colspan=10></td></tr>
  <tr><td class=ul1 colspan=10 nowrap>
      <input type=submit name='btnKirim' value='Kirim Parameter' />
      <input type=button name='btnReset' value='Reset Parameter'
        onClick="location='?mnux={$_SESSION['mnux']}&_utsHari=&_utsKelas=&_utsMKKode=&_utsSemester='" />
      {$btn1}</td></tr>
  <tr>
      <td class=ul1 colspan=10 nowrap>
      {$btn2}
      </td>
      </tr>
  </form>
  </table>
SCR;
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:37,代码来源:uts.php

示例14: TampilkanTahunWisuda

function TampilkanTahunWisuda()
{
    $optprodi = GetProdiUser($_SESSION['_Login'], $_SESSION['ProdiID']);
    echo "<table class=box cellspacing=1 align=center width=800>\r\n    <form name='frm' action='?' method=POST>\r\n    <tr>\r\n        <td class=inp width=60>Gelombang:</td>\r\n        <td class=ul nowrap>\r\n          <input type=text name='TahunID' value='{$_SESSION['TahunID']}' size=5 maxlength=5 />\r\n          \r\n          </td>\r\n        <td class=inp width=80>Filter Prodi:</td>\r\n        <td class=ul nowrap>\r\n          <select name='ProdiID' onChange='this.form.submit()'>{$optprodi}</select>\r\n          </td>\r\n        </tr>\r\n    <tr>\r\n        <td class=inp>Cari NIM:</td>\r\n        <td class=ul>\r\n          <input type=text name='MhswID' value='{$_SESSION['MhswID']}' size=10 maxlength=20 />\r\n          </td>\r\n        <td class=inp>Cari Nama:</td>\r\n        <td class=ul>\r\n          <input type=text name='NamaMhsw' value='{$_SESSION['NamaMhsw']}' size=10 maxlength=50 />\r\n          <input type=submit name='SetParam' value='Refresh' />\r\n          <input type=button name='Reset' value='Reset' \r\n            onClick=\"location='?mnux={$_SESSION['mnux']}&_tabWisuda={$_SESSION['_tabWisuda']}&gos=Daftar&NamaMhsw=&MhswID='\" />\r\n        </td>\r\n        </tr>\r\n    </form>\r\n    </table>";
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:5,代码来源:wisuda.php

示例15: TampilkanPilihanProdiAngkatan

function TampilkanPilihanProdiAngkatan($mnux, $gos = '')
{
    //$optprd = GetOption2("prodi", "concat(ProdiID, ' - ', Nama)", "ProdiID", $_SESSION['prodi'], "KodeID='".KodeID."'", "ProdiID");
    $optprd = GetProdiUser($_SESSION['_Login'], $_SESSION['prodi']);
    echo "<p><table class=box cellspacing=1 width=800 align=center>\r\n  <form action='?' method=POST>\r\n  <input type=hidden name='mnux' value='{$mnux}' />\r\n  <input type=hidden name='gos' value='{$gos}' />\r\n  <tr>\r\n    <td class=inp>Angkatan</td>\r\n    <td class=ul>\r\n      <input type=text name='angk' value='{$_SESSION['angk']}' size=10 maxlength=20>\r\n      <input type=submit name='Tampilkan' value='Tampilkan'>\r\n    </td>\r\n    <td class=inp>Program Studi:</td>\r\n    <td class=ul>\r\n      <select name='prodi' onChange='this.form.submit()'>{$optprd}</select>\r\n    </td>\r\n  </tr>\r\n  </form></table></p>";
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:6,代码来源:dwo.lib.php


注:本文中的GetProdiUser函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。