How to create pagination in query custom post type with custom field?

I query with the code:
global $wpdb;
$querystr = "
SELECT wposts.*
FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta
WHERE wposts.ID = wpostmeta.post_id
AND wpostmeta.meta_key = 'price'
AND wpostmeta.meta_value <= '500'
AND wposts.post_status = 'publish'
AND wposts.post_type = 'tour'
ORDER BY wposts.post_date DESC
$pageposts = $wpdb->get_results($querystr, OBJECT);
foreach ($pageposts as $searched_post) {
echo "<h2>" . $pageposts->post_title . "</h2>";
echo $searched_post->post_content;

echo "post_name . "\">Read More";

It run ok,now I want to create pagination for them.
I am using wp-navi plugin - it run when I use query_posts() functions.
Example: query_posts("s=$s&paged=$page&cat=".implode(",",$exclude_cats));

I want to ask: " how to get data from result of above query ($pageposts) to query_posts().