info@erkimkimya.com




1) { $ilk=($sayfa-1)*4;} $son = $ilk + 4; $kacar = $son - $ilk; $sqls= "SELECT * FROM news Where newActive=1"; $results = @mysql_query($sqls); $nums = @mysql_num_rows($results); $queryL = "Select * from news Where newActive=1 and newLang='tr' Order by newId DESC LIMIT $ilk,$kacar"; $resultL = @mysql_query($queryL); while($rowL = mysql_fetch_array($resultL)) { ?>

0){ echo "Sayfa Sayısı : "; $kacsonuc = $nums / $kacar ; $kackalan = $nums % $kacar; if($kackalan>0) {$eksayfa =1;} else {$eksayfa=0;} $kacsayfa = $kacsonuc + $eksayfa; for($b=1;$b<=$kacsayfa;$b++) { if($sayfa==$b) { echo " ".$b." ";} else { echo " $b "; } } } ?>
                                                        info@servie.com.tr © 2004 - Tasarim: Intro Production