- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
<div class="whitestar<?=preg_replace ("/^[^0-9\s]*$/","",$array[0]->OriginalStarName);?>" style="z-index:4;position:absolute;top:187px;left:196px;"></div>
<!--<div style="z-index:4;font-family:'Arial';font-weight:normal;font-size:9px;color:#000000;position:absolute;top:185px;left:250px;width:150px;"><input type=checkbox value='Сравнить' chechked><a href="#" style="color:#000000;border:0px;font-size:10px;text-decoration:underline;">Сравнить</a></div>-->
</div>
<div class="pr_cover">
<div style="z-index:26;font-family:'Arial';font-weight:bold;text-decoration:none;text-transform:uppercase;font-size:12px;color:#FFFFFF;position:absolute;top:18px;left:24px;width:100px;"><?=$array[0]->OriginalMealName;?></div>
<div style="z-index:26;font-family:'Arial';font-weight:normal;text-decoration:none;text-transform:none;font-size:12px;color:#FFFFFF;position:absolute;top:39px;left:24px;width:95px;">Цена указана за одного человека в номере <?=$array[0]->RoomName;?><br/> за <?=$array[0]->Nights;?> ночей<br/><a href=# style="font-family:'Arial';font-weight:normal;text-decoration:underline;text-transform:none;font-size:12px;color:#FFFFFF;border: 0px none;">На карте</a><div class="whitearrow" style="z-index:26;position:relative;top:-11px;left:55px;"></div></div>
<?//get hotel url for colorbox popup
//var_dump($array[0]);die();
$urlParams = "?HotelId={$array[0]->HotelId}"."&HotelName=".urlencode($array[0]->HotelName)."&CityFromName=".urlencode($array[0]->CityFromName)."&CountryName=".urlencode($array[0]->CountryName)."&ResortName=".urlencode($array[0]->ResortName)."&CheckInDate=".urlencode($array[0]->CheckInDate)."&Nights=".urlencode($array[0]->Nights)."&MealName=".urlencode($array[0]->MealName)."&Price=".urlencode($array[0]->Price)."&StarId=".urlencode($array[0]->StarId).'&RoomName=' . urlencode($array[0]->RoomName) . '&HotelDescriptionUrl=' . urlencode($array[0]->HotelDescriptionUrl);
$open_hotel_url = "http://_удалено_/stranica_informacii_ob_otele/" . $urlParams;
$open_contact_url = "http://_удалено_/oformlenie_zakaza_iframe/" . $urlParams;
$open_hotel_title=strtoupper($array[0]->CountryName).', '.$array[0]->ResortName;?>
<div style="z-index:26;position:absolute;top:182px;left:24px;width:100px;"><a href='<?=$open_hotel_url;?>' title='<?=$open_hotel_title?>' class='vitrina_open_hotel_popup' style="font-family:'Arial';font-weight:normal;text-decoration:underline;text-transform:none;font-size:12px;color:#FFFFFF;border: 0px none;">Подробнее</a></div>
<div class="whitearrow" style="z-index:26;position:absolute;top:185px;left:96px;"></div>
<div style="z-index:26;font-family:'Arial';font-weight:bold;text-decoration:none;text-transform:none;font-size:10px;color:#FFFFFF;position:absolute;top:18px;left:150px;width:160px;"><b style="text-transform:uppercase;">Стоимость включает:</b>
Это кусочек кода из проекта, в который меня пригласили "кое-что дописать".