| Диаграма: ФК Ботев Пловдив - ПФК ЦСКА София | „А” футболна група 2014/2015 |
| Отбори: |
| Шампион | Лига Европа | първа шестица | втора шестица | изпадащи |
:: Powered by JoomLeague - Version 2.93.239.9df0b25 ::
| Диаграма: ФК Ботев Пловдив - ПФК ЦСКА София | „А” футболна група 2014/2015 |
| Отбори: |
| Шампион | Лига Европа | първа шестица | втора шестица | изпадащи |
Моля, изберете някоя от статиите.
session.client.browser ⇒ Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
password_clear ⇒
groups ⇒
gid ⇒ 1
session.token ⇒ 6313fe87ce9d80569268c3bb168c12c4
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/1603-локомотив-ботев-враца-10-април-понеделник-17-00
link ⇒ https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/избрано/540-интервю-с-александър-бранéков-тема-спорт
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/907-локомотив-1929-нидо-момичета-до-14-г-останаха-последни-в-скаут-лигата
link ⇒ https://lokomotiv.ntesrv.com/joomla16/исторически-факти-за-всичко-свързано-с-локомотив-софия/исторически-факти-за-футбола-в-локомотив/футболисти-на-локомотив-софия/547-кирил-метков-на-50
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/56-локомотив-литекс-26-юли-петък-18-00-ч
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/53-а-група-1-кръг-пирин-гоце-делчев-локомотив-2-2
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/52-пирин-гоце-делчев-локоматив-20-юли
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/45-10-07-2013-г-официално-представяне-локомотив-сливнишки-герой
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/44-контрола-локомотив-ботев-гълъбово-3-2
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/42-програма-и-резултати-в-контролните-срещи-лято-2013-6-юли-2013
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/34-контрола-локомотив-ягодина-сърбия-ст-локомотив-18-ч,
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2143-том-със-100-мача-за-локомотив
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/1426-резултати-и-временно-класиране-във-втора-лига-26-11-2016-г
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1099-служебната-загуба-не-даде-шанс-за-титлата-на-юношите-на-локомотив-нн
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/1078-деница-елисеева-с-бронз-от-световното-първенство-по-бокс
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1076-скандално-бфвт-дори-не-отговори-на-жалбата-на-локомотив-нн
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1073-детският-отбор-на-локомотив-никола-нанов-осми-във-варна
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/1071-локомотив-5-ти-за-момичета-до-12-години
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1067-открито-писмо-на-сквт-локомотив-никола-нанов-до-ватерполната-общественост-в-българия
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1066-жените-на-локомотив-нн-спечелиха-сребърните-медали-в-шампионата
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2609-локомотив-победи-националите-до-19-години
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2606-локомотив-спартак-пл-1-0
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2605-на-живо-18-00-локомотив-спартак-пл
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2602-пирин-локомотив-0-1
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2598-ботев-г-локомотив-0-3
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2597-на-живо-ботев-г-локомотив-18-00-ч
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2593-локомотив-лудогорец-ii-2-0
link ⇒ https://lokomotiv.ntesrv.com/joomla16/видео/пълен-запис/1431-2016-локомотив-нн-цска-14-1-юноши-старша-пролетен-турнир-софия
Application 0.000 seconds (+0.000); 0.64 MB (+0.641) - afterLoadApplication 0.054 seconds (+0.054); 3.87 MB (+3.230) - afterInitialiseApplication 0.109 seconds (+0.055); 7.66 MB (+3.785) - afterRouteApplication 3.997 seconds (+3.888); 10.74 MB (+3.084) - afterDispatchApplication 4.030 seconds (+0.032); 11.46 MB (+0.724) - beforeRenderModule mod_search (Търси)Application 4.040 seconds (+0.010); 11.51 MB (+0.046) - afterRenderModule mod_search (Търси)Application 4.041 seconds (+0.002); 11.50 MB (-0.006) - beforeRenderModule mod_custom (LOGO)Application 4.051 seconds (+0.010); 11.51 MB (+0.009) - afterRenderModule mod_custom (LOGO)Application 4.053 seconds (+0.002); 11.51 MB (+0.001) - beforeRenderModule mod_menu (Main Menu)Application 4.112 seconds (+0.059); 11.86 MB (+0.351) - afterRenderModule mod_menu (Main Menu)Application 4.138 seconds (+0.026); 12.12 MB (+0.256) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)Application 4.145 seconds (+0.006); 12.19 MB (+0.066) - afterRenderModule mod_breadcrumbs (Breadcrumbs)Application 4.146 seconds (+0.002); 12.21 MB (+0.019) - beforeRenderModule mod_fj_related_plus (Подобни публикации)Application 4.156 seconds (+0.010); 12.39 MB (+0.180) - afterRenderModule mod_fj_related_plus (Подобни публикации)Application 4.158 seconds (+0.002); 12.36 MB (-0.022) - beforeRenderModule mod_menu (Submenu)Application 4.159 seconds (+0.001); 12.37 MB (+0.007) - afterRenderModule mod_menu (Submenu)Application 4.159 seconds (+0.000); 12.37 MB (-0.005) - beforeRenderModule mod_custom (Събития)Application 4.214 seconds (+0.055); 14.05 MB (+1.686) - afterRenderModule mod_custom (Събития)Application 4.215 seconds (+0.000); 14.05 MB (-0.002) - beforeRenderModule mod_custom (Refresh_all)Application 4.215 seconds (+0.001); 14.05 MB (+0.005) - afterRenderModule mod_custom (Refresh_all)Application 4.219 seconds (+0.003); 14.06 MB (+0.003) - beforeRenderModule mod_articles_news (ВИДЕО)Application 4.245 seconds (+0.027); 14.56 MB (+0.501) - afterRenderModule mod_articles_news (ВИДЕО)Application 4.245 seconds (+0.000); 14.55 MB (-0.006) - beforeRenderModule mod_jw_ts (Tabs & Sliders (by JoomlaWorks) bottom-b)Application 4.254 seconds (+0.009); 14.61 MB (+0.056) - beforeRenderModule mod_fbfanbox (FACEBOOK)Application 4.260 seconds (+0.006); 14.63 MB (+0.022) - afterRenderModule mod_fbfanbox (FACEBOOK)Application 4.261 seconds (+0.000); 14.63 MB (-0.001) - beforeRenderModule mod_jcomments_latest (НОВИ КОМЕНТАРИ)Application 4.311 seconds (+0.050); 15.84 MB (+1.210) - afterRenderModule mod_jcomments_latest (НОВИ КОМЕНТАРИ)Application 4.311 seconds (+0.000); 15.81 MB (-0.032) - beforeRenderModule mod_jcomments_most_commented (НАЙ-КОМЕНТИРАНИ)Application 4.350 seconds (+0.039); 15.86 MB (+0.051) - afterRenderModule mod_jcomments_most_commented (НАЙ-КОМЕНТИРАНИ)Application 4.350 seconds (+0.000); 15.81 MB (-0.046) - afterRenderModule mod_jw_ts (Tabs & Sliders (by JoomlaWorks) bottom-b)Application 4.354 seconds (+0.004); 15.81 MB (-0.006) - beforeRenderModule mod_extrawatch_agent (ExtraWatch Agent Module)Application 4.499 seconds (+0.145); 18.14 MB (+2.337) - afterRenderModule mod_extrawatch_agent (ExtraWatch Agent Module)Application 4.518 seconds (+0.019); 18.14 MB (-0.000) - afterRender18.22 MB (19,102,136 Bytes)SELECT `data`
FROM `jos_session`
WHERE `session_id` = '7c742a22632d68afd8c0f8c2cbcf024b'SELECT folder AS type, element AS name, params
FROM jos_extensions
WHERE enabled >= 1
AND type ='plugin'
AND state >= 0
AND access IN (1,1)
ORDER BY orderingSELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_languages'SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,m.browserNav, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM jos_menu AS m
LEFT JOIN jos_extensions AS e
ON m.component_id = e.extension_id
WHERE m.published = 1
AND m.parent_id > 0
AND m.client_id = 0
ORDER BY m.lftSELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_joomleague'SELECT *
FROM jos_languages
WHERE published=1
ORDER BY ordering ASCSELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_menus'SELECT id, home, template, s.params
FROM jos_template_styles as s
LEFT JOIN jos_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id
WHERE s.client_id = 0
AND e.enabled = 1SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='curve'
AND p.id='9'SELECT p.*, l.country, st.id AS sport_type_id, st.name AS sport_type_name,
LOWER(SUBSTR(st.name, CHAR_LENGTH( "COM_JOOMLEAGUE_ST_")+1)) AS fs_sport_type_name,
CASE WHEN CHAR_LENGTH( p.alias )
THEN CONCAT_WS( ':', p.id, p.alias )
ELSE p.id
END AS slug,
l.name AS league_name,
s.name AS season_name
FROM jos_joomleague_project AS p
INNER JOIN jos_joomleague_sports_type AS st
ON p.sports_type_id = st.id
LEFT JOIN jos_joomleague_league AS l
ON p.league_id = l.id
LEFT JOIN jos_joomleague_season AS s
ON p.season_id = s.id
WHERE p.id='9'
LIMIT 0, 1SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='curve'
AND p.id='2'SELECT t1.id AS teamid1, t2.id AS teamid2
FROM jos_joomleague_match AS m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id=pt1.id
AND pt1.project_id='9'
INNER JOIN jos_joomleague_team AS t1
ON pt1.team_id=t1.id
INNER JOIN jos_joomleague_project_team AS pt2
ON m.projectteam2_id=pt2.id
AND pt2.project_id='9'
INNER JOIN jos_joomleague_team AS t2
ON pt2.team_id=t2.id
INNER JOIN jos_joomleague_project AS p
ON pt1.project_id=p.id
AND pt2.project_id=p.id
WHERE m.published=1
AND m.cancel=0
AND t1.id='22'
AND (m.team1_result IS NULL OR m.team2_result IS NULL)
AND DATE_ADD(m.match_date, INTERVAL '0' MINUTE) >= CONVERT_TZ(UTC_TIMESTAMP(), 'UTC', p.timezone)
ORDER BY m.match_dateSELECT t1.id AS teamid1, t2.id AS teamid2
FROM jos_joomleague_match AS m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id=pt1.id
AND pt1.project_id='9'
INNER JOIN jos_joomleague_team AS t1
ON pt1.team_id=t1.id
INNER JOIN jos_joomleague_project_team AS pt2
ON m.projectteam2_id=pt2.id
AND pt2.project_id='9'
INNER JOIN jos_joomleague_team AS t2
ON pt2.team_id=t2.id
INNER JOIN jos_joomleague_project AS p
ON pt1.project_id=p.id
AND pt2.project_id=p.id
WHERE m.published=1
AND m.cancel=0
AND t1.id='22'
ORDER BY m.match_date DESCSELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='ranking'
AND p.id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='flash'
AND p.id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='flash'
AND p.id='2'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='curve'
AND p.id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='curve'
AND p.id='2'SELECT tl.id AS projectteamid,
tl.division_id,
tl.standard_playground,
tl.start_points,
tl.points_finally,
tl.neg_points_finally,
tl.matches_finally,
tl.won_finally,
tl.draws_finally,
tl.lost_finally,
tl.homegoals_finally,
tl.guestgoals_finally,
tl.diffgoals_finally,
tl.info,
tl.reason,
tl.team_id,
tl.checked_out,
tl.checked_out_time,
tl.is_in_score,
tl.picture AS projectteam_picture,
t.picture as team_picture,
IF((ISNULL(tl.picture) OR (tl.picture="")),
(IF((ISNULL(t.picture) OR (t.picture="")), c.logo_small , t.picture)) , t.picture) as picture,
tl.project_id,
t.id,t.name,
t.short_name,
t.middle_name,
t.notes,
t.club_id,
c.email as club_email,
c.logo_small,
c.logo_middle,
c.logo_big,
c.country,
c.website,
d.name AS division_name,
d.picture AS division_picture,
d.shortname AS division_shortname,
d.parent_id AS parent_division_id,
plg.name AS playground_name,
plg.short_name AS playground_short_name,
CASE WHEN CHAR_LENGTH(p.alias) THEN CONCAT_WS(':',p.id,p.alias) ELSE p.id END AS project_slug,
CASE WHEN CHAR_LENGTH(t.alias) THEN CONCAT_WS(':',t.id,t.alias) ELSE t.id END AS team_slug,
CASE WHEN CHAR_LENGTH(d.alias) THEN CONCAT_WS(':',d.id,d.alias) ELSE d.id END AS division_slug,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':',c.id,c.alias) ELSE c.id END AS club_slug
FROM jos_joomleague_project_team tl
LEFT JOIN jos_joomleague_team t
ON tl.team_id=t.id
LEFT JOIN jos_joomleague_club c
ON t.club_id=c.id
LEFT JOIN jos_joomleague_division d
ON d.id=tl.division_id
LEFT JOIN jos_joomleague_playground plg
ON plg.id=tl.standard_playground
LEFT JOIN jos_joomleague_project AS p
ON p.id=tl.project_id
WHERE tl.project_id=9SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='overall'
AND p.id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='overall'
AND p.id='2'SELECT id,round_date_first,round_date_last,
CASE LENGTH(name)
when 0 then roundcode
else name
END as name,
roundcode
FROM jos_joomleague_round
WHERE project_id=9
ORDER BY roundcode ASCSELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='ranking'
AND p.id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='ranking'
AND p.id='9'SELECT id, roundcode
FROM jos_joomleague_round
WHERE project_id=9
ORDER BY roundcode ASC, id ASCSELECT p.*, l.country, st.id AS sport_type_id, st.name AS sport_type_name,
LOWER(SUBSTR(st.name, CHAR_LENGTH( "COM_JOOMLEAGUE_ST_")+1)) AS fs_sport_type_name,
CASE WHEN CHAR_LENGTH( p.alias )
THEN CONCAT_WS( ':', p.id, p.alias )
ELSE p.id
END AS slug,
l.name AS league_name,
s.name AS season_name
FROM jos_joomleague_project AS p
INNER JOIN jos_joomleague_sports_type AS st
ON p.sports_type_id = st.id
LEFT JOIN jos_joomleague_league AS l
ON p.league_id = l.id
LEFT JOIN jos_joomleague_season AS s
ON p.season_id = s.id
WHERE p.id='9'
LIMIT 0, 1SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT r.roundcode, r.id
FROM jos_joomleague_round AS r
WHERE r.project_id = 9SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='ranking'
AND p.id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='ranking'
AND p.id='9'SELECT id, roundcode
FROM jos_joomleague_round
WHERE project_id=9
ORDER BY roundcode ASC, id ASCSELECT p.*, l.country, st.id AS sport_type_id, st.name AS sport_type_name,
LOWER(SUBSTR(st.name, CHAR_LENGTH( "COM_JOOMLEAGUE_ST_")+1)) AS fs_sport_type_name,
CASE WHEN CHAR_LENGTH( p.alias )
THEN CONCAT_WS( ':', p.id, p.alias )
ELSE p.id
END AS slug,
l.name AS league_name,
s.name AS season_name
FROM jos_joomleague_project AS p
INNER JOIN jos_joomleague_sports_type AS st
ON p.sports_type_id = st.id
LEFT JOIN jos_joomleague_league AS l
ON p.league_id = l.id
LEFT JOIN jos_joomleague_season AS s
ON p.season_id = s.id
WHERE p.id='9'
LIMIT 0, 1SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT r.roundcode, r.id
FROM jos_joomleague_round AS r
WHERE r.project_id = 9SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='ranking'
AND p.id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id
WHERE t.template='ranking'
AND p.id='9'SELECT id, roundcode
FROM jos_joomleague_round
WHERE project_id=9
ORDER BY roundcode ASC, id ASCSELECT p.*, l.country, st.id AS sport_type_id, st.name AS sport_type_name,
LOWER(SUBSTR(st.name, CHAR_LENGTH( "COM_JOOMLEAGUE_ST_")+1)) AS fs_sport_type_name,
CASE WHEN CHAR_LENGTH( p.alias )
THEN CONCAT_WS( ':', p.id, p.alias )
ELSE p.id
END AS slug,
l.name AS league_name,
s.name AS season_name
FROM jos_joomleague_project AS p
INNER JOIN jos_joomleague_sports_type AS st
ON p.sports_type_id = st.id
LEFT JOIN jos_joomleague_league AS l
ON p.league_id = l.id
LEFT JOIN jos_joomleague_season AS s
ON p.season_id = s.id
WHERE p.id='9'
LIMIT 0, 1SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT r.roundcode, r.id
FROM jos_joomleague_round AS r
WHERE r.project_id = 9SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id
WHERE pt.project_id = '9'
AND pt.is_in_score=1SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id
WHERE ((m.team1_result IS NOT NULL
AND m.team2_result IS NOT NULL) OR (m.alt_decision=1))
AND m.count_result
AND m.published = 1
AND pt1.project_id = '9'
AND (m.cancel IS NULL OR m.cancel = 0)
AND m.projectteam1_id>0
AND m.projectteam2_id>0SELECT CONCAT(major,'.',minor,'.',build,'.',revision) AS version
FROM jos_joomleague_version
ORDER BY date DESC
LIMIT 1SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT extension
FROM jos_joomleague_project
WHERE id='9'SELECT CONCAT(major,'.',minor,'.',build,'.',revision) AS version
FROM jos_joomleague_version
ORDER BY date DESC
LIMIT 1SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN jos_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
WHERE m.published = 1
AND e.enabled = 1
AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2025-12-22 12:34:44')
AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2025-12-22 12:34:44')
AND m.access IN (1,1)
AND m.client_id = 0
AND (mm.menuid = 0 OR mm.menuid <= 0)
ORDER BY m.position, m.orderingSELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_content'SELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_acepolls'SHOW FULL COLUMNS
FROM `jos_assets`SELECT id
FROM jos_assets
WHERE parent_id = 0SELECT b.rules
FROM jos_assets AS a
LEFT JOIN jos_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE (a.id = 1)
GROUP BY b.id, b.rules, b.lft
ORDER BY b.lftSELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_users'SELECT b.id
FROM jos_usergroups AS a
LEFT JOIN jos_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE a.id = 1SELECT id, rules
FROM `jos_viewlevels`SELECT b.rules
FROM jos_assets AS a
LEFT JOIN jos_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE (a.name = 'com_content')
GROUP BY b.id, b.rules, b.lft
ORDER BY b.lftSELECT a.fulltext, a.id, a.title, a.alias, a.title_alias, a.introtext, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.publish_up, a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.language,a.fulltext, a.id, a.title, a.alias, a.title_alias, a.introtext, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.publish_up, a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.language,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,(
SELECT MAX(contact.id) AS id
FROM jos_contact_details AS contact
WHERE contact.published = 1
AND contact.user_id = a.created_by) as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM jos_content AS a
LEFT JOIN jos_content_frontpage AS fp
ON fp.content_id = a.id
LEFT JOIN jos_categories AS c
ON c.id = a.catid
LEFT JOIN jos_users AS ua
ON ua.id = a.created_by
LEFT JOIN jos_users AS uam
ON uam.id = a.modified_by
LEFT JOIN jos_categories as parent
ON parent.id = c.parent_id
LEFT JOIN jos_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM jos_categories AS cat JOIN jos_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id ) AS badcats
ON badcats.id = c.id
WHERE a.access IN (1,1)
AND c.access IN (1,1)
AND
CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
AND a.catid IN (49)
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2025-12-22 12:34:44')
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2025-12-22 12:34:44')
ORDER BY a.created DESC
LIMIT 0, 1SELECT c.*,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
FROM jos_categories as c
LEFT JOIN jos_categories AS s
ON (s.lft <= c.lft
AND s.rgt >= c.rgt) OR (s.lft > c.lft
AND s.rgt < c.rgt)
LEFT JOIN (SELECT cat.id as id
FROM jos_categories AS cat JOIN jos_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id) AS badcats
ON badcats.id = c.id
WHERE (c.extension='com_content' OR c.extension='system')
AND c.access IN (1,1)
AND c.published = 1
AND s.id=49
AND badcats.id is null
GROUP BY c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level,
c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id,
c.path, c.published, c.rgt, c.title, c.modified_user_id
ORDER BY c.lftSELECT id
FROM jos_assets
WHERE parent_id = 0SELECT c.id, c.userid, c.comment, c.title, c.name, c.username, c.email, c.date, c.object_id, c.object_group, '' as avatar, o.title AS object_title, o.link AS object_link, o.access AS object_access, o.userid AS object_owner
FROM jos_jcomments AS c JOIN jos_jcomments_objects AS o
ON c.object_id = o.object_id
AND c.object_group = o.object_group
AND c.lang = o.lang
WHERE c.published = 1
AND c.deleted = 0
AND o.link <> ''
AND o.access IN (1,0)
AND c.object_group in ('com_content','com_jcomments')
ORDER BY c.date DESC
LIMIT 0, 4SELECT *
FROM jos_jcomments_settingsSELECT o.id, o.title, o.link, COUNT(c.id) AS commentsCount, MAX(c.date) AS commentdate
FROM jos_jcomments_objects AS o JOIN jos_jcomments AS c
ON c.object_id = o.object_id
AND c.object_group = o.object_group
AND c.lang = o.lang
WHERE c.published = 1
AND c.deleted = 0
AND o.link <> ''
AND o.access IN (1,0)
AND c.object_group in ('com_content','com_jcomments')
GROUP BY o.id, o.title, o.link
ORDER BY commentsCount DESC, c.date DESC
LIMIT 0, 5select name, value
from jos_extrawatch_configselect count(ip) as count
from jos_extrawatch_blocked
where ip = '216.73.216.57'
limit 1select count(ip) as count
from jos_extrawatch_blocked
where ip = '216.73.216.57'
limit 1select count(ip) as count
from jos_extrawatch_blocked
where ip like '216.73.216.*%'
limit 1select count(ip) as count
from jos_extrawatch_blocked
where ip like '216.73.*%'
limit 1select count(ip) as count
from jos_extrawatch_blocked
where ip like '216.*%'
limit 1update jos_extrawatch_uri2title
set count = count+1, timestamp = '1766406885'
where (`uri` = '/joomla16/component/joomleague/curve/9-2014-2015/22/0/0')select id
from jos_extrawatch_uri2title
where (`uri` = '/joomla16/component/joomleague/curve/9-2014-2015/22/0/0')
limit 1update jos_extrawatch_uri2title
set title = 'Диаграма: ФК Ботев Пловдив - ПФК ЦСКА София | „А” футболна група 2014/2015'
where id = '2540636'select id, username
from jos_extrawatch
where ip = '216.73.216.57'
limit 1insert into jos_extrawatch_uri (id, fk, timestamp, uri, title)
values ('', '900214', '1766406885', '/joomla16/component/joomleague/curve/9-2014-2015/22/0/0', 'Диаграма: ФК Ботев Пловдив - ПФК ЦСКА София | „А” футболна група 2014/2015')select id
from jos_extrawatch_uri
where fk = '900214'
and `timestamp` = '1766406885'
and `uri` LIKE '/joomla16/component/joomleague/curve/9-2014-2015/22/0/0'
and `title` LIKE 'Диаграма: ФК Ботев Пловдив - ПФК ЦСКА София | „А” футболна група 2014/2015'insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'option', 'com_joomleague', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'Itemid', '', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'view', 'curve', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'p', '9:2014-2015', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'tid1', '22', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'tid2', '0', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'division', '0', 2)select count(id) as count
from jos_extrawatch_info
where (`
group` = '6'
and name = '216.73.216.57'
and date = '20444')update jos_extrawatch_info
set value = value+1
where (`
group` = '6'
and name = '216.73.216.57'
and date = '20444')select count(id) as count
from jos_extrawatch_info
where (`
group` = '4'
and name = '4'
and date = '20444')update jos_extrawatch_info
set value = value+1
where (`
group` = '4'
and name = '4'
and date = '20444')select ip, country
from jos_extrawatch
where (ip = '216.73.216.57'
and country is not NULL)
limit 1SELECT country
FROM jos_extrawatch_ip2c
WHERE 3628718137 >= start
AND 3628718137 <= endupdate jos_extrawatch
set country = 'us'
where ip = '216.73.216.57'select *
from jos_extrawatch_goalsUPDATE `jos_session`
SET `data` = '__default|a:10:{s:15:\"session.counter\";i:64;s:19:\"session.timer.start\";i:1766406810;s:18:\"session.timer.last\";i:1766406878;s:17:\"session.timer.now\";i:1766406880;s:22:\"session.client.browser\";s:103:\"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":0:{}}s:4:\"user\";O:5:\"JUser\":26:{s:9:\"\0*\0isRoot\";b:0;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:0:{}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:10:\"\0*\0_params\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":0:{}}s:14:\"\0*\0_authGroups\";a:1:{i:0;i:1;}s:14:\"\0*\0_authLevels\";a:2:{i:0;i:1;i:1;i:1;}s:15:\"\0*\0_authActions\";N;s:12:\"\0*\0_errorMsg\";N;s:10:\"\0*\0_errors\";a:0:{}s:3:\"aid\";i:0;s:3:\"gid\";s:1:\"1\";}s:13:\"session.token\";s:32:\"6313fe87ce9d80569268c3bb168c12c4\";s:16:\"com_mailto.links\";a:28:{s:40:\"2c0cbdc40c114956b088d25a98e9ea912d1c4449\";O:8:\"stdClass\":2:{s:4:\"link\";s:200:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/1603-локомотив-ботев-враца-10-април-понеделник-17-00\";s:6:\"expiry\";i:1766406812;}s:40:\"bfe0afc98317517b8850a255ca43bb9457864846\";O:8:\"stdClass\":2:{s:4:\"link\";s:156:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/избрано/540-интервю-с-александър-бранéков-тема-спорт\";s:6:\"expiry\";i:1766406815;}s:40:\"5f73522902cc2daf3dad8b24a2b6a866936f1e8f\";O:8:\"stdClass\":2:{s:4:\"link\";s:267:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/907-локомотив-1929-нидо-момичета-до-14-г-останаха-последни-в-скаут-лигата\";s:6:\"expiry\";i:1766406819;}s:40:\"ed1be99aac29cb3cd1ecaeb03732331dfde36c45\";O:8:\"stdClass\":2:{s:4:\"link\";s:307:\"https://lokomotiv.ntesrv.com/joomla16/исторически-факти-за-всичко-свързано-с-локомотив-софия/исторически-факти-за-футбола-в-локомотив/футболисти-на-локомотив-софия/547-кирил-метков-на-50\";s:6:\"expiry\";i:1766406829;}s:40:\"8b71f2097ca55cbe5916a697d319bfcd747c1124\";O:8:\"stdClass\":2:{s:4:\"link\";s:178:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/56-локомотив-литекс-26-юли-петък-18-00-ч\";s:6:\"expiry\";i:1766406830;}s:40:\"490a88bdf4d694bb8ecc9e8c6f72e7f83d77fc12\";O:8:\"stdClass\":2:{s:4:\"link\";s:197:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/53-а-група-1-кръг-пирин-гоце-делчев-локомотив-2-2\";s:6:\"expiry\";i:1766406830;}s:40:\"0132bee327b5813a5329436284f6b19b11ad59b9\";O:8:\"stdClass\":2:{s:4:\"link\";s:178:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/52-пирин-гоце-делчев-локоматив-20-юли\";s:6:\"expiry\";i:1766406830;}s:40:\"276a924276e2727238b1075b02170ecae05cb981\";O:8:\"stdClass\":2:{s:4:\"link\";s:221:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/45-10-07-2013-г-официално-представяне-локомотив-сливнишки-герой\";s:6:\"expiry\";i:1766406830;}s:40:\"7865e89e6458ff3a1426fcad908b6fbb62ed380d\";O:8:\"stdClass\":2:{s:4:\"link\";s:184:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/44-контрола-локомотив-ботев-гълъбово-3-2\";s:6:\"expiry\";i:1766406830;}s:40:\"8870f877ec9b67927bd9ee564fcda83ab31156d9\";O:8:\"stdClass\":2:{s:4:\"link\";s:220:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/42-програма-и-резултати-в-контролните-срещи-лято-2013-6-юли-2013\";s:6:\"expiry\";i:1766406830;}s:40:\"acab25c189d397b31f3df3a73a95c6f4b02ae0fd\";O:8:\"stdClass\":2:{s:4:\"link\";s:211:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/34-контрола-локомотив-ягодина-сърбия-ст-локомотив-18-ч,\";s:6:\"expiry\";i:1766406830;}s:40:\"fa3d25578f06fe2e2c00c60c6ab15e9f029940c6\";O:8:\"stdClass\":2:{s:4:\"link\";s:155:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2143-том-със-100-мача-за-локомотив\";s:6:\"expiry\";i:1766406840;}s:40:\"604c8f9cf2f9edd0cd071e39ca0be4ed27b51608\";O:8:\"stdClass\":2:{s:4:\"link\";s:203:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/1426-резултати-и-временно-класиране-във-втора-лига-26-11-2016-г\";s:6:\"expiry\";i:1766406848;}s:40:\"8c0d1d55041e110c5b604f8952e717cd36cfdef6\";O:8:\"stdClass\":2:{s:4:\"link\";s:264:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1099-служебната-загуба-не-даде-шанс-за-титлата-на-юношите-на-локомотив-нн\";s:6:\"expiry\";i:1766406853;}s:40:\"2911c5c248890c162b2699239f2d5aa8398fe670\";O:8:\"stdClass\":2:{s:4:\"link\";s:243:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/1078-деница-елисеева-с-бронз-от-световното-първенство-по-бокс\";s:6:\"expiry\";i:1766406853;}s:40:\"12acea76110533f0e4358bc6ad8396f3d4f38579\";O:8:\"stdClass\":2:{s:4:\"link\";s:246:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1076-скандално-бфвт-дори-не-отговори-на-жалбата-на-локомотив-нн\";s:6:\"expiry\";i:1766406853;}s:40:\"9dffb305dfa6c2acea579856ec3c211e2165c41d\";O:8:\"stdClass\":2:{s:4:\"link\";s:241:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1073-детският-отбор-на-локомотив-никола-нанов-осми-във-варна\";s:6:\"expiry\";i:1766406853;}s:40:\"00b029540c82c1abd93a948de9dd736b53b71e94\";O:8:\"stdClass\":2:{s:4:\"link\";s:215:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/1071-локомотив-5-ти-за-момичета-до-12-години\";s:6:\"expiry\";i:1766406853;}s:40:\"5298075d9ad7e7f20e9a84d6a8fd787070caa73d\";O:8:\"stdClass\":2:{s:4:\"link\";s:296:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1067-открито-писмо-на-сквт-локомотив-никола-нанов-до-ватерполната-общественост-в-българия\";s:6:\"expiry\";i:1766406853;}s:40:\"0e397876a9e3da12342b0f94c48ef34466a38a29\";O:8:\"stdClass\":2:{s:4:\"link\";s:257:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1066-жените-на-локомотив-нн-спечелиха-сребърните-медали-в-шампионата\";s:6:\"expiry\";i:1766406853;}s:40:\"16a926419b6e0e67538866116973f97043c4b1cb\";O:8:\"stdClass\":2:{s:4:\"link\";s:194:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2609-локомотив-победи-националите-до-19-години\";s:6:\"expiry\";i:1766406854;}s:40:\"e753a0a3b955ebbbb1888dd88e1f3433532a0f41\";O:8:\"stdClass\":2:{s:4:\"link\";s:161:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2606-локомотив-спартак-пл-1-0\";s:6:\"expiry\";i:1766406854;}s:40:\"037f7f54b265b4bc5427fc9b901126ae4dfcc334\";O:8:\"stdClass\":2:{s:4:\"link\";s:177:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2605-на-живо-18-00-локомотив-спартак-пл\";s:6:\"expiry\";i:1766406854;}s:40:\"c209f9ca239055819428aee7f949481e9a6d81e6\";O:8:\"stdClass\":2:{s:4:\"link\";s:152:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2602-пирин-локомотив-0-1\";s:6:\"expiry\";i:1766406854;}s:40:\"783d8ac8e0ca09f6c0183a9530209263db21e638\";O:8:\"stdClass\":2:{s:4:\"link\";s:155:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2598-ботев-г-локомотив-0-3\";s:6:\"expiry\";i:1766406854;}s:40:\"4478e8a034f0dd09305c1cbd7154a552b605209a\";O:8:\"stdClass\":2:{s:4:\"link\";s:174:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2597-на-живо-ботев-г-локомотив-18-00-ч\";s:6:\"expiry\";i:1766406854;}s:40:\"3d0965affc643a0cf0c1fdce1c8095a6303cbbf9\";O:8:\"stdClass\":2:{s:4:\"link\";s:163:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2593-локомотив-лудогорец-ii-2-0\";s:6:\"expiry\";i:1766406854;}s:40:\"f1731a7deee5729a81c0e4e133f51ddd17c1de8e\";O:8:\"stdClass\":2:{s:4:\"link\";s:183:\"https://lokomotiv.ntesrv.com/joomla16/видео/пълен-запис/1431-2016-локомотив-нн-цска-14-1-юноши-старша-пролетен-турнир-софия\";s:6:\"expiry\";i:1766406879;}}s:19:\"com_mailto.formtime\";i:1766406864;}'
, `time` = '1766406885'
WHERE `session_id` = '7c742a22632d68afd8c0f8c2cbcf024b'297 × SELECT m.id, m.projectteam1_id, m.projectteam2_id, m.team1_result AS home_score, m.team2_result AS away_score, m.team1_bonus AS home_bonus, m.team2_bonus AS away_bonus, m.team1_legs AS l1, m.team2_legs AS l2, m.match_result_type AS match_result_type, m.alt_decision as decision, m.team1_result_decision AS home_score_decision, m.team2_result_decision AS away_score_decision, m.team1_result_ot AS home_score_ot, m.team2_result_ot AS away_score_ot, m.team1_result_so AS home_score_so, m.team2_result_so AS away_score_so, r.id as roundid, m.team_won, r.roundcode
FROM jos_joomleague_match m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id = pt1.id
INNER JOIN jos_joomleague_round AS r
ON m.round_id = r.id297 × SELECT pt.id AS ptid, pt.is_in_score, pt.start_points, pt.division_id, t.name, t.id as teamid, pt.neg_points_finally, pt.use_finally, pt.points_finally,pt.matches_finally,pt.won_finally,pt.draws_finally,pt.lost_finally, pt.homegoals_finally, pt.guestgoals_finally,pt.diffgoals_finally
FROM jos_joomleague_project_team AS pt
INNER JOIN jos_joomleague_team AS t
ON t.id = pt.team_id23 × SELECT extension
FROM jos_joomleague_project11 × SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id6 × SELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions5 × select count(ip) as count
from jos_extrawatch_blocked4 × SELECT t.params
FROM jos_joomleague_template_config AS t
INNER JOIN jos_joomleague_project AS p
ON p.id=t.project_id4 × SELECT p.*, l.country, st.id AS sport_type_id, st.name AS sport_type_name, LOWER(SUBSTR(st.name, CHAR_LENGTH( "COM_JOOMLEAGUE_ST_")+1)) AS fs_sport_type_name,
CASE WHEN CHAR_LENGTH( p.alias ) THEN CONCAT_WS( ':', p.id, p.alias ) ELSE p.id END AS slug, l.name AS league_name, s.name AS season_name
FROM jos_joomleague_project AS p
INNER JOIN jos_joomleague_sports_type AS st
ON p.sports_type_id = st.id
LEFT JOIN jos_joomleague_league AS l
ON p.league_id = l.id
LEFT JOIN jos_joomleague_season AS s
ON p.season_id = s.id3 × SELECT id, roundcode
FROM jos_joomleague_round3 × SELECT r.roundcode, r.id
FROM jos_joomleague_round AS r2 × SELECT CONCAT(major,'.',minor,'.',build,'.',revision) AS version
FROM jos_joomleague_version2 × SELECT id
FROM jos_assets2 × SELECT b.rules
FROM jos_assets AS a
LEFT JOIN jos_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt2 × select count(id) as count
from jos_extrawatch_info2 × SELECT t1.id AS teamid1, t2.id AS teamid2
FROM jos_joomleague_match AS m
INNER JOIN jos_joomleague_project_team AS pt1
ON m.projectteam1_id=pt1.id
AND pt1.project_id='9'
INNER JOIN jos_joomleague_team AS t1
ON pt1.team_id=t1.id
INNER JOIN jos_joomleague_project_team AS pt2
ON m.projectteam2_id=pt2.id
AND pt2.project_id='9'
INNER JOIN jos_joomleague_team AS t2
ON pt2.team_id=t2.id
INNER JOIN jos_joomleague_project AS p
ON pt1.project_id=p.id
AND pt2.project_id=p.id1 × SELECT *
FROM jos_jcomments_setting1 × SELECT o.id, o.title, o.link, COUNT(c.id) AS commentsCount, MAX(c.date) AS commentdate
FROM jos_jcomments_objects AS o JOIN jos_jcomments AS c
ON c.object_id = o.object_id
AND c.object_group = o.object_group
AND c.lang = o.lang1 × select name, value
from jos_extrawatch_confi1 × select id, username
from jos_extrawatch1 × SELECT country
FROM jos_extrawatch_ip2c1 × select *
from jos_extrawatch_goal1 × select ip, country
from jos_extrawatch1 × select id
from jos_extrawatch_uri1 × SELECT c.id, c.userid, c.comment, c.title, c.name, c.username, c.email, c.date, c.object_id, c.object_group, '' as avatar, o.title AS object_title, o.link AS object_link, o.access AS object_access, o.userid AS object_owner
FROM jos_jcomments AS c JOIN jos_jcomments_objects AS o
ON c.object_id = o.object_id
AND c.object_group = o.object_group
AND c.lang = o.lang1 × select id
from jos_extrawatch_uri2title1 × SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN jos_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id1 × SELECT id, home, template, s.params
FROM jos_template_styles as s
LEFT JOIN jos_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id1 × SELECT *
FROM jos_languages1 × SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,m.browserNav, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM jos_menu AS m
LEFT JOIN jos_extensions AS e
ON m.component_id = e.extension_id1 × SELECT folder AS type, element AS name, params
FROM jos_extensions1 × SELECT tl.id AS projectteamid, tl.division_id, tl.standard_playground, tl.start_points, tl.points_finally, tl.neg_points_finally, tl.matches_finally, tl.won_finally, tl.draws_finally, tl.lost_finally, tl.homegoals_finally, tl.guestgoals_finally, tl.diffgoals_finally, tl.info, tl.reason, tl.team_id, tl.checked_out, tl.checked_out_time, tl.is_in_score, tl.picture AS projectteam_picture, t.picture as team_picture, IF((ISNULL(tl.picture) OR (tl.picture="")), (IF((ISNULL(t.picture) OR (t.picture="")), c.logo_small , t.picture)) , t.picture) as picture, tl.project_id, t.id,t.name, t.short_name, t.middle_name, t.notes, t.club_id, c.email as club_email, c.logo_small, c.logo_middle, c.logo_big, c.country, c.website, d.name AS division_name, d.picture AS division_picture, d.shortname AS division_shortname, d.parent_id AS parent_division_id, plg.name AS playground_name, plg.short_name AS playground_short_name,
CASE WHEN CHAR_LENGTH(p.alias) THEN CONCAT_WS(':',p.id,p.alias) ELSE p.id END AS project_slug,
CASE WHEN CHAR_LENGTH(t.alias) THEN CONCAT_WS(':',t.id,t.alias) ELSE t.id END AS team_slug,
CASE WHEN CHAR_LENGTH(d.alias) THEN CONCAT_WS(':',d.id,d.alias) ELSE d.id END AS division_slug,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':',c.id,c.alias) ELSE c.id END AS club_slug
FROM jos_joomleague_project_team tl
LEFT JOIN jos_joomleague_team t
ON tl.team_id=t.id
LEFT JOIN jos_joomleague_club c
ON t.club_id=c.id
LEFT JOIN jos_joomleague_division d
ON d.id=tl.division_id
LEFT JOIN jos_joomleague_playground plg
ON plg.id=tl.standard_playground
LEFT JOIN jos_joomleague_project AS p
ON p.id=tl.project_id1 × SELECT id,round_date_first,round_date_last,
CASE LENGTH(name) when 0 then roundcode else name END as name, roundcode
FROM jos_joomleague_round1 × SELECT a.fulltext, a.id, a.title, a.alias, a.title_alias, a.introtext, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.publish_up, a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.language,a.fulltext, a.id, a.title, a.alias, a.title_alias, a.introtext, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.publish_up, a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.language,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,( SELECT MAX(contact.id) AS id
FROM jos_contact_details AS contact1 × SELECT id, rules
FROM `jos_viewlevels1 × SELECT b.id
FROM jos_usergroups AS a
LEFT JOIN jos_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt1 × SELECT `data`
FROM `jos_session`1 × SELECT c.*,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
FROM jos_categories as c
LEFT JOIN jos_categories AS s
ON (s.lft <= c.lft
AND s.rgt >= c.rgt) OR (s.lft > c.lft
AND s.rgt < c.rgt)
LEFT JOIN (SELECT cat.id as id
FROM jos_categories AS cat JOIN jos_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt2 × update jos_extrawatch_info
set value = value+11 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'tid2', '0', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'tid1', '22', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'division', '0', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'p', '9:2014-2015', 21 × update jos_extrawatch
set country = 'us'1 × UPDATE `jos_session`
SET `data` = '__default|a:10:{s:15:\"session.counter\";i:64;s:19:\"session.timer.start\";i:1766406810;s:18:\"session.timer.last\";i:1766406878;s:17:\"session.timer.now\";i:1766406880;s:22:\"session.client.browser\";s:103:\"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":0:{}}s:4:\"user\";O:5:\"JUser\":26:{s:9:\"\0*\0isRoot\";b:0;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:0:{}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:10:\"\0*\0_params\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":0:{}}s:14:\"\0*\0_authGroups\";a:1:{i:0;i:1;}s:14:\"\0*\0_authLevels\";a:2:{i:0;i:1;i:1;i:1;}s:15:\"\0*\0_authActions\";N;s:12:\"\0*\0_errorMsg\";N;s:10:\"\0*\0_errors\";a:0:{}s:3:\"aid\";i:0;s:3:\"gid\";s:1:\"1\";}s:13:\"session.token\";s:32:\"6313fe87ce9d80569268c3bb168c12c4\";s:16:\"com_mailto.links\";a:28:{s:40:\"2c0cbdc40c114956b088d25a98e9ea912d1c4449\";O:8:\"stdClass\":2:{s:4:\"link\";s:200:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/1603-локомотив-ботев-враца-10-април-понеделник-17-00\";s:6:\"expiry\";i:1766406812;}s:40:\"bfe0afc98317517b8850a255ca43bb9457864846\";O:8:\"stdClass\":2:{s:4:\"link\";s:156:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/избрано/540-интервю-с-александър-бранéков-тема-спорт\";s:6:\"expiry\";i:1766406815;}s:40:\"5f73522902cc2daf3dad8b24a2b6a866936f1e8f\";O:8:\"stdClass\":2:{s:4:\"link\";s:267:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/907-локомотив-1929-нидо-момичета-до-14-г-останаха-последни-в-скаут-лигата\";s:6:\"expiry\";i:1766406819;}s:40:\"ed1be99aac29cb3cd1ecaeb03732331dfde36c45\";O:8:\"stdClass\":2:{s:4:\"link\";s:307:\"https://lokomotiv.ntesrv.com/joomla16/исторически-факти-за-всичко-свързано-с-локомотив-софия/исторически-факти-за-футбола-в-локомотив/футболисти-на-локомотив-софия/547-кирил-метков-на-50\";s:6:\"expiry\";i:1766406829;}s:40:\"8b71f2097ca55cbe5916a697d319bfcd747c1124\";O:8:\"stdClass\":2:{s:4:\"link\";s:178:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/56-локомотив-литекс-26-юли-петък-18-00-ч\";s:6:\"expiry\";i:1766406830;}s:40:\"490a88bdf4d694bb8ecc9e8c6f72e7f83d77fc12\";O:8:\"stdClass\":2:{s:4:\"link\";s:197:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/53-а-група-1-кръг-пирин-гоце-делчев-локомотив-2-2\";s:6:\"expiry\";i:1766406830;}s:40:\"0132bee327b5813a5329436284f6b19b11ad59b9\";O:8:\"stdClass\":2:{s:4:\"link\";s:178:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/52-пирин-гоце-делчев-локоматив-20-юли\";s:6:\"expiry\";i:1766406830;}s:40:\"276a924276e2727238b1075b02170ecae05cb981\";O:8:\"stdClass\":2:{s:4:\"link\";s:221:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/45-10-07-2013-г-официално-представяне-локомотив-сливнишки-герой\";s:6:\"expiry\";i:1766406830;}s:40:\"7865e89e6458ff3a1426fcad908b6fbb62ed380d\";O:8:\"stdClass\":2:{s:4:\"link\";s:184:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/44-контрола-локомотив-ботев-гълъбово-3-2\";s:6:\"expiry\";i:1766406830;}s:40:\"8870f877ec9b67927bd9ee564fcda83ab31156d9\";O:8:\"stdClass\":2:{s:4:\"link\";s:220:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/42-програма-и-резултати-в-контролните-срещи-лято-2013-6-юли-2013\";s:6:\"expiry\";i:1766406830;}s:40:\"acab25c189d397b31f3df3a73a95c6f4b02ae0fd\";O:8:\"stdClass\":2:{s:4:\"link\";s:211:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/34-контрола-локомотив-ягодина-сърбия-ст-локомотив-18-ч,\";s:6:\"expiry\";i:1766406830;}s:40:\"fa3d25578f06fe2e2c00c60c6ab15e9f029940c6\";O:8:\"stdClass\":2:{s:4:\"link\";s:155:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2143-том-със-100-мача-за-локомотив\";s:6:\"expiry\";i:1766406840;}s:40:\"604c8f9cf2f9edd0cd071e39ca0be4ed27b51608\";O:8:\"stdClass\":2:{s:4:\"link\";s:203:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/1426-резултати-и-временно-класиране-във-втора-лига-26-11-2016-г\";s:6:\"expiry\";i:1766406848;}s:40:\"8c0d1d55041e110c5b604f8952e717cd36cfdef6\";O:8:\"stdClass\":2:{s:4:\"link\";s:264:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1099-служебната-загуба-не-даде-шанс-за-титлата-на-юношите-на-локомотив-нн\";s:6:\"expiry\";i:1766406853;}s:40:\"2911c5c248890c162b2699239f2d5aa8398fe670\";O:8:\"stdClass\":2:{s:4:\"link\";s:243:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/1078-деница-елисеева-с-бронз-от-световното-първенство-по-бокс\";s:6:\"expiry\";i:1766406853;}s:40:\"12acea76110533f0e4358bc6ad8396f3d4f38579\";O:8:\"stdClass\":2:{s:4:\"link\";s:246:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1076-скандално-бфвт-дори-не-отговори-на-жалбата-на-локомотив-нн\";s:6:\"expiry\";i:1766406853;}s:40:\"9dffb305dfa6c2acea579856ec3c211e2165c41d\";O:8:\"stdClass\":2:{s:4:\"link\";s:241:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1073-детският-отбор-на-локомотив-никола-нанов-осми-във-варна\";s:6:\"expiry\";i:1766406853;}s:40:\"00b029540c82c1abd93a948de9dd736b53b71e94\";O:8:\"stdClass\":2:{s:4:\"link\";s:215:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/1071-локомотив-5-ти-за-момичета-до-12-години\";s:6:\"expiry\";i:1766406853;}s:40:\"5298075d9ad7e7f20e9a84d6a8fd787070caa73d\";O:8:\"stdClass\":2:{s:4:\"link\";s:296:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1067-открито-писмо-на-сквт-локомотив-никола-нанов-до-ватерполната-общественост-в-българия\";s:6:\"expiry\";i:1766406853;}s:40:\"0e397876a9e3da12342b0f94c48ef34466a38a29\";O:8:\"stdClass\":2:{s:4:\"link\";s:257:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/1066-жените-на-локомотив-нн-спечелиха-сребърните-медали-в-шампионата\";s:6:\"expiry\";i:1766406853;}s:40:\"16a926419b6e0e67538866116973f97043c4b1cb\";O:8:\"stdClass\":2:{s:4:\"link\";s:194:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2609-локомотив-победи-националите-до-19-години\";s:6:\"expiry\";i:1766406854;}s:40:\"e753a0a3b955ebbbb1888dd88e1f3433532a0f41\";O:8:\"stdClass\":2:{s:4:\"link\";s:161:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2606-локомотив-спартак-пл-1-0\";s:6:\"expiry\";i:1766406854;}s:40:\"037f7f54b265b4bc5427fc9b901126ae4dfcc334\";O:8:\"stdClass\":2:{s:4:\"link\";s:177:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2605-на-живо-18-00-локомотив-спартак-пл\";s:6:\"expiry\";i:1766406854;}s:40:\"c209f9ca239055819428aee7f949481e9a6d81e6\";O:8:\"stdClass\":2:{s:4:\"link\";s:152:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2602-пирин-локомотив-0-1\";s:6:\"expiry\";i:1766406854;}s:40:\"783d8ac8e0ca09f6c0183a9530209263db21e638\";O:8:\"stdClass\":2:{s:4:\"link\";s:155:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2598-ботев-г-локомотив-0-3\";s:6:\"expiry\";i:1766406854;}s:40:\"4478e8a034f0dd09305c1cbd7154a552b605209a\";O:8:\"stdClass\":2:{s:4:\"link\";s:174:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2597-на-живо-ботев-г-локомотив-18-00-ч\";s:6:\"expiry\";i:1766406854;}s:40:\"3d0965affc643a0cf0c1fdce1c8095a6303cbbf9\";O:8:\"stdClass\":2:{s:4:\"link\";s:163:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2593-локомотив-лудогорец-ii-2-0\";s:6:\"expiry\";i:1766406854;}s:40:\"f1731a7deee5729a81c0e4e133f51ddd17c1de8e\";O:8:\"stdClass\":2:{s:4:\"link\";s:183:\"https://lokomotiv.ntesrv.com/joomla16/видео/пълен-запис/1431-2016-локомотив-нн-цска-14-1-юноши-старша-пролетен-турнир-софия\";s:6:\"expiry\";i:1766406879;}}s:19:\"com_mailto.formtime\";i:1766406864;}' , `time` = '1766406885'1 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'view', 'curve', 21 × update jos_extrawatch_uri2title
set title = 'Диаграма: ФК Ботев Пловдив - ПФК ЦСКА София | „А” футболна група 2014/2015'1 × update jos_extrawatch_uri2title
set count = count+1, timestamp = '1766406885'1 × insert into jos_extrawatch_uri (id, fk, timestamp, uri, title)
values ('', '900214', '1766406885', '/joomla16/component/joomleague/curve/9-2014-2015/22/0/0', 'Диаграма: ФК Ботев Пловдив - ПФК ЦСКА София | „А” футболна група 2014/2015'1 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'option', 'com_joomleague', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12287310', 'Itemid', '', 21 × SHOW FULL COLUMNS
FROM `jos_assets
Прочетете още...