Code Context <div class="row" >
<div class="col-md-12 nomargin paddingstar" >
<div class="col-md-6 col-lg-6 col-sm-6 col-xs-6 nomargin"> <?php if($deals['Deal']['rating']!=0){ echo $this->element('rating',array('ratval'=>$deals[0]['Deal']['rating'])); }else{?><img src="/images/star/grey_5.png" /><?php }?> </div>
$viewFile = '/home/repairnow/public_html/app/View/Services/index.ctp'
$dataForView = array(
'deal' => array(
(int) 0 => array(
'Deal' => array(
[maximum depth reached]
)
)
),
'mobileservice' => array(
(int) 0 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'services' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'services' => array(
[maximum depth reached]
)
)
),
'brands' => array(
(int) 0 => array(
'id' => '54',
'brand_name' => 'Nokia'
),
(int) 1 => array(
'id' => '44',
'brand_name' => 'Samsung'
),
(int) 2 => array(
'id' => '46',
'brand_name' => 'Sony'
),
(int) 3 => array(
'id' => '55',
'brand_name' => 'Apple'
),
(int) 4 => array(
'id' => '47',
'brand_name' => 'LG'
),
(int) 5 => array(
'id' => '48',
'brand_name' => 'Blackberry'
),
(int) 6 => array(
'id' => '49',
'brand_name' => 'HTC'
),
(int) 7 => array(
'id' => '50',
'brand_name' => 'Motorola'
)
),
'title_for_layout' => 'Repairnow.com.au'
)
$deal = array(
(int) 0 => array(
'Deal' => array(
'id' => '73',
'store_id' => '66e6770a94af001c624d228c048b6d74',
'title' => 'iPhone 5S Screen Repair Service',
'store_name' => 'VG Phones',
'store_logo' => '091541logovgnew1.jpg',
'services' => 'Touch screen faults',
'price' => '99.00',
'offerprice' => '79.00',
'rating' => '2.11235955056',
'reviews' => '89',
'status' => 'Yes',
'created' => '2015-03-03 09:26:01',
'modified' => '2015-03-03 09:26:01'
)
)
)
$mobileservice = array(
(int) 0 => array(
'services' => array(
'id' => '12',
'service' => 'Charging faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 1 => array(
'services' => array(
'id' => '13',
'service' => 'Housing replacements',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 2 => array(
'services' => array(
'id' => '1',
'service' => 'Lcd faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 3 => array(
'services' => array(
'id' => '9',
'service' => 'Liquid damage faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 4 => array(
'services' => array(
'id' => '6',
'service' => 'Microphone faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 5 => array(
'services' => array(
'id' => '11',
'service' => 'Not powering up faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 6 => array(
'services' => array(
'id' => '7',
'service' => 'Signal faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 7 => array(
'services' => array(
'id' => '10',
'service' => 'Software faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 8 => array(
'services' => array(
'id' => '5',
'service' => 'Speaker faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 9 => array(
'services' => array(
'id' => '4',
'service' => 'Touch screen faults',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
),
(int) 10 => array(
'services' => array(
'id' => '14',
'service' => 'Unlocking',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
)
)
$brands = array(
(int) 0 => array(
'id' => '54',
'brand_name' => 'Nokia'
),
(int) 1 => array(
'id' => '44',
'brand_name' => 'Samsung'
),
(int) 2 => array(
'id' => '46',
'brand_name' => 'Sony'
),
(int) 3 => array(
'id' => '55',
'brand_name' => 'Apple'
),
(int) 4 => array(
'id' => '47',
'brand_name' => 'LG'
),
(int) 5 => array(
'id' => '48',
'brand_name' => 'Blackberry'
),
(int) 6 => array(
'id' => '49',
'brand_name' => 'HTC'
),
(int) 7 => array(
'id' => '50',
'brand_name' => 'Motorola'
)
)
$title_for_layout = 'Repairnow.com.au'
$cbunny = array(
'APP_PATH' => 'http://repairnow.com.au/'
)
$brand = array(
'id' => '50',
'brand_name' => 'Motorola'
)
$servic = array(
'services' => array(
'id' => '14',
'service' => 'Unlocking',
'status' => 'Yes',
'created' => '2014-09-26 00:00:00',
'modified' => '2014-09-26 00:00:00'
)
)
$deals = array(
'Deal' => array(
'id' => '73',
'store_id' => '66e6770a94af001c624d228c048b6d74',
'title' => 'iPhone 5S Screen Repair Service',
'store_name' => 'VG Phones',
'store_logo' => '091541logovgnew1.jpg',
'services' => 'Touch screen faults',
'price' => '99.00',
'offerprice' => '79.00',
'rating' => '2.11235955056',
'reviews' => '89',
'status' => 'Yes',
'created' => '2015-03-03 09:26:01',
'modified' => '2015-03-03 09:26:01'
)
)
$store = object(Store) {
useDbConfig => 'default'
useTable => 'stores'
id => false
data => array()
schemaName => 'repairno_repair'
table => 'stores'
primaryKey => 'id'
validate => array()
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Store'
alias => 'Store'
tableToModel => array(
'stores' => 'Store'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'user_id' => array(
[maximum depth reached]
),
'store_name' => array(
[maximum depth reached]
),
'abn' => array(
[maximum depth reached]
),
'position' => array(
[maximum depth reached]
),
'shop_phone' => array(
[maximum depth reached]
),
'shop_business_address' => array(
[maximum depth reached]
),
'website' => array(
[maximum depth reached]
),
'store_services' => array(
[maximum depth reached]
),
'shop_facility' => array(
[maximum depth reached]
),
'opening_hours' => array(
[maximum depth reached]
),
'about' => array(
[maximum depth reached]
),
'logo' => array(
[maximum depth reached]
),
'state' => array(
[maximum depth reached]
),
'city' => array(
[maximum depth reached]
),
'post_code' => array(
[maximum depth reached]
),
'rating' => array(
[maximum depth reached]
),
'review' => array(
[maximum depth reached]
),
'status' => array(
[maximum depth reached]
),
'created' => array(
[maximum depth reached]
),
'modified' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
$storedatas = array(
'Store' => array(
'id' => '161',
'user_id' => '66e6770a94af001c624d228c048b6d74',
'store_name' => 'VG Phones',
'abn' => '58133558933',
'position' => 'manager',
'shop_phone' => '0394214357',
'shop_business_address' => 'shop 25a/620 victoria street richmond vic 3121',
'website' => 'www.vgphones.com.au',
'store_services' => 'Charging faults, Housing replacements, Keypad faults, Lcd faults, Lens replacement, Liquid damage faults, Microphone faults, Not powering up faults, Ribbon faults, Security codes reset, Signal faults, Software faults, Speaker faults, Touch screen faults, Unlocking',
'shop_facility' => 'American Express, Drop off service, EFTPOS, Fleet Cards, Visa & Mastercard, Waiting Lounge',
'opening_hours' => 'Monday 9.00 AM to 5.30 PM, Tueday 9.00 AM to 5.30 PM, Wednesday 9.00 AM to 5.30 PM, Thursday 9.00 AM to 7.30 PM, Friday 9.00 AM to 7.30 PM, Saturday 9.00 AM to 5.30 PM, Sunday 10.00 AM to 5.00 PM',
'about' => 'VG Phones is a mobile phones repairing shop where you can repair your mobile phones in a very short time of 30 minutes. All kind of unlocked mobile phones are available here. At VG Phones, you can find all kind of accessories like batteries, chargers, mobile cases, covers, sim cards, wireless & bluetooth devices, headphones etc. We also repair laptops and computers at cheapest prices.',
'logo' => '091541logovgnew1.jpg',
'state' => '4',
'city' => '205',
'post_code' => '3121',
'rating' => '2.11235955056',
'review' => '89',
'status' => 'Yes',
'created' => '2015-03-03 09:11:04',
'modified' => '2015-03-03 09:11:04'
)
)
$now = (int) 1582765646
$your_date = (int) 1425374761
$difference = (int) 157390885
$diff = (float) 60include - APP/View/Services/index.ctp, line 242
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108