Can I display to lowest price for a country or city

Edit the php page that you want to display the low price(s) on
example if you want to display low prices on your main page you edit index.php
paste the following before the $smarty->display lines

// Get the low prices for the following cities / country
$featured_cities = array(array("Honolulu","HI","US"),array("Cancun","","MX"), Vegas","NV","US"),array("","","BB"));
$prices_low = getlow($featured_cities);
// assign the result to a template value
$smarty->assign('prices_low',$prices_low);


paste the following into your index.html template were you want the low price to show
Barbados <!--{$prices_low.BB.low_price|string_format:"%d"}-->

Honolulu   <!--{$prices_low.Honolulu.low_price|string_format:"%d"}-->

you can change the featued_cities line to have more cities or just one
Example
$featured_cities = array(array("Honolulu","HI","US"));
would just display the low price for Honolulu

Note: Country codes can only be used for countries that have less then 150 hotels such as Barbados
The price will be 0 until  time the city/country is search, from then on the prices will update