Code Context $voted = $this->Rating->find('list',array('conditions'=>array('Rating.used_ips like'=>'%'.$ip.'%','Rating.id'=>$id),'fields' => array('Rating.used_ips')));
$rating_width = @number_format($current_rating/$count,2)*$rating_unitwidth;
$id = '35'
$name = array(
'Product' => array(
'id' => '35',
'title' => 'Hạt chống ẩm túi Cotton 1kg',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Hạt chống ẩm vỏ cotton dùng chống ẩm mốc cho giày dép, túi xách, quần áo , đồ mỹ nghệ, mây tre lá, dược phẩm, thực phẩm..</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/4-05270654.jpg',
'images_en' => '',
'catproduct_id' => '3',
'display' => '0',
'created' => '2019-04-09 17:00:10',
'modified' => '2019-04-09 17:00:10',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'hat-chong-am-tui-cotton-1kg-162',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2224',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Hạt hút ẩm được đóng gói với nhiều trọng lượng khác nhau theo yêu cầu của khách hàng, 1g, 2g, 5,g, 10g, ....</p>
<p>Có hạt Clay (đất sét) phù hợp với thực phẩm.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/4-05270654.jpg" alt="" width="403" height="390" /></p>
<p>Hạt mầu trắng trong, khi hút ẩm no chuyển sang màu trắng đục</p>
<p>Ứng dụng: chống ẩm mốc cho giày dép, túi xách, quần áo , đồ mỹ nghệ, mây tre lá, dược phẩm, thực phẩm,...</p>',
'x2' => '',
'x3' => null,
'x4' => null,
'x5' => null,
'images1' => '',
'images2' => '',
'images3' => '',
'images4' => '',
'title_seo' => '',
'meta_key' => '',
'meta_des' => '',
'hangsanxuat' => null,
'doixe' => null,
'order' => null
)
)
$brand_id = array(
(int) 35 => '3'
)
$brand = array(
(int) 0 => array(
'Catproduct' => array(
'id' => '3',
'parent_id' => null,
'lft' => '5',
'rght' => '6',
'name' => 'Gói hạt chống ẩm',
'content' => '',
'created' => '2019-04-08',
'modified' => '2019-04-11 22:50:10',
'status' => '1',
'char' => '3',
'images' => null,
'alias' => 'goi-hat-chong-am',
'title_seo' => '',
'meta_key' => '',
'meta_des' => '',
'show' => '1'
)
)
)
$y = array(
'Product' => array(
'id' => '35',
'title' => 'Hạt chống ẩm túi Cotton 1kg',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Hạt chống ẩm vỏ cotton dùng chống ẩm mốc cho giày dép, túi xách, quần áo , đồ mỹ nghệ, mây tre lá, dược phẩm, thực phẩm..</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/4-05270654.jpg',
'images_en' => '',
'catproduct_id' => '3',
'display' => '0',
'created' => '2019-04-09 17:00:10',
'modified' => '2019-04-09 17:00:10',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'hat-chong-am-tui-cotton-1kg-162',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2224',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Hạt hút ẩm được đóng gói với nhiều trọng lượng khác nhau theo yêu cầu của khách hàng, 1g, 2g, 5,g, 10g, ....</p>
<p>Có hạt Clay (đất sét) phù hợp với thực phẩm.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/4-05270654.jpg" alt="" width="403" height="390" /></p>
<p>Hạt mầu trắng trong, khi hút ẩm no chuyển sang màu trắng đục</p>
<p>Ứng dụng: chống ẩm mốc cho giày dép, túi xách, quần áo , đồ mỹ nghệ, mây tre lá, dược phẩm, thực phẩm,...</p>',
'x2' => '',
'x3' => null,
'x4' => null,
'x5' => null,
'images1' => '',
'images2' => '',
'images3' => '',
'images4' => '',
'title_seo' => '',
'meta_key' => '',
'meta_des' => '',
'hangsanxuat' => null,
'doixe' => null,
'order' => null
)
)
$tags = array(
(int) 0 => ''
)
$htmlTags = ' <a style="color:#2869fd" href="/tag/"></a>'
$tag = ''
$ip = '172.69.7.161'
$rating_bar = array(
(int) 0 => array(
'Rating' => array(
'id' => '35',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$numbers = array(
(int) 0 => array(
'Rating' => array(
'id' => '35',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$current_rating = '0'
$value = array(
'Rating' => array(
'id' => '35',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
$key = (int) 0
$count = (int) 0
$voted = array()
ProductsController::product_detail() - APP/Controller/ProductsController.php, line 174
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
require - APP/webroot/index.php, line 114
require - APP/index.php, line 18
[main] - ROOT/index.php, line 18