Merge branch 'develop' into gli-2122
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
{if isset($id_module)}
|
||||
{hook h='displayGDPRConsent' id_module=$id_module}
|
||||
{/if}
|
||||
{hook h='displayNewsletterFormFieldsAfter'}
|
||||
<button type="submit" name="submitNewsletter" class="btn button button-medium newsletter-btn">
|
||||
<span>{l s='Subscribe' mod='blocknewsletter'}</span>
|
||||
</button>
|
||||
|
||||
@@ -183,10 +183,10 @@ class HotelBranchInformation extends ObjectModel
|
||||
|
||||
/* Query definition */
|
||||
$query = 'REPLACE INTO `'._DB_PREFIX_.'htl_access` (`id_profile`, `id_hotel`, `access`)';
|
||||
$query .= ' VALUES '.'(1, '.(int)$idHotel.', 1)';
|
||||
$query .= ' VALUES '.'('.(int) _PS_ADMIN_PROFILE_.', '.(int)$idHotel.', 1)';
|
||||
/* Profile selection */
|
||||
$profiles = Db::getInstance()->executeS('SELECT `id_profile` FROM '._DB_PREFIX_.'profile WHERE `id_profile` != 1');
|
||||
if (!$profiles || empty($profiles)) {
|
||||
$profiles = Db::getInstance()->executeS('SELECT `id_profile` FROM '._DB_PREFIX_.'profile WHERE `id_profile` != '.(int) _PS_ADMIN_PROFILE_);
|
||||
if ($profiles) {
|
||||
foreach ($profiles as $profile) {
|
||||
$access = 0;
|
||||
if (isset($context->employee->id_profile)) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -141,9 +141,30 @@ class WkHotelInteriorImage extends ObjectModel
|
||||
$languages = Language::getLanguages(false);
|
||||
$HOTEL_INTERIOR_HEADING = array();
|
||||
$HOTEL_INTERIOR_DESCRIPTION = array();
|
||||
$htlInteriorHeadingLang = array(
|
||||
'en' => 'Explore the Interiors!',
|
||||
'nl' => 'Verken de interieurs!',
|
||||
'fr' => 'Explorez les intérieurs!',
|
||||
'de' => 'Entdecken Sie die Innenräume!',
|
||||
'ru' => 'Исследуйте интерьеры!',
|
||||
'es' => '¡Explora los interiores!',
|
||||
);
|
||||
$htlInteriorDescLang = array(
|
||||
'en' => 'Step into the sophisticated elegance of our hotel, where every detail is designed with your comfort in mind.',
|
||||
'nl' => 'Stap in de verfijnde elegantie van ons hotel, waar elk detail is ontworpen met uw comfort in gedachten.',
|
||||
'fr' => 'Entrez dans l\'élégance sophistiquée de notre hôtel, où chaque détail est conçu pour votre confort.',
|
||||
'de' => 'Treten Sie ein in die raffinierte Eleganz unseres Hotels, wo jedes Detail mit Ihrem Komfort im Hinterkopf gestaltet ist.',
|
||||
'ru' => 'Погрузитесь в утонченную элегантность нашего отеля, где каждая деталь создана с заботой о вашем комфорте.',
|
||||
'es' => 'Sumérgete en la elegancia sofisticada de nuestro hotel, donde cada detalle está diseñado pensando en tu comodidad.',
|
||||
);
|
||||
foreach ($languages as $lang) {
|
||||
$HOTEL_INTERIOR_HEADING[$lang['id_lang']] = 'Interior';
|
||||
$HOTEL_INTERIOR_DESCRIPTION[$lang['id_lang']] = 'Families travelling with kids will find Amboseli national park a safari destination matched to no other, with less tourist traffic, breathtaking open space.';
|
||||
if (isset($htlInteriorHeadingLang[$lang['iso_code']])) {
|
||||
$HOTEL_INTERIOR_HEADING[$lang['id_lang']] = $htlInteriorHeadingLang[$lang['iso_code']];
|
||||
$HOTEL_INTERIOR_DESCRIPTION[$lang['id_lang']] = $htlInteriorDescLang[$lang['iso_code']];
|
||||
} else {
|
||||
$HOTEL_INTERIOR_HEADING[$lang['id_lang']] = $htlInteriorHeadingLang['en'];
|
||||
$HOTEL_INTERIOR_DESCRIPTION[$lang['id_lang']] = $htlInteriorDescLang['en'];
|
||||
}
|
||||
}
|
||||
// update global configuration values in multilang
|
||||
Configuration::updateValue('HOTEL_INTERIOR_HEADING', $HOTEL_INTERIOR_HEADING);
|
||||
|
||||
@@ -139,24 +139,124 @@ class WkHotelFeaturesData extends ObjectModel
|
||||
public function insertModuleDemoData()
|
||||
{
|
||||
$languages = Language::getLanguages(false);
|
||||
$htlAmenitiesHeading = array(
|
||||
'en' => 'Amenities',
|
||||
'nl' => 'Voorzieningen',
|
||||
'fr' => 'Équipements',
|
||||
'de' => 'Ausstattung',
|
||||
'ru' => 'Удобства',
|
||||
'es' => 'Servicios',
|
||||
);
|
||||
$htlAmenitiesDescription = array(
|
||||
'en' => 'Experience luxury at our hotel with top-notch amenities. Enjoy our fitness center, rejuvenating spa, serene outdoor pool, and exquisite dining.',
|
||||
'nl' => 'Ervaar luxe in ons hotel met eersteklas voorzieningen. Geniet van ons fitnesscentrum, verjongende spa, rustige buitenzwembad en voortreffelijk dineren.',
|
||||
'fr' => 'Découvrez le luxe dans notre hôtel avec des équipements de premier ordre. Profitez de notre centre de remise en forme, de notre spa revitalisant, de notre piscine extérieure paisible et de notre restaurant exquis.',
|
||||
'de' => 'Erleben Sie Luxus in unserem Hotel mit erstklassigen Annehmlichkeiten. Genießen Sie unser Fitnesscenter, das belebende Spa, den ruhigen Außenpool und das exquisite Essen.',
|
||||
'ru' => 'Испытайте роскошь в нашем отеле с первоклассными удобствами. Наслаждайтесь нашим фитнес-центром, омолаживающим спа, спокойным открытым бассейном и изысканной кухней.',
|
||||
'es' => 'Experimenta el lujo en nuestro hotel con servicios de primera clase. Disfruta de nuestro gimnasio, spa rejuvenecedor, tranquila piscina al aire libre y exquisita gastronomía.',
|
||||
);
|
||||
|
||||
$HOTEL_AMENITIES_HEADING = array();
|
||||
$HOTEL_AMENITIES_DESCRIPTION = array();
|
||||
foreach ($languages as $lang) {
|
||||
$HOTEL_AMENITIES_HEADING[$lang['id_lang']] = 'Amenities';
|
||||
$HOTEL_AMENITIES_DESCRIPTION[$lang['id_lang']] = 'Families travelling with kids will find Amboseli national park a safari destination matched to no other, with less tourist traffic, breathtaking open space.';
|
||||
if (isset($htlAmenitiesHeading[$lang['iso_code']])) {
|
||||
$HOTEL_AMENITIES_HEADING[$lang['id_lang']] = $htlAmenitiesHeading[$lang['iso_code']];
|
||||
$HOTEL_AMENITIES_DESCRIPTION[$lang['id_lang']] = $htlAmenitiesDescription[$lang['iso_code']];
|
||||
} else {
|
||||
$HOTEL_AMENITIES_HEADING[$lang['id_lang']] = $htlAmenitiesHeading['en'];
|
||||
$HOTEL_AMENITIES_DESCRIPTION[$lang['id_lang']] = $htlAmenitiesDescription['en'];
|
||||
}
|
||||
}
|
||||
|
||||
Configuration::updateValue('HOTEL_AMENITIES_HEADING', $HOTEL_AMENITIES_HEADING);
|
||||
Configuration::updateValue('HOTEL_AMENITIES_DESCRIPTION', $HOTEL_AMENITIES_DESCRIPTION);
|
||||
|
||||
$amenityTitle = array('luxurious Rooms', 'World class cheffs', 'Restaurants', 'Gym & Spa');
|
||||
$amenityDescription = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry`s standard dummy text ever since the 1500s';
|
||||
$amenityDemoData = array(
|
||||
array(
|
||||
'name' => array(
|
||||
'en' => 'Luxurious Rooms',
|
||||
'nl' => 'Luxe kamers',
|
||||
'fr' => 'Chambres luxueuses',
|
||||
'de' => 'Luxuriöse Zimmer',
|
||||
'ru' => 'Роскошные номера',
|
||||
'es' => 'Habitaciones lujosas',
|
||||
),
|
||||
'description' => array(
|
||||
'en' => 'Experience unparalleled comfort in our luxurious rooms, featuring premium amenities and stunning views of the lake or cityscape.',
|
||||
'nl' => 'Ervaar ongeëvenaard comfort in onze luxe kamers, met eersteklas voorzieningen en adembenemend uitzicht op het meer of de stad.',
|
||||
'fr' => 'Vivez un confort inégalé dans nos chambres luxueuses, dotées d\'équipements haut de gamme et offrant une vue imprenable sur le lac ou la ville.',
|
||||
'de' => 'Erleben Sie unvergleichlichen Komfort in unseren luxuriösen Zimmern mit erstklassigen Annehmlichkeiten und atemberaubendem Blick auf den See oder die Stadt.',
|
||||
'ru' => 'Испытайте непревзойденный комфорт в наших роскошных номерах, оборудованных первоклассными удобствами и с захватывающим видом на озеро или городской пейзаж.',
|
||||
'es' => 'Disfruta de un confort inigualable en nuestras lujosas habitaciones, que cuentan con servicios premium y vistas impresionantes al lago o a la ciudad.',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'name' => array(
|
||||
'en' => 'World class chefs',
|
||||
'nl' => 'Topkoks',
|
||||
'fr' => 'Chefs de renommée mondiale',
|
||||
'de' => 'Weltklasse-Köche',
|
||||
'ru' => 'Шеф-повара мирового класса',
|
||||
'es' => 'Chefs de clase mundial',
|
||||
),
|
||||
'description' => array(
|
||||
'en' => 'Experience culinary excellence with world-class chefs, where gourmet dishes are crafted from the finest local ingredients.',
|
||||
'nl' => 'Ervaar culinaire excellentie met topkoks, waar gourmetgerechten worden bereid met de beste lokale ingrediënten.',
|
||||
'fr' => 'Découvrez l\'excellence culinaire avec des chefs de renommée mondiale, où des plats gastronomiques sont élaborés à partir des meilleurs ingrédients locaux.',
|
||||
'de' => 'Erleben Sie kulinarische Exzellenz mit Weltklasse-Köchen, wo Gourmetgerichte aus den feinsten lokalen Zutaten kreiert werden.',
|
||||
'ru' => 'Исследуйте кулинарное искусство с шеф-поварами мирового класса, где гурманские блюда создаются из лучших местных ингредиентов.',
|
||||
'es' => 'Experimenta la excelencia culinaria con chefs de clase mundial, donde se elaboran platos gourmet con los mejores ingredientes locales.',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'name' => array(
|
||||
'en' => 'Restaurants',
|
||||
'nl' => 'Restaurants',
|
||||
'fr' => 'Restaurants',
|
||||
'de' => 'Restaurants',
|
||||
'ru' => 'Рестораны',
|
||||
'es' => 'Restaurantes',
|
||||
),
|
||||
'description' => array(
|
||||
'en' => 'Savor exquisite dining at our restaurant, where a delightful menu is crafted from the finest local ingredients.',
|
||||
'nl' => 'Geniet van voortreffelijk dineren in ons restaurant, waar een heerlijk menu wordt bereid met de beste lokale ingrediënten.',
|
||||
'fr' => 'Dégustez une cuisine exquise dans notre restaurant, où un menu délicieux est élaboré à partir des meilleurs ingrédients locaux.',
|
||||
'de' => 'Genießen Sie exquisites Essen in unserem Restaurant, wo ein köstliches Menü aus den feinsten lokalen Zutaten kreiert wird.',
|
||||
'ru' => 'Наслаждайтесь изысканным ужином в нашем ресторане, где прекрасное меню создано из лучших местных ингредиентов.',
|
||||
'es' => 'Disfruta de una comida exquisita en nuestro restaurante, donde se elabora un delicioso menú con los mejores ingredientes locales.',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'name' => array(
|
||||
'en' => 'Gym & Spa',
|
||||
'nl' => 'Fitness & Spa',
|
||||
'fr' => 'Gym & Spa',
|
||||
'de' => 'Fitness & Spa',
|
||||
'ru' => 'Фитнес и Спа',
|
||||
'es' => 'Gimnasio y Spa',
|
||||
),
|
||||
'description' => array(
|
||||
'en' => 'Rejuvenate with our state-of-the-art gym and spa, offering a sanctuary for relaxation and fitness.',
|
||||
'nl' => 'Kom tot rust in onze moderne fitness en spa, waar een oase van ontspanning en fitness wordt geboden.',
|
||||
'fr' => 'Revitalisez-vous avec notre salle de sport et spa dernier cri, offrant un sanctuaire pour la relaxation et la remise en forme.',
|
||||
'de' => 'Erholen Sie sich in unserem hochmodernen Fitnessstudio und Spa, das einen Rückzugsort für Entspannung und Fitness bietet.',
|
||||
'ru' => 'Восстановитесь в нашем современном фитнес-центре и спа, предлагающем убежище для релаксации и фитнеса.',
|
||||
'es' => 'Rejuvenezca con nuestro gimnasio y spa de última generación, que ofrece un santuario para la relajación y el fitness.',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
for ($i = 0; $i < 4; $i++) {
|
||||
$objFeatureData = new WkHotelFeaturesData();
|
||||
foreach ($languages as $lang) {
|
||||
$objFeatureData->feature_title[$lang['id_lang']] = $amenityTitle[$i];
|
||||
$objFeatureData->feature_description[$lang['id_lang']] = $amenityDescription;
|
||||
if (isset($amenityDemoData[$i]['name'][$lang['iso_code']])) {
|
||||
$objFeatureData->feature_title[$lang['id_lang']] = $amenityDemoData[$i]['name'][$lang['iso_code']];
|
||||
$objFeatureData->feature_description[$lang['id_lang']] = $amenityDemoData[$i]['description'][$lang['iso_code']];
|
||||
} else {
|
||||
$objFeatureData->feature_title[$lang['id_lang']] = $amenityDemoData[$i]['name']['en'];
|
||||
$objFeatureData->feature_description[$lang['id_lang']] = $amenityDemoData[$i]['description']['en'];
|
||||
}
|
||||
}
|
||||
|
||||
$objFeatureData->active = 1;
|
||||
$objFeatureData->position = WkHotelFeaturesData::getHigherPosition();
|
||||
if ($objFeatureData->save()) {
|
||||
|
||||
@@ -156,9 +156,30 @@ class WkHotelRoomDisplay extends ObjectModel
|
||||
$languages = Language::getLanguages(false);
|
||||
$HOTEL_ROOM_DISPLAY_HEADING = array();
|
||||
$HOTEL_ROOM_DISPLAY_DESCRIPTION = array();
|
||||
$htlRoomHeading = array(
|
||||
'en' => 'Our Rooms',
|
||||
'nl' => 'Onze Kamers',
|
||||
'fr' => 'Nos Chambres',
|
||||
'de' => 'Unsere Zimmer',
|
||||
'ru' => 'Наши номера',
|
||||
'es' => 'Nuestras Habitaciones',
|
||||
);
|
||||
$htlRoomDesc = array(
|
||||
'en' => 'Relax in the comfort of our rooms. With modern amenities, serene decor, and stunning lake or city views, each room offers a peaceful retreat for your stay.',
|
||||
'nl' => 'Ontspan in het comfort van onze kamers. Met moderne voorzieningen, een serene inrichting en een prachtig uitzicht op het meer of de stad, biedt elke kamer een rustige toevluchtsoord voor uw verblijf.',
|
||||
'fr' => 'Détendez-vous dans le confort de nos chambres. Avec des équipements modernes, une décoration sereine et une vue imprenable sur le lac ou la ville, chaque chambre offre un refuge paisible pour votre séjour.',
|
||||
'de' => 'Entspannen Sie im Komfort unserer Zimmer. Mit modernen Annehmlichkeiten, ruhiger Dekoration und herrlichem Blick auf den See oder die Stadt bietet jeder Raum einen friedlichen Rückzugsort für Ihren Aufenthalt.',
|
||||
'ru' => 'Отдохните в комфорте наших номеров. С современными удобствами, спокойным декором и потрясающим видом на озеро или город, каждый номер предлагает мирное убежище для вашего пребывания.',
|
||||
'es' => 'Relájese en la comodidad de nuestras habitaciones. Con comodidades modernas, decoración serena e impresionantes vistas al lago o a la ciudad, cada habitación ofrece un retiro tranquilo para su estancia.',
|
||||
);
|
||||
foreach ($languages as $lang) {
|
||||
$HOTEL_ROOM_DISPLAY_HEADING[$lang['id_lang']] = 'Our Rooms';
|
||||
$HOTEL_ROOM_DISPLAY_DESCRIPTION[$lang['id_lang']] = 'Families travelling with kids will find Amboseli national park a safari destination matched to no other, with less tourist traffic, breathtaking open space.';
|
||||
if (isset($htlRoomHeading[$lang['iso_code']])) {
|
||||
$HOTEL_ROOM_DISPLAY_HEADING[$lang['id_lang']] = $htlRoomHeading[$lang['iso_code']];
|
||||
$HOTEL_ROOM_DISPLAY_DESCRIPTION[$lang['id_lang']] = $htlRoomDesc[$lang['iso_code']];
|
||||
} else {
|
||||
$HOTEL_ROOM_DISPLAY_HEADING[$lang['id_lang']] = $htlRoomHeading['en'];
|
||||
$HOTEL_ROOM_DISPLAY_DESCRIPTION[$lang['id_lang']] = $htlRoomDesc['en'];
|
||||
}
|
||||
}
|
||||
|
||||
// update global configuration values in multilang
|
||||
|
||||
@@ -140,19 +140,75 @@ class WkHotelTestimonialData extends ObjectModel
|
||||
$languages = Language::getLanguages(false);
|
||||
$HOTEL_TESIMONIAL_BLOCK_HEADING = array();
|
||||
$HOTEL_TESIMONIAL_BLOCK_CONTENT = array();
|
||||
$htlTestimonialHeading = array(
|
||||
'en' => 'What our guests say?',
|
||||
'nl' => 'Wat zeggen onze gasten?',
|
||||
'fr' => 'Que disent nos clients?',
|
||||
'de' => 'Was sagen unsere Gäste?',
|
||||
'ru' => 'Что говорят наши гости?',
|
||||
'es' => '¿Qué dicen nuestros huéspedes?',
|
||||
);
|
||||
$htlTestimonialContent = array(
|
||||
'en' => 'Here are some valuable feedbacks from our guests.',
|
||||
'nl' => 'Hier zijn enkele waardevolle feedback van onze gasten.',
|
||||
'fr' => 'Voici quelques retours précieux de nos clients.',
|
||||
'de' => 'Hier sind einige wertvolle Rückmeldungen von unseren Gästen.',
|
||||
'ru' => 'Вот некоторые ценные отзывы от наших гостей.',
|
||||
'es' => 'Aquí hay algunos comentarios valiosos de nuestros huéspedes.',
|
||||
);
|
||||
|
||||
foreach ($languages as $lang) {
|
||||
$HOTEL_TESIMONIAL_BLOCK_HEADING[$lang['id_lang']] = 'What our guests say?';
|
||||
$HOTEL_TESIMONIAL_BLOCK_CONTENT[$lang['id_lang']] = 'Fap put a bird on it next level, sustainable disrupt polaroid flannel Helvetica Kickstarter quinoa bicycle rights narwhal wolf Fap put a bird on it next level.';
|
||||
if (isset($htlTestimonialHeading[$lang['iso_code']])) {
|
||||
$HOTEL_TESIMONIAL_BLOCK_HEADING[$lang['id_lang']] = $htlTestimonialHeading[$lang['iso_code']];
|
||||
$HOTEL_TESIMONIAL_BLOCK_CONTENT[$lang['id_lang']] = $htlTestimonialContent[$lang['iso_code']];
|
||||
} else {
|
||||
$HOTEL_TESIMONIAL_BLOCK_HEADING[$lang['id_lang']] = $htlTestimonialHeading['en'];
|
||||
$HOTEL_TESIMONIAL_BLOCK_CONTENT[$lang['id_lang']] = $htlTestimonialContent['en'];
|
||||
}
|
||||
}
|
||||
|
||||
// update global configuration values in multilang
|
||||
Configuration::updateValue('HOTEL_TESIMONIAL_BLOCK_HEADING', $HOTEL_TESIMONIAL_BLOCK_HEADING);
|
||||
Configuration::updateValue('HOTEL_TESIMONIAL_BLOCK_CONTENT', $HOTEL_TESIMONIAL_BLOCK_CONTENT);
|
||||
|
||||
$designations = array(0 => 'Eon Comics CEO', 1 => 'Ken Comics Kal', 2 => 'Jan Comics Joe');
|
||||
$names = array(0 => 'Calrk Kent', 1 => 'Calrk Kent', 2 => 'Calrk Kent');
|
||||
|
||||
$testimonialContent = "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy.";
|
||||
$testimonialDemoContent = array(
|
||||
0 => array(
|
||||
'name' => 'Steve Rogers',
|
||||
'designation' => 'Eon Comics CEO',
|
||||
'content' => array(
|
||||
'en' => 'As a frequent traveler, I can confidently say Hotel Prime stands out for its tranquil environment and exceptional hospitality. The View Room provided a perfect retreat with its stunning cityscape views and comfortable accommodations.',
|
||||
'nl' => 'Als frequente reiziger kan ik met vertrouwen zeggen dat Hotel Prime opvalt door zijn rustige omgeving en uitzonderlijke gastvrijheid. De View Room bood een perfecte toevluchtsoord met een prachtig uitzicht op de stad en comfortabele accommodaties.',
|
||||
'fr' => 'En tant que voyageur fréquent, je peux dire avec confiance que l\'Hôtel Prime se distingue par son environnement tranquille et son hospitalité exceptionnelle. La View Room offrait un refuge parfait avec sa vue imprenable sur la ville et ses aménagements confortables.',
|
||||
'de' => 'Als häufiger Reisender kann ich mit Zuversicht sagen, dass das Hotel Prime durch seine ruhige Umgebung und außergewöhnliche Gastfreundschaft hervorsticht. Das View Room bot einen perfekten Rückzugsort mit atemberaubendem Stadtblick und komfortablen Unterkünften.',
|
||||
'ru' => 'Как частый путешественник, я могу с уверенностью сказать, что отель Prime выделяется своим спокойным окружением и исключительным гостеприимством. Номер с видом стал идеальным убежищем с потрясающими видами на город и комфортными условиями проживания.',
|
||||
'es' => 'Como viajero frecuente, puedo decir con confianza que el Hotel Prime se destaca por su entorno tranquilo y su hospitalidad excepcional. La View Room proporcionó un refugio perfecto con sus impresionantes vistas de la ciudad y cómodas habitaciones.',
|
||||
),
|
||||
),
|
||||
1 => array(
|
||||
'name' => 'Calrk Kent',
|
||||
'designation' => 'Ken Comics Kal',
|
||||
'content' => array(
|
||||
'en' => 'Hotel Prime surpassed my expectations in every way. The Executive Room was not only luxurious but also provided a peaceful retreat with its stunning lake views. The attention to detail and personalized service made my stay truly memorable. I highly recommend Hotel Prime for both business and leisure travelers looking for a blend of comfort and sophistication.',
|
||||
'nl' => 'Hotel Prime overtrof mijn verwachtingen op alle vlakken. De Executive Room was niet alleen luxe, maar bood ook een rustig toevluchtsoord met een prachtig uitzicht op het meer. De aandacht voor detail en de persoonlijke service maakten mijn verblijf echt onvergetelijk. Ik beveel Hotel Prime ten zeerste aan voor zowel zakenreizigers als vakantiegangers die op zoek zijn naar een combinatie van comfort en verfijning.',
|
||||
'fr' => 'L\'Hôtel Prime a dépassé mes attentes à tous égards. La Chambre Exécutive était non seulement luxueuse mais offrait également un refuge paisible avec sa vue imprenable sur le lac. L\'attention aux détails et le service personnalisé ont rendu mon séjour vraiment mémorable. Je recommande vivement l\'Hôtel Prime aux voyageurs d\'affaires et de loisirs à la recherche d\'un mélange de confort et de sophistication.',
|
||||
'de' => 'Das Hotel Prime hat meine Erwartungen in jeder Hinsicht übertroffen. Das Executive Zimmer war nicht nur luxuriös, sondern bot auch einen friedlichen Rückzugsort mit atemberaubendem Seeblick. Die Liebe zum Detail und der persönliche Service machten meinen Aufenthalt wirklich unvergesslich. Ich empfehle das Hotel Prime sowohl Geschäftsreisenden als auch Urlaubern, die Komfort und Eleganz suchen, wärmstens.',
|
||||
'ru' => 'Отель Prime превзошел все мои ожидания. Номер Executive был не только роскошным, но и предоставлял спокойное убежище с потрясающим видом на озеро. Внимание к деталям и персонализированный сервис сделали мое пребывание по-настоящему незабываемым. Я настоятельно рекомендую отель Prime как деловым путешественникам, так и туристам, ищущим сочетание комфорта и утонченности.',
|
||||
'es' => 'El Hotel Prime superó mis expectativas en todos los sentidos. La Habitación Ejecutiva no solo era lujosa, sino que también ofrecía un refugio tranquilo con sus impresionantes vistas al lago. La atención al detalle y el servicio personalizado hicieron que mi estancia fuera realmente memorable. Recomiendo encarecidamente el Hotel Prime tanto para viajeros de negocios como de placer que buscan una combinación de comodidad y sofisticación.',
|
||||
),
|
||||
),
|
||||
2 => array(
|
||||
'name' => 'John Doe',
|
||||
'designation' => 'Jan Comics Joe',
|
||||
'content' => array(
|
||||
'en' => 'My stay at Hotel Prime was absolutely rejuvenating. The Executive Room was spacious, elegant, and offered breathtaking lake views. The staff’s attention to detail and impeccable service made my business trip both productive and relaxing.',
|
||||
'nl' => 'Mijn verblijf in Hotel Prime was absoluut verkwikkend. De Executive Room was ruim, elegant en bood een adembenemend uitzicht op het meer. De aandacht voor detail en de onberispelijke service van het personeel maakten mijn zakenreis zowel productief als ontspannend.',
|
||||
'fr' => 'Mon séjour à l\'Hôtel Prime a été absolument revitalisant. La Chambre Exécutive était spacieuse, élégante et offrait une vue imprenable sur le lac. L\'attention aux détails et le service impeccable du personnel ont rendu mon voyage d\'affaires à la fois productif et relaxant.',
|
||||
'de' => 'Mein Aufenthalt im Hotel Prime war absolut erholsam. Das Executive Zimmer war geräumig, elegant und bot einen atemberaubenden Blick auf den See. Die Liebe zum Detail und der tadellose Service des Personals machten meine Geschäftsreise sowohl produktiv als auch entspannend.',
|
||||
'ru' => 'Мое пребывание в отеле Prime было абсолютно восстанавливающим. Номер Executive был просторным, элегантным и предлагал захватывающий вид на озеро. Внимание к деталям и безупречное обслуживание персонала сделали мою деловую поездку как продуктивной, так и расслабляющей.',
|
||||
'es' => 'Mi estancia en el Hotel Prime fue absolutamente rejuvenecedora. La Habitación Ejecutiva era espaciosa, elegante y ofrecía impresionantes vistas al lago. La atención al detalle y el servicio impecable del personal hicieron que mi viaje de negocios fuera productivo y relajante.',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
for ($i = 0; $i < 3; $i++) {
|
||||
$srcPath = _PS_MODULE_DIR_.'wktestimonialblock/views/img/dummy_img/'.($i+1).'.png';
|
||||
@@ -166,10 +222,14 @@ class WkHotelTestimonialData extends ObjectModel
|
||||
)) {
|
||||
|
||||
$objTestimonialData = new WkHotelTestimonialData();
|
||||
$objTestimonialData->name = $names[$i];
|
||||
$objTestimonialData->designation = $designations[$i];
|
||||
$objTestimonialData->name = $testimonialDemoContent[$i]['name'];
|
||||
$objTestimonialData->designation = $testimonialDemoContent[$i]['designation'];
|
||||
foreach ($languages as $lang) {
|
||||
$objTestimonialData->testimonial_content[$lang['id_lang']] = $testimonialContent;
|
||||
if (isset($testimonialDemoContent[$i]['content'][$lang['iso_code']])) {
|
||||
$objTestimonialData->testimonial_content[$lang['id_lang']] = $testimonialDemoContent[$i]['content'][$lang['iso_code']];
|
||||
} else {
|
||||
$objTestimonialData->testimonial_content[$lang['id_lang']] = $testimonialDemoContent[$i]['content']['en'];
|
||||
}
|
||||
}
|
||||
$objTestimonialData->position = $this->getHigherPosition();
|
||||
$objTestimonialData->testimonial_image = ($i+1).'.jpg';
|
||||
|
||||
Reference in New Issue
Block a user