$idpk)); $tglsekarang = time(); ?> <?= $setting['aplikasi'] ?>

Pengumuman


"; $logQ = mysqli_query($koneksi, "SELECT * FROM pengumuman where type='eksternal' ORDER BY date DESC"); while ($log = mysqli_fetch_array($logQ)) { $logC++; $user = mysqli_fetch_array(mysqli_query($koneksi, "SELECT * FROM pengawas WHERE id_pengawas='$log[user]'")); if ($log['type'] == 'internal') { $bg = 'bg-green'; $color = 'text-green'; } else { $bg = 'bg-blue'; $color = 'text-blue'; } echo "
  • " . buat_tanggal('d-m-Y', $log['date']) . " " . buat_tanggal('h:i', $log['date']) . "

    $log[judul] $user[nama]

    " . ucfirst($log['text']) . "
  • "; } if ($logC == 0) { echo "

    Tidak ada aktifitas.

    "; } echo "";?>
    Tombol ujian akan aktif bila waktu sudah sama dengan jadwal ujian, Refresh browser atau tekan F5 jika waktu ujian belum aktif

    Jadwal Ujian Hari ini

    = date('Y-m-d') and date('Y-m-d', strtotime($mapelx['tgl_ujian'])) <= date('Y-m-d')) : ?> $mapelx['id_ujian'], 'id_mapel' => $mapelx['id_mapel'], 'id_siswa' => $id_siswa //'kode_ujian' => $mapelx['kode_ujian'] ); $nilai = fetch($koneksi, 'nilai', $where); $ceknilai = rowcount($koneksi, 'nilai', $where); if ($ceknilai == '0') : if (strtotime($mapelx['tgl_ujian']) <= time() and time() <= strtotime($mapelx['tgl_selesai'])) : $status = ''; $btntest = ""; elseif (strtotime($mapelx['tgl_ujian']) >= time() and time() <= strtotime($mapelx['tgl_selesai'])) : $status = ''; $btntest = " BELUM UJIAN"; else : $status = ''; $btntest = " Telat Ujian"; endif; else : if ($nilai['ujian_mulai'] <> '' and $nilai['ujian_berlangsung'] <> '' and $nilai['ujian_selesai'] == '') : if ($mapelx['reset'] == 1) { if($nilai['online']==0){ $status = ''; $btntest = ""; }else{ $status = ''; $btntest = ""; } } else { $status = ''; $btntest = ""; } else : if ($nilai['ujian_mulai'] <> '' and $nilai['ujian_berlangsung'] <> '' and $nilai['ujian_selesai'] <> '') { $status = ''; $btntest = ""; } else { $btntest = ""; } endif; endif; ?> null) : ?>

    10) { echo substr($mapelx['nama'], 0, 10) . "..."; } else { echo $mapelx['nama']; } ?>

        $value) : echo "$value  "; endforeach; ?>
    25) { echo substr($mapelx['nama'], 0, 25) . "..."; } else { echo $mapelx['nama']; } ?>
        $value) : echo "$value  "; endforeach; ?>

    Data Hasil Ujian

    No Induk : Nilai
    Nama :
    Kelas :
    Mata Pelajaran :
    Nama Ujian :

    Data Hasil Ujian

    maaf untuk hasil nilai belum dapat dilihat, akan diproses terlebih dahulu,,

    Data Hasil Ujian

    0) : $query = mysqli_fetch_array(mysqli_query($koneksi, "SELECT * FROM ujian WHERE id_ujian='$ac'")); $idmapel = $query['id_mapel']; $no_soal = 0; $no_prev = $no_soal - 1; $no_next = $no_soal + 1; $id_mapel = $idmapel; $id_siswa = $id; $where = array( 'id_siswa' => $id_siswa, 'id_mapel' => $id_mapel ); $where2 = array( 'id_siswa' => $id_siswa, 'id_mapel' => $id_mapel, 'id_ujian' => $ac ); $mapel = fetch($koneksi, 'ujian', array('id_mapel' => $id_mapel, 'id_ujian' => $ac)); update($koneksi, 'nilai', array('ujian_berlangsung' => $datetime), $where2); $nilai = fetch($koneksi, 'nilai', $where2); $habis = strtotime($nilai['ujian_berlangsung']) - strtotime($nilai['ujian_mulai']); $detik = ($mapel['lama_ujian'] * 60) - $habis; $dtk = $detik % 60; $mnt = floor(($detik % 3600) / 60); $jam = floor(($detik % 86400) / 3600); $cekpg = mysqli_num_rows(mysqli_query($koneksi, "SELECT * FROM soal WHERE id_mapel='$id_mapel' AND jenis='1'")); $cekesai = mysqli_num_rows(mysqli_query($koneksi, "SELECT * FROM soal WHERE id_mapel='$id_mapel' AND jenis='2'")); $quero = mysqli_fetch_array(mysqli_query($koneksi, "SELECT tampil_pg,tampil_esai FROM mapel WHERE id_mapel='$id_mapel'")); if ($cekpg >= $quero['tampil_pg']) { $soalpg = $quero['tampil_pg']; } else { $soalpg = $cekpg; } if ($cekesai >= $quero['tampil_esai']) { $soalesai = $quero['tampil_esai']; } else { $soalpg = $cekesai; } $jumsoal = $soalpg + $soalesai; ?>

    Sisa Waktu ::

    Sedang memproses soal..
    jika terlalu lama silahkan logout dan login lagi
    cek koneksi internet buka menggunakan chrome