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 = '43'
$name = array(
'Product' => array(
'id' => '43',
'title' => 'Túi Pe siêu sạch',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Túi Pe siêu sạch được sản xuất mà không có bất kỳ chất phụ gia hoặc vật liệu hóa học nào, túi này không mùi và không độc hại, phù hợp để bảo vệ, bọc thực phẩm một cách hoàn hảo.</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/606880155665-05270717.jpg',
'images_en' => '',
'catproduct_id' => '5',
'display' => '0',
'created' => '2019-04-09 22:26:13',
'modified' => '2019-04-09 22:26:13',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'tui-pe-sieu-sach-101',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2274',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Ngoài các doanh nghiệp, cửa hàng kinh doanh rau củ, thực phẩm thì loại túi này cũng rất tiện lợi để sinh hoạt trong gia đình, với vẻ ngoài đẹp đẽ, và có thể dễ dàng lấy từng túi ra để bọc rau quả bảo quản trong tủ lạnh, nó sẽ giữ được độ tươi lâu hơn so với các loại túi nilon được đục lỗ thông thường.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/606880155665-05270717.jpg" alt="" width="400" height="266" /></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) 43 => '5'
)
$brand = array(
(int) 0 => array(
'Catproduct' => array(
'id' => '5',
'parent_id' => null,
'lft' => '9',
'rght' => '10',
'name' => 'Túi zipper pe hdpe',
'content' => '',
'created' => '2019-04-08',
'modified' => '2019-04-08 15:48:08',
'status' => '1',
'char' => '4',
'images' => null,
'alias' => 'tui-zipper-pe-hdpe-157',
'title_seo' => '',
'meta_key' => '',
'meta_des' => '',
'show' => '1'
)
)
)
$y = array(
'Product' => array(
'id' => '43',
'title' => 'Túi Pe siêu sạch',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Túi Pe siêu sạch được sản xuất mà không có bất kỳ chất phụ gia hoặc vật liệu hóa học nào, túi này không mùi và không độc hại, phù hợp để bảo vệ, bọc thực phẩm một cách hoàn hảo.</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/606880155665-05270717.jpg',
'images_en' => '',
'catproduct_id' => '5',
'display' => '0',
'created' => '2019-04-09 22:26:13',
'modified' => '2019-04-09 22:26:13',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'tui-pe-sieu-sach-101',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2274',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Ngoài các doanh nghiệp, cửa hàng kinh doanh rau củ, thực phẩm thì loại túi này cũng rất tiện lợi để sinh hoạt trong gia đình, với vẻ ngoài đẹp đẽ, và có thể dễ dàng lấy từng túi ra để bọc rau quả bảo quản trong tủ lạnh, nó sẽ giữ được độ tươi lâu hơn so với các loại túi nilon được đục lỗ thông thường.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/606880155665-05270717.jpg" alt="" width="400" height="266" /></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.6.251'
$units = (int) 5
$static = false
$rating_unitwidth = (int) 30
$rating_bar = array(
(int) 0 => array(
'Rating' => array(
'id' => '43',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$numbers = array(
(int) 0 => array(
'Rating' => array(
'id' => '43',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$current_rating = '0'
$value = array(
'Rating' => array(
'id' => '43',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
$key = (int) 0
$count = (int) 0
$tense = 'votes'
$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
[main] - APP/webroot/index.php, line 114