Thai Kansai Paint Co.,Ltd., Leading Paint Manufacturer of "Fan Brand Paint" , Quality Industrial Paint in Thailand
Over 4 decades that "Fan Brand Paint", brand of superior quality of paint has been in Thailand, offering wider selections of paints in order to satisfy its customers' needs in different industries...
0){ $row = mysql_fetch_array($result); $intTotalRow = $num; $PageSize = $intMaxRow; if ($intPage != "all") { $sql_limit = ( $intPage == 1) ? 0 : ($intPage - 1) * $PageSize ; $sql_limit = " LIMIT " . $sql_limit . ", " . $PageSize . " "; } if ($intPage == "all") { $intPage = 1; $intMaxRow = $num; $bitSelectAll = true; }else{ $bitSelectAll = false; } $intTotalPage = ceil($num/$PageSize); $c = 0; $i = (( $intPage - 1 ) * $intMaxRow )+1; $strSql .= $sql_limit; $result =mysql_query($strSql); //echo $strSql; while ($Rs = mysql_fetch_array($result)){ if (dateDiff("d",$dteToday , $Rs[DTE_NEWS_DATE]) > ($intNewDate)) { $bitNew = false; } else { $bitNew = true; } ?>