Restaurant Area:     Type: 
   
   
  Select by first letter: All  

= 0) { $prevpoint = ($startpoint - $howmany); $href1a = ''; $href1b = ''; } else { $prevpoint = 0; $href1a = ''; $href1b = ''; } if (($startpoint + $howmany) >= $number_of_restaurants) { $nextpoint = $number_of_restaurants; $href2a = ''; $href2b = ''; $next_howmany = $howmany; } else { $nextpoint = ($startpoint + $howmany); $href2a = ''; $href2b = ''; $next_howmany = ($startpoint + ($howmany * 2) > $number_of_restaurants) ? $number_of_restaurants % $howmany : $howmany; } $nav = ''; if ($howmany <> 'all') { $nav .= ''; } $nav .= '
'; if ($howmany == $default_howmany) { $nav .= 'Show all'; } else { $nav .= 'Show ' . $default_howmany . ' per page'; } $nav .= '

' . $href1a . '<< PREVIOUS ' . $howmany . $href1b . '    ' . $href2a . 'NEXT ' . $next_howmany . ' >>' . $href2b . '

Return to thedailycourier.com
' . "\n"; foreach (array('featured', 'rest') as $curr) { $curr_arr = $curr . '_arr'; if ($$curr_arr) { // if (!$_GET['startpoint']) { echo($curr == 'featured' ? 'featured' : 'standard'); } foreach($$curr_arr as $rest) { extract($rest); if ($curr == 'featured') { $class = 'featured'; $listing = ' '; } else { $class = 'standard'; $listing = ' '; } $str = '
'; $offsitemenu = 'a=menu'; if ($menu) { $source = $offsitemenu = 'l=' . $menu; } if ($website) { $source = 'l=' . $website; } else { $source = 'a=thumb'; } $str .= '' . "\n"; $str .= '

' . $listing . '

' . "\n"; $str .= '

' . $name . '

' . "\n"; foreach ($loc_arr[$id] as $location) { list ($loc_id, $address, $address_descr, $city, $zip, $phone) = $location; $address_display = ($address_descr) ? $address_descr : $address; $url = 'http://www.mapquest.com/maps?city=' . urlencode($city) . '&state=OR&address=' . urlencode($address) . '&zipcode=' . urlencode($zip); $str .= '

' . $address_display . ', ' . $city . '
' . "\n"; $str .= '' . $phone . ' | Map

' . "\n"; } $str .= '

Menu'; // if ($has_coupon) { $str .= ' | coupon'; } if ($website) { $str .= ' | Web site'; } $has_coupon = ($today >= $coupon_start && $today <= $coupon_stop) ? $has_coupon : '0'; $has_ad = ($today >= $ad_start && $today <= $ad_stop) ? $has_ad : '0'; if ($has_ad) { list ($adWidth, $adHeight, $adChannels, $adSize, $adBits, $adMime) = getimagesize('images/ads/' . $short_name . '.' . $has_ad); $str .= ' | View ad'; } if ($has_coupon) { list ($couponWidth, $couponHeight, $couponChannels, $couponSize, $couponBits, $couponMime) = getimagesize('images/coupons/' . $short_name . '.' . $has_coupon); $str .= ' | View coupon'; } if ($has_video) { $str .= ' | video'; } $str .= '

' . "\n"; $str .= '

' . "\n"; $str .= '
' . "\n"; echo $str; } } } echo "

"; echo $nav; echo "
"; if (date('s') % 2) { $ad1 = '1'; $ad2 = '2'; } else { $ad1 = '2'; $ad2 = '1'; } //$url = 'http://www.mapquest.com/maps?city=' . urlencode($city) . '&state=OR&address=' . urlencode($address) . '&zipcode=' . urlencode($zip) . '&country=US&cid=lfmaplink'; //echo "New Map
\n"; #echo '

' . $href1a . '<< PREVIOUS ' . $howmany . $href1b . '    ' . $href2a . 'NEXT ' . $howmany . ' >>' . $href2b . '

'; ?>