START if (empty($halaman)) $halaman=1; $p[baris]=10; // Berapa baris data yang ingin ditampilkan $p[langkah]=10; // Coba aja kutak-katik, jadinya gimana :P $result=mysql_query("select count(*) from vacancy_position "); // Count data (SQL query) list($p[count]) = mysql_fetch_row($result); unset($result); // total halaman $p[total_halaman]=ceil($p[count]/$p[baris]); // filter halaman if ($halaman<=1) $halaman=1; elseif ($halaman>$p[total_halaman]) $halaman=$p[total_halaman]; // awal data yang diambil $p[mulai]=$halaman*$p[baris]-$p[baris]; //<---counter atas--> END //PAGING END ?> Ace Oldfields


Ace Oldfields was formed in 1996 as a joint-venture company between PT. Ace Panbrush Industry (Established in Indonesia since 1989) and Oldfields International Pty Ltd of Australia (Established in Australia since 1916), and we are looking for highly qualified candidates to fill the position as:

Sorry, there is no vacancy available
Date Position Location Min. Qualification
$p[baris]){ ?>
  $p[langkah]) { // filter bawah echo "Next Item: "; //sebelumnya if ($halaman>1) echo " "; //angka $p[bawah]=$halaman-$p[langkah]; if ($p[bawah]<1) $p[bawah]=1; $p[atas]=$halaman+$p[langkah]; if ($p[atas]>$p[total_halaman]) $p[atas]=$p[total_halaman]; // print angka awal if ($halaman<>1) { for ($i=$p[bawah];$i<=$halaman-1;$i++) echo "$i "; } // print angka aktif if ($p[total_halaman]>1) echo "$halaman "; // print angka akhir for ($i=$halaman+1;$i<=$p[atas];$i++) echo "$i "; //sesudahnya if ($halaman<$p[total_halaman]) echo " "; } ?>