Darilni boni
Podarite DARILNI BON
Razveselite svoje najdražje z odličnim darilom, za rojstni dan, dekliščino, fantovščino, abrahama ali pa kar tako. Darilo, ki vsakomur pričara nasmeh na obraz.
Nakup bona
Array
(
[0] => MySQL server has gone away
[1] => MySQL server has gone away
[2] => MySQL server has gone away
[3] => MySQL server has gone away
)
Array
(
[0] => SELECT COUNT(*) AS cnt FROM information_schema.TABLES
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 's_stock_watch'
[1] =>
SELECT
sp.id AS product_id,
sad.s_attribute_id AS attribute_id,
sad.name AS attribute_name,
spe.ean,
spe.ident,
spe.delivery_time,
spe.id AS extras_id,
spe.stock,
spe.marza,
spe.purchase_price,
savd.s_attribute_value_id AS attribute_value_id,
savd.description AS attribute_value_desc,
savd.name AS attribute_value_name,
sa2sav.id AS sa2sav_id,
a.is_option,
a.hidden
FROM s_product sp
JOIN s_product_extras spe ON(sp.id = spe.product_id AND spe.product_id='68778' )
JOIN s_product_extras2s_attribute2s_attribute_value spe2sa2sav ON(spe.id = spe2sa2sav.s_product_extras_id)
JOIN s_attribute2s_attribute_value sa2sav ON (sa2sav.id = spe2sa2sav.s_attribute2s_attribute_value_id)
JOIN s_attribute a ON (a.id = sa2sav.attribute_id )
JOIN s_attribute_desc sad ON (sa2sav.attribute_id = sad.s_attribute_id)
JOIN s_attribute_value_desc savd ON (sa2sav.attribute_value_id = savd.s_attribute_value_id)
JOIN s_category_required_attribute a2c ON (a2c.attribute_id = sad.s_attribute_id)
WHERE
1=1
ORDER BY spe2sa2sav.position, a2c.position asc, a.position ASC, savd.name+0 ASC, attribute_name ASC
[2] =>
SELECT uf.id as uploader_file_id, uf2x.x_id, uf2x.position, uf2x.x_table, uf2x.type, uf.id, uf.config_id ,uf.filename, uf.fullpath, uf.password, ufd.language_id, ufd.naziv, ufd.opis, uf.hotspots
FROM uploader_file2x AS uf2x
JOIN uploader_file AS uf ON(uf2x.uploader_file_id = uf.id)
LEFT JOIN uploader_file_desc AS ufd ON (uf.id = ufd.uploader_file_id)
WHERE uf2x.x_id = '99'
AND uf2x.x_table = 'standalone_text'
AND uf2x.type = 'pics_standalone'
AND (ufd.language_id = 1 OR ufd.language_id IS NULL)
ORDER BY uf2x.position
[3] =>
SELECT uf.id as uploader_file_id, uf2x.x_id, uf2x.position, uf2x.x_table, uf2x.type, uf.id, uf.config_id ,uf.filename, uf.fullpath, uf.password, ufd.language_id, ufd.naziv, ufd.opis, uf.hotspots
FROM uploader_file2x AS uf2x
JOIN uploader_file AS uf ON(uf2x.uploader_file_id = uf.id)
LEFT JOIN uploader_file_desc AS ufd ON (uf.id = ufd.uploader_file_id)
WHERE uf2x.x_id = '100'
AND uf2x.x_table = 'standalone_text'
AND uf2x.type = 'pics_standalone'
AND (ufd.language_id = 1 OR ufd.language_id IS NULL)
ORDER BY uf2x.position
)