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(),
"title_for_layout" => "Sri Lanka Tour Package :: 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" => "546",
"user_id" => "2489",
"name" => "Sri Lanka Tour Package",
"category_id" => "1770",
"subcategory_id" => "1771",
"price" => "200.00",
"unit_type" => "0",
"unit_of_measure" => "",
"unit_value" => "",
"delivery_cost" => "200.00",
"minimum_orders" => "1",
"completed_orders" => null,
"description" => "<p>Our products :</p><p><br></p><p>Sri Lanka Tour Package</p><p><br></p><p>Sri Lanka Multi Day Tours </p><p><br></p><p>Sri Lanka Day Tour </p><p><br></p><p>Sri Lanka Honeymoon Tours </p><p><br></p><p>Maldives Tour package </p><p><br></p><p>Sinharaja Rainforest Tour </p><p><br></p><p>Udawalawe National Park Safari </p><p><br></p><p>Yala National Park Safari </p><p><br></p><p>Sri Lanka Car Hire </p><p><br></p><p>Sri Lanka Van Hire </p><p><br></p><p>Thank you :)</p>",
"short_description" => "",
"slug" => "sri-lanka-tour-package",
"status" => "1",
"created" => "2025-04-27 03:06:27",
"modified" => "2025-04-27 03:06:27"
),
"User" => array(
"id" => "2489",
"membership" => "2",
"old_membership" => null,
"company_name" => "Emerald Luxury Travels",
"unique_id" => "emeraldl2",
"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" => "ahamedgc@yahoo.com",
"gender" => null,
"password" => "*****",
"street2" => "",
"city" => "",
"state" => "",
"country" => "",
"latitude" => "",
"longitude" => "",
"address" => "",
"country_id" => null,
"state_id" => null,
"city_id" => null,
"street" => "106, Colombo Road Kaluwella, Galle. Southern Province. Sri Lanka. 80000",
"building_number" => "106, Colombo Road Kaluwella",
"zipcode" => "80000",
"chairman" => "Luxury Travels",
"ein" => "",
"industry_id" => "51",
"subindustry_id" => "1372",
"est_year" => "2014",
"employers" => "20",
"bank_account_number" => null,
"branch_name" => null,
"paypal_email" => null,
"certificates" => "",
"certificate_number" => "",
"company_logo" => "1745736858_Screenshot-2025-04-27-085336.png",
"background_img" => "1745736858_Screenshot-2025-04-27-085401.png",
"slider_img" => "",
"forget_password_status" => "0",
"slug" => "emerald-luxury-travels",
"status" => "1",
"show_own_post" => null,
"created" => "2025-04-27 02:54:18",
"modified" => "2025-06-04 22:24:54",
"activation_status" => "1",
"last_login" => "1749090397",
"ip" => "123.231.120.160",
"about_us" => null,
"twitter" => "",
"facebook" => "",
"linkedin" => "",
"watch_status" => "0",
"phone" => "770 286 418",
"phone_code" => "+94",
"fax" => "",
"website" => "https://emeraldluxurytravels.com/",
"hide_notification" => "0",
"clickid" => "D-21191700-1745736384-34G30G170G228-OEIFQ1079",
"sale" => "{pass_sale_amount}",
"pass_affid" => "571350",
"pass_sub_affid" => "",
"bot_send_datetime" => "2025-05-19 02:40:02",
"bot_ids" => "1,2,3,4,5,6,7,8,9,10",
"bot_last_message_number" => "10",
"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" => "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()
$title_for_layout = "Sri Lanka Tour Package :: Stafir"
$firstImage = "https://stafir.com/files/service/full/1745737587_Screenshot_20250427_123359_Gallery.jpg"
$image = array(
"id" => "1118",
"service_id" => "546",
"image" => "1745737587_Screenshot_20250427_123359_Gallery.jpg",
"slug" => "20250427030627546678",
"status" => "1",
"created" => "2025-04-27 03:06:27",
"modified" => "2025-04-27 03:06:27"
)
$pathinfo = array(
"dirname" => ".",
"basename" => "1745737587_Screenshot_20250427_123359_Gallery.jpg",
"extension" => "jpg",
"filename" => "1745737587_Screenshot_20250427_123359_Gallery"
)
$imageUrl = "https://stafir.com/files/service/full/1745737587_Screenshot_20250427_123359_Gallery.jpg"
$filePath = "/home/stafir/htdocs/stafir.com/app/webroot/files/logo/1745736858_Screenshot-2025-04-27-085336.png"
$total = 5
$avg = 0
$unavg = 5
$fillPercentage = 0
$i = 6
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.