''){ $skrip_sql=$skrip_sql." AND category='$_GET[cat]'";} if($_GET[sub_cat]<>'') { $skrip_sql=$skrip_sql." AND sub_category='$_GET[sub_cat]'";} //script paging $halaman=$_GET[halaman]; $PHP_SELF=$_SERVER[PHP_SELF]; //<---counter atas--> START if (empty($halaman)) $halaman=1; $p[baris]=3; // Berapa baris data yang ingin ditampilkan $p[langkah]=10; // Coba aja kutak-katik, jadinya gimana :P $result=mysql_query("select count(*) from product $skrip_sql "); // 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 ?> Ace Oldfields

   Online Cataloque
   Download Catalogue

  Product Search
Online Catalogue > Local Product (Prima) '') {?>> Paint Brush '') {?>>

At Ace Oldfields, we keep our commitment to excellent and consistent quality products. Therefore, despite the increasing costs, we still import the main components of our roller (fabric, adhesive and phenolic paper) from USA.


$p[baris]){ ?>
''){ $link_kategori=$link_kategori."&cat=".$_GET[cat];} if($_GET[sub_cat]<>''){ $link_kategori=$link_kategori."&sub_cat=".$_GET[sub_cat];} //akhir tambahan link kategori echo "Next Product: "; //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 " "; ?>