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()
),
"title_for_layout" => "LAGZIRA BEACH :: 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" => "1317",
"user_id" => "4532",
"name" => "LAGZIRA BEACH",
"category_id" => "1133",
"subcategory_id" => "1577",
"price" => "50.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "50.00",
"minimum_orders" => "2",
"completed_orders" => null,
"description" => "<p>An excursion of about 300 km through the territories extends south of Agadir, you meet different kinds of landscapes on your route: the first contrasts of the Anti-Atlas, the region of Souss, and You can go for a walk in the wild beaches of AGLOU, and Do not miss the beach of LGZIRA with its geological arcs<br><br>South of Agadir at 150 km and north of sidi Ifni, the most incredible beach of Morocco with its huge arches of rocks and red earth dug by the sea ,,, it is impressive ,,<br><br>The beach of lagzira rocks is the true nature of Morocco, wonderful nature ,, beach really isolated and desert deserves the detour .<br></p>",
"short_description" => "",
"slug" => "lagzira-beach",
"status" => "1",
"created" => "2025-08-05 12:34:24",
"modified" => "2025-08-05 12:35:07"
),
"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()
)
)
$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()
)
)
$title_for_layout = "LAGZIRA BEACH :: 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/1754411707_87.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.