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(),
array(),
array(),
array()
),
"title_for_layout" => "ESSAOUIRA 1 DAY TRIP FROM AGADIR :: 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" => "1316",
"user_id" => "4532",
"name" => "ESSAOUIRA 1 DAY TRIP FROM AGADIR",
"category_id" => "1770",
"subcategory_id" => "1771",
"price" => "35.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "35.00",
"minimum_orders" => "2",
"completed_orders" => null,
"description" => "<p>Departure at 7h:20 am from your hotel.about 170 km by main road to Essaouira,offers some pleasant exploration.3 hours driving to arrive to Essaouira with photos stops in the way :<br><br>After 60 km,stop in a nice panoramic view<br><br>Second stop to see "flying goats " on the way and information about Argan tree.<br><br>Relax and café in a berber village<br><br>Visit the Argan Oil production factory.<br><br>The programe includes visit of the medina (old city),Scala (great sea bastion) ,fishing port,jewish quarter and a nice place with lots of character and very relaxing.after lunch you will have your free time to admire the city beauty...<br><br>The return will be around 16h by the same route to go ... arrival scheduled at 19h00<br></p>",
"short_description" => "The Medina of Essaouira, formerly named Mogador (name originating from the Phoenician word Migdol meaning a « small fortress »), is an outstanding example of a fortified town of the mid-eighteenth century, surrounded by a wall influenced by the Vauban model. Constructed according to the principles of contemporary European military architecture, in a North African context, in perfect harmony with the precepts of Arabo-Muslim architecture and town-planning, it has played a major role over the centuries as an international trading seaport, linking Morocco and sub-Saharan Africa with Europe and the rest of the world. The town is also an example of a multicultural centre as proven by the coexistence, since its foundation, of diverse ethnic groups, such as the Amazighs, Arabs, Africans, and Europeans as well as multiconfessional (Muslim, Christian and Jewish). Indissociable from the Medina, the Mogador archipelago comprises a large number of cultural and natural sites .",
"slug" => "essaouira-1-day-trip-from-agadir",
"status" => "1",
"created" => "2025-08-05 12:18:13",
"modified" => "2025-08-05 12:18:13"
),
"User" => array(
"id" => "4532",
"membership" => "2",
"old_membership" => null,
"company_name" => "Bakhazouz Tours",
"unique_id" => "Bakhazouz1",
"membership_paid" => "1",
"membership_update" => "1",
"subscription_id" => null,
"customer_id" => null,
"expires_at" => "1786710358",
"cs_id" => null,
"payment_method" => null,
"first_name" => null,
"last_name" => null,
"email_address" => "Bakhazouz.tours@gmail.com",
"gender" => null,
"password" => "*****",
"street2" => "",
"city" => "",
"state" => "",
"country" => "",
"latitude" => "",
"longitude" => "",
"address" => "",
"country_id" => null,
"state_id" => null,
"city_id" => null,
"street" => "31/1 Fondation Hassan 2 Avenue Med 5 Agadir 80010,Morocco",
"building_number" => "31/1 Fondation Hassan 2 ",
"zipcode" => "80010",
"chairman" => "Bakhazouz Tours",
"ein" => "7697",
"industry_id" => "51",
"subindustry_id" => "1374",
"est_year" => "2016",
"employers" => "30",
"bank_account_number" => "IBAN : MA64 2300 1027 7959 3211 0002 0051 ",
"branch_name" => "BANK CIH",
"paypal_email" => "tripforu@hotmail.com",
"certificates" => "1755104691_rgc-bakhzouz.jpg",
"certificate_number" => "",
"company_logo" => "1754181539_Screenshot-2025-08-03-073834.png",
"background_img" => "1754181539_Screenshot-2025-08-03-073845.png",
"slider_img" => "1754411211_04--1-.jpg,1754411211_5e.jpg,1754411211_06.jpg,1754411211_7a.jpg,1754411211_77.jpg",
"forget_password_status" => null,
"slug" => "bakhazouz-tours",
"status" => "1",
"show_own_post" => null,
"created" => "2025-08-02 20:38:59",
"modified" => "2025-08-13 13:05:15",
"activation_status" => "1",
"last_login" => "1755176534",
"ip" => "102.52.154.193",
"about_us" => null,
"twitter" => "",
"facebook" => "",
"linkedin" => "",
"watch_status" => "0",
"phone" => "6714-50987",
"phone_code" => "+212",
"fax" => "",
"website" => "https://www.bakhazouztours.com/",
"hide_notification" => "0",
"clickid" => "D-21191700-1754181191-34G10G233G245-RWUIQ9014",
"sale" => "{pass_sale_amount}",
"pass_affid" => "631471",
"pass_sub_affid" => "replace_it",
"bot_send_datetime" => "2025-08-13 21:40:03",
"bot_ids" => "1,2,3,4,5,6,7,8,9",
"bot_last_message_number" => "9",
"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()
),
array(
"Service" => array(),
"User" => array(),
"Category" => array(),
"SubCategory" => array(),
"ServiceImage" => array()
),
array(
"Service" => array(),
"User" => array(),
"Category" => array(),
"SubCategory" => array(),
"ServiceImage" => array()
),
array(
"Service" => array(),
"User" => array(),
"Category" => array(),
"SubCategory" => array(),
"ServiceImage" => array()
)
)
$title_for_layout = "ESSAOUIRA 1 DAY TRIP FROM AGADIR :: Stafir"
$firstImage = "https://stafir.com/files/service/full/1754236292_agadirexperience-vallee_du_paradis-parradise.valley.jpg"
$image = array(
"id" => "1980",
"service_id" => "1271",
"image" => "1754236292_agadirexperience-vallee_du_paradis-parradise.valley.jpg",
"slug" => "202508031151321271548",
"status" => "1",
"created" => "2025-08-03 11:51:32",
"modified" => "2025-08-03 11:51:32"
)
$pathinfo = array(
"dirname" => ".",
"basename" => "1754236292_agadirexperience-vallee_du_paradis-parradise.valley.jpg",
"extension" => "jpg",
"filename" => "1754236292_agadirexperience-vallee_du_paradis-parradise.valley"
)
$imageUrl = "https://stafir.com/files/service/full/1754410693_essaouira.jpg"
$filePath = "/home/stafir/htdocs/stafir.com/app/webroot/files/logo/1754181539_Screenshot-2025-08-03-073834.png"
$total = 5
$avg = 0
$unavg = 5
$fillPercentage = 0
$i = 6
$relatedService = array(
"Service" => array(
"id" => "1271",
"user_id" => "4532",
"name" => "Paradise valley",
"category_id" => "1133",
"subcategory_id" => "1577",
"price" => "25.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "25.00",
"minimum_orders" => "2",
"completed_orders" => null,
"description" => "",
"short_description" => "The paradise valley also called the green valley; Thanks to the verdant landscape throughout the wadi; Where spring water flows almost all year round. A valley allowing the relaxation, and the escape of the stress of the agglomerations of the big cities to be in full nature.
The walk can be done preferentially during the morning.",
"slug" => "paradise-valley",
"status" => "1",
"created" => "2025-08-03 11:51:32",
"modified" => "2025-08-03 11:51:32"
),
"User" => array(
"id" => "4532",
"membership" => "2",
"old_membership" => null,
"company_name" => "Bakhazouz Tours",
"unique_id" => "Bakhazouz1",
"membership_paid" => "1",
"membership_update" => "1",
"subscription_id" => null,
"customer_id" => null,
"expires_at" => "1786710358",
"cs_id" => null,
"payment_method" => null,
"first_name" => null,
"last_name" => null,
"email_address" => "Bakhazouz.tours@gmail.com",
"gender" => null,
"password" => "*****",
"street2" => "",
"city" => "",
"state" => "",
"country" => "",
"latitude" => "",
"longitude" => "",
"address" => "",
"country_id" => null,
"state_id" => null,
"city_id" => null,
"street" => "31/1 Fondation Hassan 2 Avenue Med 5 Agadir 80010,Morocco",
"building_number" => "31/1 Fondation Hassan 2 ",
"zipcode" => "80010",
"chairman" => "Bakhazouz Tours",
"ein" => "7697",
"industry_id" => "51",
"subindustry_id" => "1374",
"est_year" => "2016",
"employers" => "30",
"bank_account_number" => "IBAN : MA64 2300 1027 7959 3211 0002 0051 ",
"branch_name" => "BANK CIH",
"paypal_email" => "tripforu@hotmail.com",
"certificates" => "1755104691_rgc-bakhzouz.jpg",
"certificate_number" => "",
"company_logo" => "1754181539_Screenshot-2025-08-03-073834.png",
"background_img" => "1754181539_Screenshot-2025-08-03-073845.png",
"slider_img" => "1754411211_04--1-.jpg,1754411211_5e.jpg,1754411211_06.jpg,1754411211_7a.jpg,1754411211_77.jpg",
"forget_password_status" => null,
"slug" => "bakhazouz-tours",
"status" => "1",
"show_own_post" => null,
"created" => "2025-08-02 20:38:59",
"modified" => "2025-08-13 13:05:15",
"activation_status" => "1",
"last_login" => "1755176534",
"ip" => "102.52.154.193",
"about_us" => null,
"twitter" => "",
"facebook" => "",
"linkedin" => "",
"watch_status" => "0",
"phone" => "6714-50987",
"phone_code" => "+212",
"fax" => "",
"website" => "https://www.bakhazouztours.com/",
"hide_notification" => "0",
"clickid" => "D-21191700-1754181191-34G10G233G245-RWUIQ9014",
"sale" => "{pass_sale_amount}",
"pass_affid" => "631471",
"pass_sub_affid" => "replace_it",
"bot_send_datetime" => "2025-08-13 21:40:03",
"bot_ids" => "1,2,3,4,5,6,7,8,9",
"bot_last_message_number" => "9",
"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" => "1133",
"name" => "Sightseeing",
"parent_id" => "0",
"type" => "1",
"slug" => "sightseeing",
"status" => "1",
"created" => "2024-05-31 06:45:11",
"modified" => "2024-05-31 08:45:10",
"parent_category_id" => null
),
"SubCategory" => array(
"id" => "1577",
"name" => "Travel agencies and tourist agencies",
"parent_id" => "1133",
"type" => "1",
"slug" => "travel-agencies-and-tourist-agencies",
"status" => "1",
"created" => "2024-05-31 08:37:14",
"modified" => "2024-05-31 08:37:14",
"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.