100) $ile=100; if($stop>$ile) $stop=$ile; if($ile>$results){ $tempnr=ceil($ile/$results); for($i=1;$i<$tempnr+1;$i++){ if($i==$page_nr) $pages=$pages." $i "; else if($i==1) $pages=$pages." [$i] "; else $pages=$pages." [$i] "; } $pages="Browse Pages: ".$pages; } */ //echo("$keywords_link"); $programs=""; $tr=0; $k=1; $nr=$start+1; $add=1; $page_title=''; $page_description=''; $page_keywords=''; $result = mysql_query("SELECT a.id,id_1,name,version,title,license,cost,size,icon,downloadurl1,pdate,linkbackurl,link,b.keywords,b.keywords_link,shortdescriptio FROM `final_keywords` a join final b on a.id=b.id where a.keywords_link ='$keywords_search' and a.keyword_link_order_id>$start and a.keyword_link_order_id<=$start+$results", $link_id); $nrres=mysql_num_rows($result); if($nrres=="0") die("this page don't exist on our servers or have been removed.."); while ($row = mysql_fetch_row($result)) { $id=$row[0]; $id_1=$row[1]; $name=stripslashes($row[2]); $version=$row[3]; $title=stripslashes($row[4]); $license=$row[5]; $cost=$row[6]; $size=$row[7]; $icon=$row[8]; $download=$row[9]; $pdate=$row[10]; $linkbackurl=$row[11]; $link=$row[12]; $keywords=$row[13]; $keywords_link_1=strtolower($row[14]); $shortdescription=stripslashes($row[15]); if($shortdescription=='') $shortdescription=$title; if($linkbackurl!='') {$class=" class=\"redtitle\""; $list_title="$name $version"; } else { $class=""; $list_title="$name $version"; } $programs=$programs."\"$name\" $nr)   $list_title
$shortdescription

"; if(($add==5 or $add==10) AND $display_adsense!=0) $programs=$programs."

"; $add++; if($k<7) $page_title=$page_title." $name,"; if($k<4) $page_description=$page_description." $title ."; if($k<4 and $keywords!='') $page_keywords=$page_keywords." $keywords,"; $tr++; $k++; $nr++; $keyword_nr=explode(",",$keywords_link_1); $keyword_title_nr=explode(",",$keywords); $keyword_title=""; for($j=0;$j\n"; $tr=0; } } mysql_close($link_id); if($keyword_title=='') die("this page don't exist on our servers or have been removed,"); ?> <? echo("$keyword_title - Related Programs Download: $page_title"); ?>