Jurusan Ilmu Komputer FMIPA
http://ilkom.unila.ac.id/?page_id=2976
Export date: Sun Aug 9 0:54:24 2020 / +0000 GMT

Minat Bidang Mata Kuliah Proyek Khusus 2018


Bidang Mata Kuliah Proyek Khusus, yaitu:

  1. Sistem Pakar

  2. Deep Learning

  3. R Programming

  4. Computer Vision

  5. Character Recognition

  6. Augmented Reality

  7. Web Framwork: Laravel

  8. Android

  9. Komputasi/Dynamic Programming

  10. Simulasi Sistem

  11. Genetic Algorithm

  12. Search Engine Tech.



Untuk itu kapasitas masing-masing bidang dibatasi sebanyak 16 mahasiswa. Isi form berikut untuk mendaftarkan diri anda. Mahasiswa hanya diperkenankan memilih 1 kali, Mata Kuliah yang sudah penuh tidak dapat dipilih lagi.


[insert_php]
extract($_GET);
global $wpdb;
global $table;
global $data_bidang;
$table = $wpdb->prefix . 'bidangmk';
$data_bidang = array("Sistem Pakar","Deep Learning","R Programming",
"Computer Vision","Character Recognition","Augmented Reality","Web Framwork: Laravel",
"Android","Komputasi/Dynamic Programming","Simulasi Sistem","Genetic Algorithm","Search Engine Tech.");
function getRealIpAddr()
{
if (!empty($_SERVER['HTTP_CLIENT_IP']))
{
$ip=$_SERVER['HTTP_CLIENT_IP'];
}
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
{
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
}
else
{
$ip=$_SERVER['REMOTE_ADDR'];
}
return $ip;
}

function printData(){
global $data_bidang;
global $wpdb;
$table = $wpdb->prefix . 'bidangmk';
$query = "SELECT npm, nama, bidang from $table ORDER BY npm";
$results = $wpdb->get_results($query);
if ($results) {
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
foreach ($results as $data) {
echo "";
echo "";
echo "";
echo "";
echo "";
}
echo "
NPMNAMABIDANG
".$data->npm."".$data->nama."".$data_bidang[$data->bidang-1]."
";
}
}

date_default_timezone_set("Asia/Jakarta");
$current = strtotime(date("Y-m-d H:i:s"));
$date = strtotime("2018-02-13 17:00:00");
$datediff = $date - $current;
// die(" ini datediff ".$datediff);
if ($datediff>0){
//if (1>0){
echo "Pendaftaran dibuka pada: Selasa, 13 Februari 2018 pukul 17:00";
// echo "Pendaftaran ditutup
";


// echo "
";

// printData();
} else {
if ($submit) {
//$sesi="mkpilihan_genap2018";
$next=1;
if ($sesi=='mkpilihan2_genap2018') {
$data_sesi=$wpdb->get_row( "SELECT count(*) as jml
FROM $table
WHERE npm = $npm
AND sesi = 'mkpilihan1_genap2018'" );

if ($data_sesi->jml<1) $next=0;
// die($data_sesi->jml." next ".$next);
}
if ($next==0) {
echo "DATA GAGAL DISIMPAN. ISI PILIHAN 1 TERLEBIH DAHULU";
} else {
$data = $wpdb->get_row( "SELECT count(*) as jml
FROM $table
WHERE bidang = $bidang
AND sesi = '$sesi'" );
if ($data->jml<16) {
if ($wpdb->insert(
$table,
array(
'npm' => $npm,
'nama' => $nama,
'bidang' => $bidang,
'sesi' => $sesi,
'ip_address'=>getRealIpAddr()
)
)) {echo "DATA DISIMPAN";} else {echo "DATA GAGAL DISIMPAN. NPM ANDA HANYA BOLEH MENDAFTAR 1 KALI";}

} else {
echo "MAAF KELAS SUDAH PENUH, SILAHKAN PILIH BIDANG LAIN";
}
}
}
function listResult($s) {
global $wpdb;
global $table;
global $data_bidang;
$kuery = "SELECT bidang, COUNT( bidang ) AS jml
FROM $table
WHERE sesi ='$s'
GROUP BY bidang";
//die ("ini ".$kuery);

$results = $wpdb->get_results($kuery);
if ($results) {
foreach ($results as $loc) {
echo "
".$data_bidang[$loc->bidang-1]." : ".$loc->jml;
}
}
}
echo "
Distribusi jumlah mahasiswa perbidang: ";
listResult('proyek_khusus2018');


echo "

FORM PENDAFTARAN MK PROYEK KHUSUS


";
echo "
Sesi:
";
echo "NPM : ";
echo "
Nama : ";
echo "
Pilih Bidang: ";
echo"



";
}
[/insert_php]
Post date: 2018-02-13 11:44:09
Post date GMT: 2018-02-13 04:44:09

Post modified date: 2018-02-13 17:40:59
Post modified date GMT: 2018-02-13 10:40:59

Export date: Sun Aug 9 0:54:24 2020 / +0000 GMT
This page was exported from Jurusan Ilmu Komputer FMIPA [ http://ilkom.unila.ac.id ]
Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com