Ad Soyad Meslek"; $QUERYSTR = ""; $__REQUEST = array_merge($_GET, $_POST); foreach($__REQUEST as $key => $item) { if(!$item) continue; switch($key) { case "PR_startPage"; break; default; $QUERYSTR .= "&" . $key . "=" . urlencode($item); } } $SQL2 = "SELECT count(*) as adet FROM signs WHERE status = 1 AND campaignid = $id ORDER BY id DESC"; $result2 = $CM->db_query($SQL2); $dataCount = $CM->db_fetch_assoc($result2); $rowCount = $dataCount["adet"]; $CM_listPerPage=30; if($PR_startPage == "") {$PR_startPage = 0;} $SQL = "SELECT id, name, profession, campaignid FROM signs WHERE status = 1 AND campaignid = $id ORDER BY id DESC LIMIT $PR_startPage , $CM_listPerPage"; $list = $CM->db_query($SQL); while($data = $CM->db_fetch_assoc($list)) { if ($s%2==0){$bg="";} else {$bg="bgcolor='#FFECC6'";} echo ' '.$data["name"].''.$data["profession"].''; $s++; } echo ""; ?>