Sancionados

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND m.state = 1 ORDER BY m.date1 DESC, institucion, participante_name, m.' at line 11 SQL=SELECT m.*, LTRIM(UPPER(d.name)) AS disciplina, LTRIM(UPPER(i.name)) AS institucion, LTRIM(UPPER(p.name)) AS participante_name FROM nkp7c_aa_sancionados m LEFT JOIN nkp7c_aa_disciplinas d ON ( m.id_disciplina = d.id OR m.id_disciplina = d.category ) LEFT JOIN nkp7c_aa_instituciones i ON ( m.id_institucion = i.id OR m.id_institucion = i.id_zoo ) LEFT JOIN nkp7c_aa_participantes p ON m.id_participante = p.id WHERE d.category = AND m.state = 1 ORDER BY m.date1 DESC, institucion, participante_name, m.participante
Warning: Invalid argument supplied for foreach() in /home/juegosbancarios/public_html/cms/views/front/inc.front-sancionados.php on line 30

No se encontraron sancionados en esta disciplina

Participante Institución Categoría Tipo Fecha de inicio Fecha de fin Partidos de castigo Partidos restantes Descripción