$counts=1;
if($id==""){
$sqls="select * from `".$tb_prefix."product` where productStatus='1' order by peoductPosition ASC";
}else{
$sqls="select * from `".$tb_prefix."product` where productCat='$id' and productStatus='1' order by peoductPosition ASC";
}
$results=mysql_db_query($dbName,$sqls);
while($records=mysql_fetch_array($results)) {
$productName=$records[productName];
$productNameE=$records[productNameE];
$idnews=$records[productID];
$picnews=$records[productPic];
$productDetail=$records[productDetail];
$productDetailE=$records[productDetailE];
$productCost=$records[productCost];
$keyseopages=$records[keyseopages];
if($language=='en'){
$name=$records[productName];
}else{
$name=$records[productNameE];
}
echo "
$name
";
}
?>