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 = '51'
$name = array(
'Product' => array(
'id' => '51',
'title' => 'In Decal Giấy',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Decal giấy có thể dán được trên nhiều chất liệu khác nhau: Nhựa, gổ, PV, PCV, Mica, Thủy tinh, nilông</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/in-decal-cuon-1466046893-05270728.jpg',
'images_en' => '',
'catproduct_id' => '6',
'display' => '0',
'created' => '2019-04-10 07:42:04',
'modified' => '2019-04-10 07:42:04',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'in-decal-giay-35',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2265',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Chúng tôi chuyên In decal giấy, các loại tem, nhãn mác dạng tờ dạng cuộn, dùng cho máy dán nhãn tự động, hay bán tự động, In ấn các loại tem để quản lý các sản phẩm hàng hóa của các siêu thị các công ty sản xuất,</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/in-decal-cuon-1466046893-05270728.jpg" alt="" width="550" height="400" /></p>
<p><br />In decal. Các loại tem nhãn dùng cho các nghành thực phẩm mỹ phẩm, kim khí điện máy... có phủ lớp màng bóng chống thấm nước</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) 51 => '6'
)
$brand = array(
(int) 0 => array(
'Catproduct' => array(
'id' => '6',
'parent_id' => null,
'lft' => '11',
'rght' => '12',
'name' => 'In Decal, Tem nhãn',
'content' => '',
'created' => '2019-04-08',
'modified' => '2019-04-08 15:48:09',
'status' => '1',
'char' => '5',
'images' => null,
'alias' => 'in-decal-tem-nhan-84',
'title_seo' => '',
'meta_key' => '',
'meta_des' => '',
'show' => '1'
)
)
)
$y = array(
'Product' => array(
'id' => '51',
'title' => 'In Decal Giấy',
'title_en' => '',
'price' => '0',
'marketprice' => '0',
'brand_id' => null,
'manufacturer' => '',
'introduction' => '',
'content' => '<p>Decal giấy có thể dán được trên nhiều chất liệu khác nhau: Nhựa, gổ, PV, PCV, Mica, Thủy tinh, nilông</p>',
'tag' => '',
'content_en' => '',
'images' => 'http://donggoingoclinh.com/admin/upload/images/in-decal-cuon-1466046893-05270728.jpg',
'images_en' => '',
'catproduct_id' => '6',
'display' => '0',
'created' => '2019-04-10 07:42:04',
'modified' => '2019-04-10 07:42:04',
'sptieubieu' => '0',
'spmoi' => '0',
'spbanchay' => '0',
'status' => '1',
'alias' => 'in-decal-giay-35',
'warranty' => '',
'quantity' => null,
'specialoffer' => null,
'visit' => '2265',
'code' => null,
'kichthuoc' => null,
'color' => '',
'size' => null,
'khoanggia' => null,
'spkhuyenmai' => '0',
'x1' => '<p>Chúng tôi chuyên In decal giấy, các loại tem, nhãn mác dạng tờ dạng cuộn, dùng cho máy dán nhãn tự động, hay bán tự động, In ấn các loại tem để quản lý các sản phẩm hàng hóa của các siêu thị các công ty sản xuất,</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="/admin/upload/images/in-decal-cuon-1466046893-05270728.jpg" alt="" width="550" height="400" /></p>
<p><br />In decal. Các loại tem nhãn dùng cho các nghành thực phẩm mỹ phẩm, kim khí điện máy... có phủ lớp màng bóng chống thấm nước</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.58.3'
$rating_bar = array(
(int) 0 => array(
'Rating' => array(
'id' => '51',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$numbers = array(
(int) 0 => array(
'Rating' => array(
'id' => '51',
'total_votes' => '0',
'total_value' => '0',
'used_ips' => ''
)
)
)
$current_rating = '0'
$value = array(
'Rating' => array(
'id' => '51',
'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