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 = '40'
$name = array(
'Product' => array(
'id' => '40',
'title' => 'Dây đai PP giá rẻ',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Dây dai nhự PP giá rẻ có đủ màu sắc: Đỏ, Vàng, Xanh lá cây, Xanh da trời, Đen, Trắng</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/pp-05270709.jpg',
'images_en' => '',
'catproduct_id' => '4',
'display' => '0',
'created' => '2019-04-09 22:19:14',
'modified' => '2019-04-09 22:19:14',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'day-dai-pp-gia-re-110',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2282',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Ngoài quy cách trên chúng tôi còn có thể sản xuất theo yêu cầu đặt hàng của quý khách hàng</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/pp-05270709.jpg" alt="" width="650" height="488" /></p>
<p>Sản phẩm của chúng tôi có chất lượng hơn cùng loại<br />Nhựa tốt nên độ bám dính mối hàn tốt.<br />Màu sắc đẹp, khó bay màu theo thời gian.<br />Chịu lực gấp 1,5 lần so với dây đai nhựa cùng kích cỡ.<br />In tên & Logo doanh nghiệp trên dây đai nhựa góp phần xây dựng thương hiệu.<br />Dây thẳng và đồng đều dùng cho máy đóng đai bán tự động và tự động hoàn toàn.</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) 40 => '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' => '40',
'title' => 'Dây đai PP giá rẻ',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Dây dai nhự PP giá rẻ có đủ màu sắc: Đỏ, Vàng, Xanh lá cây, Xanh da trời, Đen, Trắng</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/pp-05270709.jpg',
'images_en' => '',
'catproduct_id' => '4',
'display' => '0',
'created' => '2019-04-09 22:19:14',
'modified' => '2019-04-09 22:19:14',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'day-dai-pp-gia-re-110',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2282',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Ngoài quy cách trên chúng tôi còn có thể sản xuất theo yêu cầu đặt hàng của quý khách hàng</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/pp-05270709.jpg" alt="" width="650" height="488" /></p>
<p>Sản phẩm của chúng tôi có chất lượng hơn cùng loại<br />Nhựa tốt nên độ bám dính mối hàn tốt.<br />Màu sắc đẹp, khó bay màu theo thời gian.<br />Chịu lực gấp 1,5 lần so với dây đai nhựa cùng kích cỡ.<br />In tên & Logo doanh nghiệp trên dây đai nhựa góp phần xây dựng thương hiệu.<br />Dây thẳng và đồng đều dùng cho máy đóng đai bán tự động và tự động hoàn toàn.</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.194.175'
$rating_bar = array(
(int) 0 => array(
'Rating' => array(
'id' => '40',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$numbers = array(
(int) 0 => array(
'Rating' => array(
'id' => '40',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$current_rating = '0'
$value = array(
'Rating' => array(
'id' => '40',
'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