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" => "Experience the best of Morocco on our 7-days Tangier back to Tangier :: 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" => "1519",
"user_id" => "5370",
"name" => "Experience the best of Morocco on our 7-days Tangier back to Tangier",
"category_id" => "1770",
"subcategory_id" => "1782",
"price" => "2500.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "100.00",
"minimum_orders" => "2",
"completed_orders" => null,
"description" => "<p><a href="http://Www.discover-morocco-tours.com" target="_blank">Www.discover-morocco-tours.com</a> <span style="caret-color: rgb(102, 102, 102); color: rgb(102, 102, 102); font-family: Barlow, sans-serif; font-size: 15px; text-align: justify; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-text-size-adjust: 100%;">-day journey from Tangier to Tangier, delving into the essence of Morocco by exploring its most renowned cities. Our experienced drivers and local guides will accompany you, ensuring you witness the beauty of Morocco firsthand. Anticipate discovering the charm of four imperial cities—Marrakech, Meknes, Fes, and Rabat. Immerse yourself in the enchanting blue-hued streets of Chefchaouen, experience guided tours in Fes and Marrakech, and wander through the ancient Roman ruins of Volubilis. This itinerary promises a captivating exploration of Morocco's diverse and rich cultural tapestry.</span></p>",
"short_description" => "",
"slug" => "experience-the-best-of-morocco-on-our-7-days-tangier-back-to-tangier",
"status" => "1",
"created" => "2025-08-17 12:41:55",
"modified" => "2025-08-17 12:41:55"
),
"User" => array(
"id" => "5370",
"membership" => "2",
"old_membership" => null,
"company_name" => "Discover Morocco Tours",
"unique_id" => "discover6",
"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" => "Abdenacerelhour@gmail.com",
"gender" => null,
"password" => "*****",
"street2" => "",
"city" => "",
"state" => "",
"country" => "",
"latitude" => "",
"longitude" => "",
"address" => "",
"country_id" => null,
"state_id" => null,
"city_id" => null,
"street" => "Hay Jdid N134 Rue 7 ZOUAGHA HAUT FES Morocco Morocco",
"building_number" => "Hay Jdid N134 Rue 7 ZOUAGHA HAUT FES",
"zipcode" => "0000",
"chairman" => "Discover Morocco Tours",
"ein" => null,
"industry_id" => "51",
"subindustry_id" => "1374",
"est_year" => "2010",
"employers" => "30",
"bank_account_number" => null,
"branch_name" => null,
"paypal_email" => null,
"certificates" => "",
"certificate_number" => null,
"company_logo" => "1755436955_R.png",
"background_img" => "1755436955_RR.png",
"slider_img" => "",
"forget_password_status" => null,
"slug" => "discover-morocco-tours",
"status" => "1",
"show_own_post" => null,
"created" => "2025-08-17 09:22:35",
"modified" => "2025-08-17 09:22:35",
"activation_status" => "1",
"last_login" => "1755448449",
"ip" => "105.190.130.68",
"about_us" => null,
"twitter" => null,
"facebook" => null,
"linkedin" => null,
"watch_status" => "0",
"phone" => "6633-07864",
"phone_code" => "+212",
"fax" => null,
"website" => "https://www.discover-morocco-tours.com/",
"hide_notification" => "0",
"clickid" => "D-21191700-1750753670-34G67G135G94-HTQED6350",
"sale" => "{pass_sale_amount}",
"pass_affid" => "631471",
"pass_sub_affid" => "replace_it",
"bot_send_datetime" => "2025-08-21 13:00:03",
"bot_ids" => "1,2",
"bot_last_message_number" => "2",
"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" => "1"
),
"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" => "1782",
"name" => "Travel Tours",
"parent_id" => "1770",
"type" => "1",
"slug" => "travel-tours",
"status" => "1",
"created" => "2025-08-06 04:39:54",
"modified" => "2025-08-06 04:39:54",
"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 = "Experience the best of Morocco on our 7-days Tangier back to Tangier :: Stafir"
$firstImage = "https://stafir.com/files/service/full/1755448744_473aaaa0-af8b-4785-908a-e7fe7895af6d.jpeg"
$image = array(
"id" => "2363",
"service_id" => "1518",
"image" => "1755448744_473aaaa0-af8b-4785-908a-e7fe7895af6d.jpeg",
"slug" => "202508171239041518206",
"status" => "1",
"created" => "2025-08-17 12:39:04",
"modified" => "2025-08-17 12:39:04"
)
$pathinfo = array(
"dirname" => ".",
"basename" => "1755448744_473aaaa0-af8b-4785-908a-e7fe7895af6d.jpeg",
"extension" => "jpeg",
"filename" => "1755448744_473aaaa0-af8b-4785-908a-e7fe7895af6d"
)
$imageUrl = "https://stafir.com/files/service/full/1755448915_5444fed6-0de1-4b71-891f-9a08dfab213a.jpeg"
$filePath = "/home/stafir/htdocs/stafir.com/app/webroot/files/logo/1755436955_R.png"
$total = 5
$avg = 0
$unavg = 5
$fillPercentage = 0
$i = 6
$relatedService = array(
"Service" => array(
"id" => "1518",
"user_id" => "5370",
"name" => "Experience the best of Morocco on our 10 days Casablanca Desert Tours",
"category_id" => "1770",
"subcategory_id" => "1782",
"price" => "3500.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "100.00",
"minimum_orders" => "",
"completed_orders" => null,
"description" => "<p><span style="caret-color: rgb(102, 102, 102); color: rgb(102, 102, 102); font-family: Barlow, sans-serif; font-size: 15px; text-align: justify; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-text-size-adjust: 100%;">Embark on an extraordinary 10-day Morocco tour from Casablanca with Discover Morocco Tours. Immerse yourself in the allure of the four imperial cities – Rabat, Meknes, Fes, and Marrakech. Explore the ancient Roman ruins of Volubilis and traverse the breathtaking Middle and High Atlas Mountains. Delight in the splendors of the Sahara Desert, experiencing a captivating camel trek in Merzouga. Discover enchanting valleys like Ziz and Todra, fortified towns including Ait Ben Haddou, and picturesque gorges like Dades. Visit the renowned film studios in Ouarzazate and indulge in a special guided tour of Essaouira. With an itinerary carefully crafted for cultural richness and historical exploration, your journey includes guided tours of each destination, providing insights into the mesmerizing facets of Moroccan heritage.</span><br></p>",
"short_description" => "",
"slug" => "experience-the-best-of-morocco-on-our-10-days-casablanca-desert-tours",
"status" => "1",
"created" => "2025-08-17 12:39:04",
"modified" => "2025-08-17 12:39:04"
),
"User" => array(
"id" => "5370",
"membership" => "2",
"old_membership" => null,
"company_name" => "Discover Morocco Tours",
"unique_id" => "discover6",
"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" => "Abdenacerelhour@gmail.com",
"gender" => null,
"password" => "*****",
"street2" => "",
"city" => "",
"state" => "",
"country" => "",
"latitude" => "",
"longitude" => "",
"address" => "",
"country_id" => null,
"state_id" => null,
"city_id" => null,
"street" => "Hay Jdid N134 Rue 7 ZOUAGHA HAUT FES Morocco Morocco",
"building_number" => "Hay Jdid N134 Rue 7 ZOUAGHA HAUT FES",
"zipcode" => "0000",
"chairman" => "Discover Morocco Tours",
"ein" => null,
"industry_id" => "51",
"subindustry_id" => "1374",
"est_year" => "2010",
"employers" => "30",
"bank_account_number" => null,
"branch_name" => null,
"paypal_email" => null,
"certificates" => "",
"certificate_number" => null,
"company_logo" => "1755436955_R.png",
"background_img" => "1755436955_RR.png",
"slider_img" => "",
"forget_password_status" => null,
"slug" => "discover-morocco-tours",
"status" => "1",
"show_own_post" => null,
"created" => "2025-08-17 09:22:35",
"modified" => "2025-08-17 09:22:35",
"activation_status" => "1",
"last_login" => "1755448449",
"ip" => "105.190.130.68",
"about_us" => null,
"twitter" => null,
"facebook" => null,
"linkedin" => null,
"watch_status" => "0",
"phone" => "6633-07864",
"phone_code" => "+212",
"fax" => null,
"website" => "https://www.discover-morocco-tours.com/",
"hide_notification" => "0",
"clickid" => "D-21191700-1750753670-34G67G135G94-HTQED6350",
"sale" => "{pass_sale_amount}",
"pass_affid" => "631471",
"pass_sub_affid" => "replace_it",
"bot_send_datetime" => "2025-08-21 13:00:03",
"bot_ids" => "1,2",
"bot_last_message_number" => "2",
"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" => "1"
),
"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" => "1782",
"name" => "Travel Tours",
"parent_id" => "1770",
"type" => "1",
"slug" => "travel-tours",
"status" => "1",
"created" => "2025-08-06 04:39:54",
"modified" => "2025-08-06 04:39:54",
"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.