This page was exported from Jurusan Ilmu Komputer FMIPA [ http://ilkom.unila.ac.id ]
Export date: Sun Aug 9 0:16:13 2020 / +0000 GMT

Jadwa Kuliah Semester Genap Tahun Akademik 2016/2017



[insert_php]

extract($_GET);

global $wpdb;

$table = $wpdb->prefix . 'posts';

$values = array('all' => __('All Locations', 'wcs3'));

$query = "SELECT ID, post_type, post_title FROM $table WHERE

post_type = 'wcs3_location' or post_type = 'wcs3_instructor'";

$results = $wpdb->get_results($query);

if ($results) {

foreach ($results as $loc) {

if ($loc->post_type=='wcs3_location')

$location_values[$loc->ID]=$loc->post_title;

else

$instructor_values[$loc->ID]=$loc->post_title;

}

}

sort($location_values);

sort($instructor_values);

echo "

";

echo "Pilih Ruang : ";

echo "Pilih Dosen : ";

echo"

";

$ruang = (empty($location)||$location=="All")?"":"location="$location"";

$dosen = (empty($instructor)||$instructor=="All")?"":"instructor="$instructor"";

echo "

Ruang: $location Dosen: $instructor

MonTueWedThuFriSatSun
7:30
9:20
11:10
13:30
15:20
";

[/insert_php]

 

 


Post date: 2017-02-27 02:49:45
Post date GMT: 2017-02-26 19:49:45
Post modified date: 2017-02-27 18:11:38
Post modified date GMT: 2017-02-27 11:11:38

Powered by [ Universal Post Manager ] plugin. MS Word saving format developed by gVectors Team www.gVectors.com