Code Context <div class="modal-body text-center">
<video controls autoplay muted style="max-width: 100%; height: auto;">
<source src="<?php echo $videos;?>" type="video/mp4">
$___viewFn = "/home/stafir/htdocs/stafir.com/app/View/Elements/users/services/services-detail.ctp"
$___dataForView = array(
"_user" => User
User::$name = "User"
User::$belongsTo = array
User::$useDbConfig = "default"
User::$useTable = "users"
User::$id = false
User::$data = array
User::$table = "users"
User::$primaryKey = "id"
User::$validate = array
User::$validationErrors = array
User::$validationDomain = NULL
User::$tablePrefix = "tbl_"
User::$alias = "User"
User::$tableToModel = array
User::$cacheQueries = false
User::$hasOne = array
User::$hasMany = array
User::$hasAndBelongsToMany = array
User::$actsAs = NULL
User::$Behaviors = BehaviorCollection object
User::$whitelist = array
User::$cacheSources = true
User::$findQueryType = NULL
User::$recursive = 1
User::$order = NULL
User::$virtualFields = array
User::$__backAssociation = array
User::$__backInnerAssociation = array
User::$__backOriginalAssociation = array
User::$__backContainableAssociation = array
User::$findMethods = array
User::$Country = Country object
User::$State = State object
User::$City = City object
User::$Industry = Industry object
User::$IndustrySubCategory = Industry object,
"service" => array(
"Service" => array(),
"User" => array(),
"Category" => array(),
"SubCategory" => array(),
"ServiceImage" => array()
),
"userid" => null,
"relatedServices" => array(
array()
),
"title_for_layout" => "2 Day Morocco Tour from Marrakech to Zagora :: Stafir"
)
$_user = User
User::$name = "User"
User::$belongsTo = array
User::$useDbConfig = "default"
User::$useTable = "users"
User::$id = false
User::$data = array
User::$table = "users"
User::$primaryKey = "id"
User::$validate = array
User::$validationErrors = array
User::$validationDomain = NULL
User::$tablePrefix = "tbl_"
User::$alias = "User"
User::$tableToModel = array
User::$cacheQueries = false
User::$hasOne = array
User::$hasMany = array
User::$hasAndBelongsToMany = array
User::$actsAs = NULL
User::$Behaviors = BehaviorCollection object
User::$whitelist = array
User::$cacheSources = true
User::$findQueryType = NULL
User::$recursive = 1
User::$order = NULL
User::$virtualFields = array
User::$__backAssociation = array
User::$__backInnerAssociation = array
User::$__backOriginalAssociation = array
User::$__backContainableAssociation = array
User::$findMethods = array
User::$Country = Country object
User::$State = State object
User::$City = City object
User::$Industry = Industry object
User::$IndustrySubCategory = Industry object
$service = array(
"Service" => array(
"id" => "533",
"user_id" => "1936",
"name" => "2 Day Morocco Tour from Marrakech to Zagora",
"category_id" => "1770",
"subcategory_id" => "1771",
"price" => "65.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "0.00",
"minimum_orders" => "2",
"completed_orders" => null,
"description" => "<p><br></p><p align="center"><b><a href="https://www.tours-from-marrakesh.com/shared-2days-marrakech-to-zagora-desert.html" target="_blank"><u><span style="font-family: "Comic Sans MS";">2 Day Morocco Tour from Marrakech to Zagora Desert</span></u></a></b><br></p><p><br><b><span style="font-family: "Impact"; background-color: rgb(247, 173, 107);"> 2 Day Sahara tour from Marrakech to Zagora Desert Itinerary:</span></b><br><br><b>Day 1 : Marrakech - Ouarzazate - Zagora Desert</b><br>Departure Everyday at 7h00 am From Marrakech stunning High Atlas Mountains through Tizi<br>n’Tichka (alt 2260 m). On the side of the mountains you will see Berber farms and traditional<br>villages , Visit of Ait ben Haddou Casabah before we arrive to Ouarzazate named “Hollywood<br>of Morocco” stop for lunch then visit Taourirt Kasbah before we continue south over the Tizi-<br>n-Tnifift pass untill we arrive to Agdz and drive nearby Draa Valley rich of Palm plantations<br>along the way then stop in one of the amazing panoramic to to see the ocean of palm trees </p><p>Continue to Zagora there your camels waiting for you to start your camels trip about t 2hrs<br>spend the night under nomadic tent on the Sahara Desert..</p><p><br><b>Day 2 : Zagora – Ouarzazate - Marrakech</b><br>After seeing the sunrise we go back on camels, after the breakfast we will start our journey<br>backing to Marrakech, with Other Visit on the way, arrive to Marrakech Around 17h00</p><ul><li><br><b>What is Included?</b><br> Hotel pickup and drop-off in Marrakech<br> Transportation by air-conditioned minibus<br> English-speaking driver<br> Camel trek in the Zagora dunes at sunset and sunrise<br> Standard accommodation in a Berber desert camp with hot showers and toilets<br>outside your private tent<br> Dinner and breakfast included in camp<br> Free time to eplore the Cites as Ait Ben Haddou Kasbah, Ourzazate, Cenima<br>Studios..<br><b>What’s Not Included</b><br> Lunches<br> Drinks</li></ul><p><br></p><p>More details about Morocco Tours from Marrakech: https://www.tours-from-marrakesh.com</p>",
"short_description" => "If you don’t have enough time for long days desert trips, therefore, live a Berber condensed
experience on a 2-days desert trip to Zagora from Marrakech. Accommodate in a traditional
desert camp in the Moroccan Sahara, witness sunrise and sunset views from the camelback
and enjoy one of the shortest trips in Morocco",
"slug" => "2-day-tour-from-marrakech-to-zagora",
"status" => "1",
"created" => "2025-04-25 11:25:35",
"modified" => "2025-04-25 12:06:06"
),
"User" => array(
"id" => "1936",
"membership" => "2",
"old_membership" => null,
"company_name" => "Go Sahara Tours",
"unique_id" => "GoSaharaTours#3",
"membership_paid" => "0",
"membership_update" => "2",
"subscription_id" => null,
"customer_id" => null,
"expires_at" => null,
"cs_id" => null,
"payment_method" => null,
"first_name" => null,
"last_name" => null,
"email_address" => "gst.morocco@gmail.com",
"gender" => null,
"password" => "*****",
"street2" => "",
"city" => "Marrakesh",
"state" => "Marrakesh-Safi",
"country" => "Morocco",
"latitude" => "31.6340978",
"longitude" => "-7.9739223",
"address" => "Kawtar, Marrakesh 40000, Morocco",
"country_id" => null,
"state_id" => null,
"city_id" => null,
"street" => "Kawtar, Marrakesh, Morocco",
"building_number" => "2",
"zipcode" => "460",
"chairman" => "Abdou",
"ein" => null,
"industry_id" => "51",
"subindustry_id" => "1374",
"est_year" => "2008",
"employers" => "90",
"bank_account_number" => null,
"branch_name" => null,
"paypal_email" => null,
"certificates" => "",
"certificate_number" => null,
"company_logo" => "1744748553_Screenshot_2025-04-16-02-22-01-00_40deb401b9ffe8e1df2f1cc5ba480b12.jpg",
"background_img" => "",
"slider_img" => "",
"forget_password_status" => null,
"slug" => "go-sahara-tours",
"status" => "1",
"show_own_post" => null,
"created" => "2025-04-15 16:22:33",
"modified" => "2025-04-25 12:31:31",
"activation_status" => "1",
"last_login" => "1745594181",
"ip" => "196.84.49.197",
"about_us" => "<div><span style="font-family:-apple-system,helveticaneue;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">We
offer a wide range of Morocco activities, Excursions and Tours from
Marrakech to the Sahara desert including Camel Trek from Marrakech to
Merzouga Dunes, Erg Chebbi and Chegaga , all our Morocco </span><span style="font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:garamond,"times new roman",serif;font-size:large;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">Sahara Desert </span><span style="font-family:-apple-system,helveticaneue;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">Tours
from Marrakech available Daily from Marrakech. We can help you to put
together your perfect Morocco Trips, excursions and tours of a lifetime!
Our sample Morocco Tours will give you an idea of the various tour
possibilities offered. We pride ourselves in not only our unique trips
and customer response, but in the intimate, local, sustainable, and
responsible manner in which our clients. Read More about Morocco Tours </span><a href="https://www.tours-from-marrakesh.com/" target="_blank">https://www.tours-from-marrakesh.com/</a><span style="font-family:-apple-system,helveticaneue;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></span></div><p><br></p>",
"twitter" => null,
"facebook" => null,
"linkedin" => null,
"watch_status" => "0",
"phone" => "6619-21523",
"phone_code" => "+212",
"fax" => null,
"website" => "https://www.tours-from-marrakesh.com",
"hide_notification" => "0",
"clickid" => "D-21191700-1744748262-35G202G109G55-FRWJU8092",
"sale" => "{pass_sale_amount}",
"pass_affid" => "621321",
"pass_sub_affid" => "",
"bot_send_datetime" => null,
"bot_ids" => null,
"bot_last_message_number" => "0",
"fakeSales" => null,
"fakeTransactions" => null,
"fakeFollowers" => null,
"description_avg" => null,
"delivery_avg" => null,
"contact_avg" => null,
"professionalism_avg" => null,
"total_fake_avg" => null,
"bar1_trading" => null,
"bar2" => null,
"bar3" => null,
"bar4" => null,
"bar5" => null,
"bar6" => null,
"bar7" => null,
"bar1_sales" => null,
"bar2_sales" => null,
"bar3_sales" => null,
"bar4_sales" => null,
"bar5_sales" => null,
"bar6_sales" => null,
"bar7_sales" => null,
"cron_status" => "0"
),
"Category" => array(
"id" => "1770",
"name" => "Travel",
"parent_id" => "0",
"type" => "1",
"slug" => "travel-1",
"status" => "1",
"created" => "2025-04-06 04:56:23",
"modified" => "2025-04-06 04:56:23",
"parent_category_id" => null
),
"SubCategory" => array(
"id" => "1771",
"name" => "Travel Agency",
"parent_id" => "1770",
"type" => "1",
"slug" => "travel-agency",
"status" => "1",
"created" => "2025-04-06 04:56:42",
"modified" => "2025-04-06 04:56:42",
"parent_category_id" => null
),
"ServiceImage" => array(
array()
)
)
$userid = null
$relatedServices = array(
array(
"Service" => array(),
"User" => array(),
"Category" => array(),
"SubCategory" => array(),
"ServiceImage" => array()
)
)
$title_for_layout = "2 Day Morocco Tour from Marrakech to Zagora :: Stafir"
$firstImage = "https://stafir.com/files/service/full/1745597618_3-days-fes-desert-trip-to-marrakech.jpg"
$image = array(
"id" => "1105",
"service_id" => "535",
"image" => "1745597618_3-days-fes-desert-trip-to-marrakech.jpg",
"slug" => "20250425121338535454",
"status" => "1",
"created" => "2025-04-25 12:13:38",
"modified" => "2025-04-25 12:13:38"
)
$pathinfo = array(
"dirname" => ".",
"basename" => "1745597618_3-days-fes-desert-trip-to-marrakech.jpg",
"extension" => "jpg",
"filename" => "1745597618_3-days-fes-desert-trip-to-marrakech"
)
$imageUrl = "https://stafir.com/files/service/full/1745594735_2-days-tour-from-fes-to-merzouga-1.jpg"
$filePath = "/home/stafir/htdocs/stafir.com/app/webroot/files/logo/1744748553_Screenshot_2025-04-16-02-22-01-00_40deb401b9ffe8e1df2f1cc5ba480b12.jpg"
$total = 5
$avg = 0
$unavg = 5
$fillPercentage = 0
$i = 6
$relatedService = array(
"Service" => array(
"id" => "535",
"user_id" => "1936",
"name" => "3 Day Morocco Tour from Marrakech to Fez",
"category_id" => "1770",
"subcategory_id" => "1771",
"price" => "140.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "0.00",
"minimum_orders" => "2",
"completed_orders" => null,
"description" => "<ul><li><h2 align="center"><span style="background-color: rgb(231, 148, 57);"><a href="https://www.tours-from-marrakesh.com/3days-marrakech-to-fez-desert-tour.html" target="_blank"> 3 days Marrakech to Fez Sahara Tour</a></span></h2><br>Take an exciting trip to the desert from Marrakech to Fez and enjoy the chance to combine<br>the imperial cities of Morocco in 3 days in the desert. Spend a night in a Sahara camp in<br>Merzouga and enjoy a camel ride while discovering the secrets of local spots. Booking this 3-<br>day tour will allow you to experience a Berber adventure like a nomad for a short time.<br><br><h4><u><a href="https://www.tours-from-marrakesh.com/3days-marrakech-to-fez-desert-tour.html" target="_blank">Below is the Private 3 Days Marrakech to Fez Sahara Tour Highlight:</a></u></h4><b> Visit Kasbah Ait Ben Haddou and the old Kasbah of Amridil.<br> Cross Ouarzazate, the Valley of Roses, the Todra Valley, and the Valley of Dades<br> Enjoy the big dunes of Merzouga by camel.<br> Admire sunrise and sunset.<br> Overnight camping around the campfire after a traditional dinner.<br> Explore a scenic route through the High Atlas via the Tichka Pass at an altitude of<br>2260m.</b><br><br><blockquote><b><u><a href="https://www.tours-from-marrakesh.com/3days-marrakech-to-fez-desert-tour.html" target="_blank">Here is the itinerary of 3 Days Marrakech to Fez Sahara Tour</a></u></b></blockquote></li><li><br><b>Day 1: Marrakech - Ait Benhaddou - Ouarzazate - Dades Valley / Gorges</b><br>Depart Everyday at 07:00 from Marrakesh to dades valley via the High Atlas mountains Tizi<br>n&#39;Tichka pass throughout the high Atlas Mountains we will have time to stop and enjoy<br>impressive landscapes and Berber hamlets, we will get the chance the visit the universal<br>Heritage Site of Ait Benhaddou Kasbah as it has been named by UNESCO in 1987. This<br>Berber Kasbahs which has been used as a very important destination for international<br>filmmakers for more than 20 films was also one of the most important fortress strongholds on<br>the old Salt Road where caravans brought slaves, gold, ivory, salt and silk from sub-Saharan<br>countries to Marrakech and beyond. We&#39;ll pass through Ouarzazate, or what we call<br>Hollywood of africa since it&#39;s has been as well a very famous destination for filmmakers, after<br>ouarzazate we will continue to dades valley , trough the megoun ,skoura (berber villages<br>around the valley) we will spend the night in dades valley.</li><li><br><b>Day 2 : Dades Gorges - Tenghir - Todra Gorges - Erfoud - Merzouga Dunes</b><br>After the breakfast, we go from Dades gorges to the erg chebbi Sahara desert in Merzouga.<br>Berber villages are scattered along the way, we’ll pass through Tinjdad, Jorf and Erfoud in<br>which we’ll feel the beginning of the Saharan oasis of Tafilalet, and the we continue to<br>Merzouga,after relaxing few minuts in Merzouga,we go to ride the camels who are waiting to<br>take us on an adventure in the sand dunes. we will spend the night in an camp(Nomad<br>berber tents) with drums music in the middle of the Sahara,this is a great opportunity to take<br>lovely pictures of the sunset and sunrise,when we arrive at the camp we go to a high dunes<br>to see the sunset , we will spend the night in nomad tents.</li><li><br><b>Day 3 : Erg Chebbi - Ziz Valley - Medilt - Ifrane - Fes</b><br>After an early sunrise, we ride the camels backing to Merzouga, after take shower an<br>breakfest we Will start our tour backing to fes. We stop on the road to enjoy having tea with a<br>nomadic family before we passing through the High Atlas mountains again. We stop by a<br>town called Midelt where we&#39;ll have lunch. This town is a very impressive mountain city at<br>1488 meters of altitude, well situated lower down the Jbel Ayachi (3737 m). In the afternoon<br>we will continue to the legendary city of Fes. Arrival to Fes Around 5h00pm<br><br><b>Tour Includes:</b></li><li><br> Transport in A/C Vehicle or minivan<br> English/French/Spanish speaking driver during the tour<br><h5> Pick up &amp; Drop off at you Marrakech / Fez Hotel</h5> 1 hour camel ride each way<br> Overnight in Desert camp with Private Tent<br> Overnight in a traditional comfortable hotel in Dades<br> Dinner and Breakfast are daily included<br> Free time to explore the sites, Breaks for photos,Etc<br> Customized &amp; Flexible stops<br> No Shopping stops</li><li><br><b>The price does not include:</b><br> Lunch<br> Drinks</li></ul><p><br></p><p><br></p><p><span style="font-family: "Arial Black";">More details:</span> https://www.tours-from-marrakesh.com/</p>",
"short_description" => "Morocco Tour from Marrakech to Fes via Sahara Desert",
"slug" => "3-day-morocco-tour-from-marrakech-to-fez",
"status" => "1",
"created" => "2025-04-25 12:13:38",
"modified" => "2025-04-25 12:13:38"
),
"User" => array(
"id" => "1936",
"membership" => "2",
"old_membership" => null,
"company_name" => "Go Sahara Tours",
"unique_id" => "GoSaharaTours#3",
"membership_paid" => "0",
"membership_update" => "2",
"subscription_id" => null,
"customer_id" => null,
"expires_at" => null,
"cs_id" => null,
"payment_method" => null,
"first_name" => null,
"last_name" => null,
"email_address" => "gst.morocco@gmail.com",
"gender" => null,
"password" => "*****",
"street2" => "",
"city" => "Marrakesh",
"state" => "Marrakesh-Safi",
"country" => "Morocco",
"latitude" => "31.6340978",
"longitude" => "-7.9739223",
"address" => "Kawtar, Marrakesh 40000, Morocco",
"country_id" => null,
"state_id" => null,
"city_id" => null,
"street" => "Kawtar, Marrakesh, Morocco",
"building_number" => "2",
"zipcode" => "460",
"chairman" => "Abdou",
"ein" => null,
"industry_id" => "51",
"subindustry_id" => "1374",
"est_year" => "2008",
"employers" => "90",
"bank_account_number" => null,
"branch_name" => null,
"paypal_email" => null,
"certificates" => "",
"certificate_number" => null,
"company_logo" => "1744748553_Screenshot_2025-04-16-02-22-01-00_40deb401b9ffe8e1df2f1cc5ba480b12.jpg",
"background_img" => "",
"slider_img" => "",
"forget_password_status" => null,
"slug" => "go-sahara-tours",
"status" => "1",
"show_own_post" => null,
"created" => "2025-04-15 16:22:33",
"modified" => "2025-04-25 12:31:31",
"activation_status" => "1",
"last_login" => "1745594181",
"ip" => "196.84.49.197",
"about_us" => "<div><span style="font-family:-apple-system,helveticaneue;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">We
offer a wide range of Morocco activities, Excursions and Tours from
Marrakech to the Sahara desert including Camel Trek from Marrakech to
Merzouga Dunes, Erg Chebbi and Chegaga , all our Morocco </span><span style="font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:garamond,"times new roman",serif;font-size:large;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">Sahara Desert </span><span style="font-family:-apple-system,helveticaneue;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">Tours
from Marrakech available Daily from Marrakech. We can help you to put
together your perfect Morocco Trips, excursions and tours of a lifetime!
Our sample Morocco Tours will give you an idea of the various tour
possibilities offered. We pride ourselves in not only our unique trips
and customer response, but in the intimate, local, sustainable, and
responsible manner in which our clients. Read More about Morocco Tours </span><a href="https://www.tours-from-marrakesh.com/" target="_blank">https://www.tours-from-marrakesh.com/</a><span style="font-family:-apple-system,helveticaneue;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)"><br></span></div><p><br></p>",
"twitter" => null,
"facebook" => null,
"linkedin" => null,
"watch_status" => "0",
"phone" => "6619-21523",
"phone_code" => "+212",
"fax" => null,
"website" => "https://www.tours-from-marrakesh.com",
"hide_notification" => "0",
"clickid" => "D-21191700-1744748262-35G202G109G55-FRWJU8092",
"sale" => "{pass_sale_amount}",
"pass_affid" => "621321",
"pass_sub_affid" => "",
"bot_send_datetime" => null,
"bot_ids" => null,
"bot_last_message_number" => "0",
"fakeSales" => null,
"fakeTransactions" => null,
"fakeFollowers" => null,
"description_avg" => null,
"delivery_avg" => null,
"contact_avg" => null,
"professionalism_avg" => null,
"total_fake_avg" => null,
"bar1_trading" => null,
"bar2" => null,
"bar3" => null,
"bar4" => null,
"bar5" => null,
"bar6" => null,
"bar7" => null,
"bar1_sales" => null,
"bar2_sales" => null,
"bar3_sales" => null,
"bar4_sales" => null,
"bar5_sales" => null,
"bar6_sales" => null,
"bar7_sales" => null,
"cron_status" => "0"
),
"Category" => array(
"id" => "1770",
"name" => "Travel",
"parent_id" => "0",
"type" => "1",
"slug" => "travel-1",
"status" => "1",
"created" => "2025-04-06 04:56:23",
"modified" => "2025-04-06 04:56:23",
"parent_category_id" => null
),
"SubCategory" => array(
"id" => "1771",
"name" => "Travel Agency",
"parent_id" => "1770",
"type" => "1",
"slug" => "travel-agency",
"status" => "1",
"created" => "2025-04-06 04:56:42",
"modified" => "2025-04-06 04:56:42",
"parent_category_id" => null
),
"ServiceImage" => array(
array()
)
)
include - APP/View/Elements/users/services/services-detail.ctp, line 542
View::_render() - CORE/Cake/View/View.php, line 595
View::render() - CORE/Cake/View/View.php, line 362
Controller::render() - CORE/Cake/Controller/Controller.php, line 900
UsersController::servicesDetail() - APP/Controller/UsersController.php, line 5033
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 473
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 104
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 86
[main] - APP/webroot/index.php, line 96
" type="video/mp4">
Your browser does not support the video tag.