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 = '39'
$name = array(
'Product' => array(
'id' => '39',
'title' => 'Dây đai Pet Trơn',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Dây đai PET là một trong những ứng dụng mới hữu hiệu của vật liệu ngành dây đai hiện nay, được sử dụng phổ biến trong nhiều lĩnh vực và rất đa dạng trong các ngành đóng gói sản phẩm</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/day-dai-nhua-pet-1445487568-05270710.jpg',
'images_en' => '',
'catproduct_id' => '4',
'display' => '0',
'created' => '2019-04-09 22:17:05',
'modified' => '2019-04-09 22:17:05',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'day-dai-pet-tron-126',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2579',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Ứng dụng dây đai nhựa PET chất lượng có những tính năng ưu việt hơn so với dây đai thép truyền thống hiện nay, sản xuất theo công nghệ tiên tiến và dây chuyền tự động hoàn toàn.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/product.jpg" alt="" width="650" height="418" /></p>
<p>Chúng tôi luôn đảm bảo chất lượng hoàn hảo trong từng sản phẩm, mang tính thẩm mỹ rất cao, đa dạng về mẫu mã, kích thước, chủng loại của sản phẩm, xuất khẩu trên nhiều nước trên thế giới với các loại hiện nay trên thị trường.</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) 39 => '4'
)
$brand = array(
(int) 0 => array(
'Catproduct' => array(
'id' => '4',
'parent_id' => null,
'lft' => '7',
'rght' => '8',
'name' => 'Dây dai',
'content' => '',
'created' => '2019-04-08',
'modified' => '2019-04-08 15:48:07',
'status' => '1',
'char' => '2',
'images' => null,
'alias' => 'day-dai-169',
'title_seo' => '',
'meta_key' => '',
'meta_des' => '',
'show' => '1'
)
)
)
$y = array(
'Product' => array(
'id' => '39',
'title' => 'Dây đai Pet Trơn',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Dây đai PET là một trong những ứng dụng mới hữu hiệu của vật liệu ngành dây đai hiện nay, được sử dụng phổ biến trong nhiều lĩnh vực và rất đa dạng trong các ngành đóng gói sản phẩm</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/day-dai-nhua-pet-1445487568-05270710.jpg',
'images_en' => '',
'catproduct_id' => '4',
'display' => '0',
'created' => '2019-04-09 22:17:05',
'modified' => '2019-04-09 22:17:05',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'day-dai-pet-tron-126',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2579',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Ứng dụng dây đai nhựa PET chất lượng có những tính năng ưu việt hơn so với dây đai thép truyền thống hiện nay, sản xuất theo công nghệ tiên tiến và dây chuyền tự động hoàn toàn.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/product.jpg" alt="" width="650" height="418" /></p>
<p>Chúng tôi luôn đảm bảo chất lượng hoàn hảo trong từng sản phẩm, mang tính thẩm mỹ rất cao, đa dạng về mẫu mã, kích thước, chủng loại của sản phẩm, xuất khẩu trên nhiều nước trên thế giới với các loại hiện nay trên thị trường.</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.70.179.89'
$rating_bar = array(
(int) 0 => array(
'Rating' => array(
'id' => '39',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$numbers = array(
(int) 0 => array(
'Rating' => array(
'id' => '39',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$current_rating = '0'
$value = array(
'Rating' => array(
'id' => '39',
'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