<?php
if ($cityinventorylocaltotal > 0) {
    while ($cityinventorylocalData = mysqli_fetch_array($cityinventorylocal)) {
        $hocityprice = $cityinventorylocalData['hotel_price'];
		$finalprice = $hocityprice*$finaltotal;
		echo "
		<table>
			<thead></thead>
				<tbody>
					<tr>
						<td><a href='hotel-list.php?sort=pricelow&typesort=price&destino=$cityinventorylocalData[element_name]&city_id=$cityinventorylocalData[element_id]&checkin=$datetoday&checkout=$datetomorrow&rooms=1&adults=2&children=0&age=&age2=&age3=&adults2=&children2=&age2_1=&age2_2=&age2_3=&adults3=&children3=&age3_1=&age3_2=&age3_3=&adults4=&children4=&age4_1=&age4_2=&age4_3=&baseC=$newcurrency'><img src='../../bk-admin/images/topdestinations/$cityinventorylocalData[image_topdestination]'></a></td>
						<td>
						&nbsp;<a href='hotel-list.php?sort=pricelow&typesort=price&destino=$cityinventorylocalData[element_name]&city_id=$cityinventorylocalData[element_id]&checkin=$datetoday&checkout=$datetomorrow&rooms=1&adults=2&children=0&age=&age2=&age3=&adults2=&children2=&age2_1=&age2_2=&age2_3=&adults3=&children3=&age3_1=&age3_2=&age3_3=&adults4=&children4=&age4_1=&age4_2=&age4_3=&baseC=$newcurrency'><span class='topdescity'>$cityinventorylocalData[element_name]</span></a><br>
						&nbsp;from <span class='topdes'>$currencysymbol".number_format($finalprice, 2, '.', '')."</span></span>
						</td>
					</tr>
				</tbody>
		</table>";
    }
}
?>