Input array has 2 params, does not match query: 'SELECT COUNT(*) FROM (SELECT v.id, v.cim, v.datum, v.hossz, ka.url, k.file, k.id as kep_id, v.osszes_ertekeles as ertekeles, v.osszes_szavazas as szavazatok, v.osszes_nezettseg as nezettseg
FROM video v
LEFT JOIN kep k ON k.galeria_id = v.id AND k.tipus = 'video' AND k.def = 't'
LEFT JOIN kategoria ka ON ka.id = v.kategoria_id
WHERE
v.storno = 'f' AND
v.aktiv = 't' AND
ka.storno = 'f' AND
v.id IN (SELECT video_id FROM cimke_to_video WHERE cimkek_id = ? GROUP BY video_id)
GROUP BY v.id
) _ADODB_ALIAS_'
Input array has 2 params, does not match query: 'SELECT v.id, v.cim, v.datum, v.hossz, ka.url, k.file, k.id as kep_id, v.osszes_ertekeles as ertekeles, v.osszes_szavazas as szavazatok, v.osszes_nezettseg as nezettseg
FROM video v
LEFT JOIN kep k ON k.galeria_id = v.id AND k.tipus = 'video' AND k.def = 't'
LEFT JOIN kategoria ka ON ka.id = v.kategoria_id
WHERE
v.storno = 'f' AND
v.aktiv = 't' AND
ka.storno = 'f' AND
v.id IN (SELECT video_id FROM cimke_to_video WHERE cimkek_id = ? GROUP BY video_id)
GROUP BY v.id
'
Input array has 2 params, does not match query: 'SELECT v.id, v.cim, v.datum, v.hossz, ka.url, k.file, k.id as kep_id, v.osszes_ertekeles as ertekeles, v.osszes_szavazas as szavazatok, v.osszes_nezettseg as nezettseg
FROM video v
LEFT JOIN kep k ON k.galeria_id = v.id AND k.tipus = 'video' AND k.def = 't'
LEFT JOIN kategoria ka ON ka.id = v.kategoria_id
WHERE
v.storno = 'f' AND
v.aktiv = 't' AND
ka.storno = 'f' AND
v.id IN (SELECT video_id FROM cimke_to_video WHERE cimkek_id = ? GROUP BY video_id)
GROUP BY v.id
ORDER BY osszes_szavazas DESC, osszes_ertekeles DESC, v.osszes_nezettseg ,v.sorrend_cimkek'
Input array has 2 params, does not match query: 'SELECT v.id, v.cim, v.datum, v.hossz, ka.url, k.file, k.id as kep_id, v.osszes_ertekeles as ertekeles, v.osszes_szavazas as szavazatok, v.osszes_nezettseg as nezettseg
FROM video v
LEFT JOIN kep k ON k.galeria_id = v.id AND k.tipus = 'video' AND k.def = 't'
LEFT JOIN kategoria ka ON ka.id = v.kategoria_id
WHERE
v.storno = 'f' AND
v.aktiv = 't' AND
ka.storno = 'f' AND
v.id IN (SELECT video_id FROM cimke_to_video WHERE cimkek_id = ? GROUP BY video_id)
GROUP BY v.id
ORDER BY osszes_szavazas DESC, osszes_ertekeles DESC, v.osszes_nezettseg ,v.sorrend_cimkek LIMIT 0,20'