Breaking News

Daftar Pengambil Mata Kuliah Pilihan dan Kapita Selekta Ganjil 2018/2019

List Data Mata Kuliah Pilihan dan Kapita Selecta
[insert_php] extract($_GET);
global $wpdb;
global $table;
global $data_bidang_kapita;
global $data_bidang_sem3;
global $data_bidang_sem5;
global $data_bidang_sem7;
$table = $wpdb->prefix . ‘bidangmk’;
$data_bidang_kapita = array(“Programming Basic”,”Software Metrics”,”Sistem Cerdas”,”Sistem informasi”,
“Visualization Programming”,”Computer Vision (OpenCV)”,”Komputasi”,
“Spatial Enterprise Planning”,”Location Base Service”,”Enterprise Resouces Planning”,
“Inovasi Teknologi Bisnis”,”Bahasa Perl”);

$data_bidang_sem3 = array(“PEMROGRAMAN DEKLARATIF”, “PEMROGRAMAN INTERPRETER”, “KEAMANAN SISTEM INFORMASI”,
“MANAJEMEN PROYEK TI”, “PROSES DAN KUALITAS PERANGKAT LUNAK”);

$data_bidang_sem5 = array(“GRAFIKA KOMPUTER”, “PEMROSESAN BAHASA ALAMI”,
“PENGANTAR ROBOTIK”, “DATA WAREHOUSE”, “MANAJEMEN PENGETAHUAN”,
“TATA KELOLA DAN AUDIT TEKNOLOGI INFORMASI”,
“PENGUJIAN PERANGKAT LUNAK”, “WEB LANJUT”);

$data_bidang_sem7 = array(“BIOINFORMATIC”, “MANAJEMEN RESIKO”, “PENGANTAR ROBOTIC”, “SISTEM PAKAR”);

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_kapita;
global $data_bidang_sem3;
global $data_bidang_sem5;
global $data_bidang_sem7;
global $wpdb;
$wpdb->show_errors();
$table = $wpdb->prefix . ‘bidangmk’;
$query = “SELECT npm, nama, sesi, bidang
from $table
WHERE tgl_update >= ‘2018-08-11 10:00:00’
ORDER BY npm,sesi”;
$results = $wpdb->get_results($query);
if ($results) {
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
foreach ($results as $data) {
echo “

“;
echo “

“;
echo “

“;
if (substr($data->sesi, 0, 4) == ‘mk16’) {
echo “

“;
echo “

“;
echo “

“;
} else if (substr($data->sesi, 0, 4) == ‘sem5’) {
echo “

“;
echo “

“;
echo “

“;
} else if (substr($data->sesi, 0, 4) == ‘sem7’) {
echo “

“;
echo “

“;
echo “

“;
} else if (substr($data->sesi, 0, 4) == ‘kapi’) {
echo “

“;
echo “

“;
echo “

“;
}
echo “

“;
}
echo “
NPM NAMA SEM PILIHAN BIDANG
” . $data->npm . “ ” . $data->nama . “ ” . “3”. “ ” . substr($data->sesi, 7, 1). “ ” .$data_bidang_sem3[$data->bidang – 1] . “ ” . “5”. “ ” . substr($data->sesi, 7, 1). “ ” .$data_bidang_sem5[$data->bidang – 1] . “ ” . “7”. “ ” . substr($data->sesi, 7, 1). “ ” .$data_bidang_sem7[$data->bidang – 1] . “ ” . “7”. “ ” . “KS”. “ ” .$data_bidang_kapita[$data->bidang – 1] . “

“;
}
}
printData();
[/insert_php]

HTML Snippets Powered By : XYZScripts.com