A PHP Error was encountered
Severity: Warning
Message: Creating default object from empty value
Filename: models/Shop_model.php
Line Number: 203
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/models/Shop_model.php
Line: 203
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 231
Function: get_product
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$category_id
Filename: controllers/Product.php
Line Number: 233
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 233
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Product.php
Line Number: 234
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 234
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$meta_title
Filename: controllers/Product.php
Line Number: 236
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 236
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$meta_desc
Filename: controllers/Product.php
Line Number: 237
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 237
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$custom_header_code
Filename: controllers/Product.php
Line Number: 238
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 238
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$custom_footer_code
Filename: controllers/Product.php
Line Number: 239
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 239
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$image
Filename: controllers/Product.php
Line Number: 240
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 240
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$slug
Filename: controllers/Product.php
Line Number: 241
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 241
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$category_id
Filename: controllers/Product.php
Line Number: 247
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 247
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
">
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$image
Filename: shop/view.php
Line Number: 82
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 82
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
" alt="" id="product_thumb" class="img-responsive bk-product-image" itemprop="image"/>
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$price
Filename: shop/view.php
Line Number: 82
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 82
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$sale
Filename: shop/view.php
Line Number: 82
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 82
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$gallery
Filename: shop/view.php
Line Number: 85
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 85
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$gallery
Filename: shop/view.php
Line Number: 86
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 86
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$name
Filename: shop/view.php
Line Number: 101
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 101
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$vote_rate
Filename: shop/view.php
Line Number: 102
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 102
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
100%">
(Điểm
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$vote_rate
Filename: shop/view.php
Line Number: 102
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 102
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
5/5 trên
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$vote_rows
Filename: shop/view.php
Line Number: 102
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 102
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
1 đánh giá)
VND
Trong kho
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$price
Filename: shop/view.php
Line Number: 115
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 115
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$sale
Filename: shop/view.php
Line Number: 115
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 115
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$unit
Filename: shop/view.php
Line Number: 115
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 115
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
Liên hệ
- Hãng:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$manufacturername
Filename: shop/view.php
Line Number: 118
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 118
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
- Mã sản phẩm:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$sku
Filename: shop/view.php
Line Number: 119
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 119
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
- Bảo hành:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$warranty
Filename: shop/view.php
Line Number: 120
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 120
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
- Tình trạng:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$stock
Filename: shop/view.php
Line Number: 121
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 121
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
Hết hàng
-
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$id
Filename: shop/view.php
Line Number: 122
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 122
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
1234567890000
:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$name
Filename: shop/view.php
Line Number: 125
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 125
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$promo
Filename: shop/view.php
Line Number: 199
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 199
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$vote_rows
Filename: shop/view.php
Line Number: 372
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 372
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
Điểm 5/5 trên 1 đánh giá
ĐẶT MUA NGAY - GIAO HÀNG TẬN NƠI
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$thumb
Filename: shop/view.php
Line Number: 603
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 603
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
" alt="
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$name
Filename: shop/view.php
Line Number: 603
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 603
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
">
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$name
Filename: shop/view.php
Line Number: 604
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 604
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
Giá bán:
0đ
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$id
Filename: shop/view.php
Line Number: 13
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 13
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$id
Filename: shop/view.php
Line Number: 14
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 14
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$sale
Filename: shop/view.php
Line Number: 18
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 18
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$price
Filename: shop/view.php
Line Number: 18
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 18
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$price
Filename: shop/view.php
Line Number: 24
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 24
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
Trang chủ
/
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: frontend/breadcrumb.php
Line Number: 80
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/breadcrumb.php
Line: 80
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 70
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: frontend/breadcrumb.php
Line Number: 127
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/breadcrumb.php
Line: 127
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 70
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/My_basic.php
Line Number: 96
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/libraries/My_basic.php
Line: 96
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/breadcrumb.php
Line: 127
Function: get_route_slug
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 70
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: frontend/breadcrumb.php
Line Number: 129
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/breadcrumb.php
Line: 129
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 70
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
/
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$name
Filename: frontend/breadcrumb.php
Line Number: 133
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/breadcrumb.php
Line: 133
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 70
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
https://www.thethaothientruong.vn/product/add_comment",
data: formData,
dataType: 'json',
contentType: false,
processData: false,
success: function(response){
$('#loader').addClass('hidden');
$('#inputName').val('');
$('#inputPhone').val('');
$('#inputMessage').val('');
$('#ratings-hidden').val('');
$('#commentId').val('');
$('div#uploaded_images').empty();
alert('Đánh giá của bạn đã gửi thành công và đang được Thiên Trường xét duyệt trước khi xuất bản. Xin cảm ơn!');
}
});
}
}
$('#attachment_files').click(function(){ $('#files').trigger('click'); });
// Multiple images preview in browser
var imagesPreview = function(input, placeToInsertImagePreview) {
if (input.files) {
var filesAmount = input.files.length;
for (i = 0; i < filesAmount; i++) {
var reader = new FileReader();
reader.onload = function(event) {
$($.parseHTML('
![]()
')).attr('src', event.target.result).appendTo(placeToInsertImagePreview);
}
reader.readAsDataURL(input.files[i]);
}
}
};
$('#files').change(function(){
var files = $('#files')[0].files;
var error = '';
var form_data = new FormData();
for(var count = 0; count < files.length; count++){
var name = files[count].name;
var extension = name.split('.').pop().toLowerCase();
if(jQuery.inArray(extension, ['gif','png','jpg','jpeg']) == -1){
error += "Invalid " + count + " Image File"
} 1
}
if(error == ''){
if(files.length > 4){
alert('Số lượng file tối đa 4 File. Vui lòng chọn lại!');
return false;
}
$('div#uploaded_images').empty();
imagesPreview(this, 'div#uploaded_images');
}else{
alert(error);
}
});
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$vote_rows
Filename: shop/view.php
Line Number: 412
Backtrace:
File: /home/topdanhg/thethaothientruong.vn/application/views/frontend/shop/view.php
Line: 412
Function: _error_handler
File: /home/topdanhg/thethaothientruong.vn/application/libraries/Layout.php
Line: 24
Function: view
File: /home/topdanhg/thethaothientruong.vn/application/controllers/Product.php
Line: 248
Function: view
File: /home/topdanhg/thethaothientruong.vn/index.php
Line: 315
Function: require_once
Sản phẩm tốt, chất liệu bền. Rất hài lòng và sẽ ủng hộ Shop tiếp ạ