DNXE

Data Network Exchange


Search The Web


3){ // search in the titles $query = "SELECT 1 AS val, com.domain AS domain, com.popularity AS popularity, extensions.extension AS ext, pages.content as content, pages.title AS title FROM com, extensions, pages WHERE pages.domain=com.id AND com.extension=extensions.id "; $searchTerms = explode(" ", trim($_GET['search'])); for ($i=0; $i0){ //$query = "SELECT FOUND_ROWS()"; //$count = db_query($query); $endTime = microtime(true); echo "Results returned in ". number_format(($endTime - $startTime),3)." seconds

"; // * TOTAL PAGES - VAR * $total_pages = ceil(sizeof($res) / $listings_per_page); $total_pages =10; // * START PAGE - VAR * $start_page = floor($pg / $pages_limit) * $pages_limit + 1; // * LAST PAGE - VAR * if ( $start_page + $pages_limit >= $total_pages) $last_page = $total_pages; else $last_page = $start_page + $pages_limit-1; for ($i=0; $i<(($pg-1)*$listings_per_page); $i++){ unset($res[$i]); } $i=0; foreach($res AS $row){ echo "0) echo " title='".$row['title']."' "; echo "'>".$row['domain'].$row['ext']; if (strlen($row['title'])>0) echo " - ".substr($row['title'],0, 60); if (strlen($row['title'])>60) echo "..."; echo "
"; echo substr(strip_tags ($row['content']),0, 100)."

"; if ($i==9) break; $i++; } //Previous 20 if ($start_page > 1) { ?> << Prev << Prev  |  1) { ?> < Prev < Prev  |         |  Next > Next >  |  Next >> Next >>
StatusX.com What is your status ? Amerilocic 2uk.co.uk Realtor.com.cy 8xx.com Texas Hold'em poker


Advertise Here

List of Websites