| Диаграма: ФК Хасково 2009 - ПФК Славия София | „А” футболна група 2014/2015 |
| Отбори: |
| Шампион | Лига Европа | първа шестица | втора шестица | изпадащи |
:: Powered by JoomLeague - Version 2.93.239.9df0b25 ::
| Диаграма: ФК Хасково 2009 - ПФК Славия София | „А” футболна група 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
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/209-ръгби-локомотив-балкански-котки-34-8
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/180-турнир-по-бокс-за-купите-“румен-сотиров”-на-стадион-локомотив
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/178-децата-на-локомотив-н-н-с-шампионинска-титла
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/207-бойко-златанов-с-награда-от-локомотив
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/джудо-и-самбо/208-алекс-стефанов-с-бронзов-медал-от-европейското-по-самбо-за-кадети
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/18-програма-за-контролни-срещи-лято-2013-към-20-юни
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/16-трансфери-в-а-отборът-на-локомотив-20-юни-2013
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/5-начало-на-лятната-подготовка-за-а-отборът-на-локомотив-15-юни-2013
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/6-трансфери-в-а-отборът-на-локомотив-14-юни-2013
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/програма-а-отбор-сезон-2013-2014/7-програмата-на-локомотив-в-нюз7-а-група-за-сезон-2013-2014
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/8-програма-за-контролни-срещи-лято-2013-14-юни-2013
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2964-ръгби-балкански-котки-локомотив-24-04-2021-14-00
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2962-държавно-първенство-“златен-обръч”
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2959-ръгби-15-локомотив-нса-24-20
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/тенис/2958-вероника-железова-вицешампионка-на-държавен-турнир-до-14-г
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2957-ръгби-на-живо-локомотив-нса-14-00
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2956-държавното-първенство-по-ръгби-7-за-деца-и-младежи
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2955-развитието-на-художествената-гимнастика-под-заплаха
link ⇒ https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/519-lokosf-info-podcast-бр-19
link ⇒ https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/493-lokosf-info-podcast-бр-17
link ⇒ https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/181-подкаст-lokosf-info-брой-11-09-06-2012-г
link ⇒ https://lokomotiv.ntesrv.com/joomla16/архив/1727-неактивни-връзки-архив
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2981-вход-свободен-за-локомотив-янтра
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2980-локомотив-хебър-1-1
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/2979-септември-симитли-напуска-втора-лига-заради-простотиите-на-бфс
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2978-хебър-локомотив-без-тв-излъчване-михайлов-се-завърна,-бфс-по-старо-му
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2977-виртуални-билети-хебър-локомотив
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/програма-а-отбор-сезон-2013-2014/2973-програма-от-31-ти-до-34-ти-кръг-на-втора-лига
link ⇒ https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2972-отвориха-стадионите,-пирин-влезе-в-елита,-хебър-загуби
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2890-баскетбол-отложиха-срещата-на-локомотив-за-22-ноември
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2889-програма-локомотив-срещу-цска-на-1-ноември
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/2888-всички-спортни-събития-отново-без-публика
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/2887-стойка-кръстева-спечели-титла-от-турнира-балкан
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2885-видео-локомотив-победи-и-шампион-2006
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2884-страхил-балов-имам-чувството,-че-влизам-в-проект-‘марица’
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2883-баскетбол-шампион-2006-локомотив-25-10-2020-17-00
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2976-локомотив-софия-триумфира-с-титлата-при-жените-в-ббл-б-група
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2975-локомотив-се-класира-за-финали-за-девойки-u20
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/лека-атлетика/2974-сребърен-медал-за-лозан-димитров
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/джудо-и-самбо/2971-длош-за-момчета-и-момичета-по-самбо
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2970-нк-“елит”
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2969-ръгби-балкански-котки-локомотив-78-7
link ⇒ https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/2968-топ-10-спортисти-и-треньори-на-153-то-училище-за-2020-г
session.token ⇒ 96bec93da88a353e4d8b8437f59e2cac
Application 0.000 seconds (+0.000); 0.64 MB (+0.642) - afterLoadApplication 0.051 seconds (+0.051); 3.89 MB (+3.247) - afterInitialiseApplication 0.103 seconds (+0.052); 7.67 MB (+3.784) - afterRouteApplication 3.615 seconds (+3.512); 10.76 MB (+3.084) - afterDispatchApplication 3.642 seconds (+0.027); 11.48 MB (+0.724) - beforeRenderModule mod_search (Търси)Application 3.650 seconds (+0.008); 11.53 MB (+0.045) - afterRenderModule mod_search (Търси)Application 3.652 seconds (+0.001); 11.52 MB (-0.006) - beforeRenderModule mod_custom (LOGO)Application 3.660 seconds (+0.009); 11.53 MB (+0.008) - afterRenderModule mod_custom (LOGO)Application 3.663 seconds (+0.002); 11.53 MB (+0.001) - beforeRenderModule mod_menu (Main Menu)Application 3.742 seconds (+0.079); 11.88 MB (+0.352) - afterRenderModule mod_menu (Main Menu)Application 3.773 seconds (+0.031); 12.14 MB (+0.256) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)Application 3.780 seconds (+0.007); 12.20 MB (+0.066) - afterRenderModule mod_breadcrumbs (Breadcrumbs)Application 3.782 seconds (+0.002); 12.22 MB (+0.020) - beforeRenderModule mod_fj_related_plus (Подобни публикации)Application 3.791 seconds (+0.010); 12.40 MB (+0.180) - afterRenderModule mod_fj_related_plus (Подобни публикации)Application 3.793 seconds (+0.002); 12.38 MB (-0.022) - beforeRenderModule mod_menu (Submenu)Application 3.794 seconds (+0.001); 12.39 MB (+0.007) - afterRenderModule mod_menu (Submenu)Application 3.795 seconds (+0.000); 12.38 MB (-0.005) - beforeRenderModule mod_custom (Събития)Application 3.851 seconds (+0.056); 14.07 MB (+1.685) - afterRenderModule mod_custom (Събития)Application 3.851 seconds (+0.000); 14.07 MB (-0.002) - beforeRenderModule mod_custom (Refresh_all)Application 3.852 seconds (+0.001); 14.07 MB (+0.005) - afterRenderModule mod_custom (Refresh_all)Application 3.856 seconds (+0.003); 14.08 MB (+0.003) - beforeRenderModule mod_articles_news (ВИДЕО)Application 3.883 seconds (+0.028); 14.58 MB (+0.501) - afterRenderModule mod_articles_news (ВИДЕО)Application 3.884 seconds (+0.000); 14.57 MB (-0.006) - beforeRenderModule mod_jw_ts (Tabs & Sliders (by JoomlaWorks) bottom-b)Application 3.890 seconds (+0.006); 14.63 MB (+0.055) - beforeRenderModule mod_fbfanbox (FACEBOOK)Application 3.895 seconds (+0.005); 14.65 MB (+0.022) - afterRenderModule mod_fbfanbox (FACEBOOK)Application 3.895 seconds (+0.000); 14.65 MB (-0.001) - beforeRenderModule mod_jcomments_latest (НОВИ КОМЕНТАРИ)Application 3.938 seconds (+0.043); 15.86 MB (+1.210) - afterRenderModule mod_jcomments_latest (НОВИ КОМЕНТАРИ)Application 3.938 seconds (+0.000); 15.83 MB (-0.032) - beforeRenderModule mod_jcomments_most_commented (НАЙ-КОМЕНТИРАНИ)Application 3.973 seconds (+0.035); 15.88 MB (+0.052) - afterRenderModule mod_jcomments_most_commented (НАЙ-КОМЕНТИРАНИ)Application 3.973 seconds (+0.000); 15.83 MB (-0.046) - afterRenderModule mod_jw_ts (Tabs & Sliders (by JoomlaWorks) bottom-b)Application 3.976 seconds (+0.003); 15.82 MB (-0.006) - beforeRenderModule mod_extrawatch_agent (ExtraWatch Agent Module)Application 4.092 seconds (+0.115); 18.16 MB (+2.337) - afterRenderModule mod_extrawatch_agent (ExtraWatch Agent Module)Application 4.103 seconds (+0.011); 18.16 MB (-0.000) - afterRender18.25 MB (19,137,960 Bytes)SELECT `data`
FROM `jos_session`
WHERE `session_id` = '019ff5330f0874a1f1613e3dfc54f45f'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='38'
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='38'
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 <= '2026-02-23 05:15:22')
AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2026-02-23 05:15:22')
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 <= '2026-02-23 05:15:22')
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2026-02-23 05:15:22')
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.180'
limit 1select count(ip) as count
from jos_extrawatch_blocked
where ip = '216.73.216.180'
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 = '1771823722'
where (`uri` = '/joomla16/component/joomleague/curve/9-2014-2015/38-2009/0/0')select id
from jos_extrawatch_uri2title
where (`uri` = '/joomla16/component/joomleague/curve/9-2014-2015/38-2009/0/0')
limit 1update jos_extrawatch_uri2title
set title = 'Диаграма: ФК Хасково 2009 - ПФК Славия София | „А” футболна група 2014/2015'
where id = '2540596'select id, username
from jos_extrawatch
where ip = '216.73.216.180'
limit 1insert into jos_extrawatch_uri (id, fk, timestamp, uri, title)
values ('', '909106', '1771823722', '/joomla16/component/joomleague/curve/9-2014-2015/38-2009/0/0', 'Диаграма: ФК Хасково 2009 - ПФК Славия София | „А” футболна група 2014/2015')select id
from jos_extrawatch_uri
where fk = '909106'
and `timestamp` = '1771823722'
and `uri` LIKE '/joomla16/component/joomleague/curve/9-2014-2015/38-2009/0/0'
and `title` LIKE 'Диаграма: ФК Хасково 2009 - ПФК Славия София | „А” футболна група 2014/2015'insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'option', 'com_joomleague', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'Itemid', '', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'view', 'curve', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'p', '9:2014-2015', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'tid1', '38:2009', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'tid2', '0', 2)insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'division', '0', 2)select count(id) as count
from jos_extrawatch_info
where (`
group` = '6'
and name = '216.73.216.180'
and date = '20507')update jos_extrawatch_info
set value = value+1
where (`
group` = '6'
and name = '216.73.216.180'
and date = '20507')select count(id) as count
from jos_extrawatch_info
where (`
group` = '4'
and name = '4'
and date = '20507')update jos_extrawatch_info
set value = value+1
where (`
group` = '4'
and name = '4'
and date = '20507')select ip, country
from jos_extrawatch
where (ip = '216.73.216.180'
and country is not NULL)
limit 1SELECT country
FROM jos_extrawatch_ip2c
WHERE 3628718260 >= start
AND 3628718260 <= endupdate jos_extrawatch
set country = 'us'
where ip = '216.73.216.180'select *
from jos_extrawatch_goalsUPDATE `jos_session`
SET `data` = '__default|a:10:{s:15:\"session.counter\";i:16;s:19:\"session.timer.start\";i:1771823699;s:18:\"session.timer.last\";i:1771823717;s:17:\"session.timer.now\";i:1771823718;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:16:\"com_mailto.links\";a:43:{s:40:\"256ec963e16a72c0f1a81a048456dab97dc2c4f5\";O:8:\"stdClass\":2:{s:4:\"link\";s:200:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/209-ръгби-локомотив-балкански-котки-34-8\";s:6:\"expiry\";i:1771823701;}s:40:\"bf0c4beb1fc7fa827af046138d9b280cef7a78b4\";O:8:\"stdClass\":2:{s:4:\"link\";s:253:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/180-турнир-по-бокс-за-купите-“румен-сотиров”-на-стадион-локомотив\";s:6:\"expiry\";i:1771823701;}s:40:\"b1b599eaba431efc6c6fc28fa1d628f259d4b00d\";O:8:\"stdClass\":2:{s:4:\"link\";s:219:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/178-децата-на-локомотив-н-н-с-шампионинска-титла\";s:6:\"expiry\";i:1771823701;}s:40:\"0a50f6ef8188e5ce2456b7f5bcf7ce10df850c08\";O:8:\"stdClass\":2:{s:4:\"link\";s:155:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/207-бойко-златанов-с-награда-от-локомотив\";s:6:\"expiry\";i:1771823701;}s:40:\"83d64dd868c184f8649d320db5158eff54da2e79\";O:8:\"stdClass\":2:{s:4:\"link\";s:231:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/джудо-и-самбо/208-алекс-стефанов-с-бронзов-медал-от-европейското-по-самбо-за-кадети\";s:6:\"expiry\";i:1771823701;}s:40:\"fb661a039a940068894c4d78774d917d4f70761d\";O:8:\"stdClass\":2:{s:4:\"link\";s:199:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/18-програма-за-контролни-срещи-лято-2013-към-20-юни\";s:6:\"expiry\";i:1771823702;}s:40:\"112720d9e3581a98009437b934efa3c0fff66ac9\";O:8:\"stdClass\":2:{s:4:\"link\";s:181:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/16-трансфери-в-а-отборът-на-локомотив-20-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"dd6b5dd48ddfa95a6996dd853279c781d8ec81f3\";O:8:\"stdClass\":2:{s:4:\"link\";s:217:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/5-начало-на-лятната-подготовка-за-а-отборът-на-локомотив-15-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"fb10ee352d752655b0c1680e26dd89f766ea021b\";O:8:\"stdClass\":2:{s:4:\"link\";s:180:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/6-трансфери-в-а-отборът-на-локомотив-14-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"212289cf58faa4b65d63b1c4f92a883af91d50c9\";O:8:\"stdClass\":2:{s:4:\"link\";s:236:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/програма-а-отбор-сезон-2013-2014/7-програмата-на-локомотив-в-нюз7-а-група-за-сезон-2013-2014\";s:6:\"expiry\";i:1771823702;}s:40:\"16daa8264696d3b0643a25126169ef98e00feac4\";O:8:\"stdClass\":2:{s:4:\"link\";s:196:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/8-програма-за-контролни-срещи-лято-2013-14-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"6e27e8873dd5e11cf050c39cbe3b4e5077a1b14f\";O:8:\"stdClass\":2:{s:4:\"link\";s:213:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2964-ръгби-балкански-котки-локомотив-24-04-2021-14-00\";s:6:\"expiry\";i:1771823707;}s:40:\"ef185d3be403ff67b56b9d9d97182f38afe6a6e2\";O:8:\"stdClass\":2:{s:4:\"link\";s:200:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2962-държавно-първенство-“златен-обръч”\";s:6:\"expiry\";i:1771823707;}s:40:\"e362f3957889ad91c1c742ce203088293d25f597\";O:8:\"stdClass\":2:{s:4:\"link\";s:182:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2959-ръгби-15-локомотив-нса-24-20\";s:6:\"expiry\";i:1771823707;}s:40:\"bb2c887fcdffc361cd9ecbadd7d0884a981a1211\";O:8:\"stdClass\":2:{s:4:\"link\";s:204:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/тенис/2958-вероника-железова-вицешампионка-на-държавен-турнир-до-14-г\";s:6:\"expiry\";i:1771823707;}s:40:\"7d51363cf973ff4419b5dca7b26fda3004d45e56\";O:8:\"stdClass\":2:{s:4:\"link\";s:193:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2957-ръгби-на-живо-локомотив-нса-14-00\";s:6:\"expiry\";i:1771823707;}s:40:\"be37f965985a3945116fc65293ea8c4735a8ebcd\";O:8:\"stdClass\":2:{s:4:\"link\";s:228:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2956-държавното-първенство-по-ръгби-7-за-деца-и-младежи\";s:6:\"expiry\";i:1771823707;}s:40:\"3c986735fa7bd25220a2cb53fa6b9e14e4fc416c\";O:8:\"stdClass\":2:{s:4:\"link\";s:230:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2955-развитието-на-художествената-гимнастика-под-заплаха\";s:6:\"expiry\";i:1771823707;}s:40:\"ce1c877c8066b3cdff0a8b6e40c4139eb9ac28da\";O:8:\"stdClass\":2:{s:4:\"link\";s:120:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/519-lokosf-info-podcast-бр-19\";s:6:\"expiry\";i:1771823708;}s:40:\"1a593a3c9bc16215c563310f90061725dfeedbad\";O:8:\"stdClass\":2:{s:4:\"link\";s:120:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/493-lokosf-info-podcast-бр-17\";s:6:\"expiry\";i:1771823708;}s:40:\"6a004c783979b73ff7d5835d6aefcb75ea25b0ed\";O:8:\"stdClass\":2:{s:4:\"link\";s:145:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/181-подкаст-lokosf-info-брой-11-09-06-2012-г\";s:6:\"expiry\";i:1771823708;}s:40:\"e0ab78a06d583ffafd7d4c87c98da4f3de68e78d\";O:8:\"stdClass\":2:{s:4:\"link\";s:96:\"https://lokomotiv.ntesrv.com/joomla16/архив/1727-неактивни-връзки-архив\";s:6:\"expiry\";i:1771823710;}s:40:\"9fd95024b6766ef16b0a7f26db9cc64362f0416d\";O:8:\"stdClass\":2:{s:4:\"link\";s:165:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2981-вход-свободен-за-локомотив-янтра\";s:6:\"expiry\";i:1771823712;}s:40:\"4d4f168554f105c187f24befe0f622272f0dcd69\";O:8:\"stdClass\":2:{s:4:\"link\";s:152:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2980-локомотив-хебър-1-1\";s:6:\"expiry\";i:1771823712;}s:40:\"66e40da013b064827997bbac4fa5a989a089c767\";O:8:\"stdClass\":2:{s:4:\"link\";s:208:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/2979-септември-симитли-напуска-втора-лига-заради-простотиите-на-бфс\";s:6:\"expiry\";i:1771823712;}s:40:\"8bc672de5d8d2522fb278acc71aa2e65d1953229\";O:8:\"stdClass\":2:{s:4:\"link\";s:231:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2978-хебър-локомотив-без-тв-излъчване-михайлов-се-завърна,-бфс-по-старо-му\";s:6:\"expiry\";i:1771823712;}s:40:\"6a032125d704822bb7e54094fc64b11be8a92c15\";O:8:\"stdClass\":2:{s:4:\"link\";s:166:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2977-виртуални-билети-хебър-локомотив\";s:6:\"expiry\";i:1771823712;}s:40:\"7d2fca945fee41aa9403174c10d26817361b2c72\";O:8:\"stdClass\":2:{s:4:\"link\";s:220:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/програма-а-отбор-сезон-2013-2014/2973-програма-от-31-ти-до-34-ти-кръг-на-втора-лига\";s:6:\"expiry\";i:1771823712;}s:40:\"576efb8ecc220cae4727ffd39873fae1c5889545\";O:8:\"stdClass\":2:{s:4:\"link\";s:204:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2972-отвориха-стадионите,-пирин-влезе-в-елита,-хебър-загуби\";s:6:\"expiry\";i:1771823712;}s:40:\"4736cc799acabf606b0a5f78ac945e9cd468d62e\";O:8:\"stdClass\":2:{s:4:\"link\";s:203:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2890-баскетбол-отложиха-срещата-на-локомотив-за-22-ноември\";s:6:\"expiry\";i:1771823714;}s:40:\"684af054af1cd8e6ce5ede65534c1275afb443b7\";O:8:\"stdClass\":2:{s:4:\"link\";s:224:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2889-програма-локомотив-срещу-цска-на-1-ноември\";s:6:\"expiry\";i:1771823714;}s:40:\"a5216814c58f33214b6bd5ba812c6ef37872d2a4\";O:8:\"stdClass\":2:{s:4:\"link\";s:164:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/2888-всички-спортни-събития-отново-без-публика\";s:6:\"expiry\";i:1771823714;}s:40:\"7b9382354977963cb375cbf3ea9026e97c56c40e\";O:8:\"stdClass\":2:{s:4:\"link\";s:227:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/2887-стойка-кръстева-спечели-титла-от-турнира-балкан\";s:6:\"expiry\";i:1771823714;}s:40:\"ce2a8b0b2913a5ef71dfc69ccd37d83a3fc304e4\";O:8:\"stdClass\":2:{s:4:\"link\";s:171:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2885-видео-локомотив-победи-и-шампион-2006\";s:6:\"expiry\";i:1771823714;}s:40:\"6aaf66b87b49b19ef9a181bbc45733f752bd2a12\";O:8:\"stdClass\":2:{s:4:\"link\";s:254:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2884-страхил-балов-имам-чувството,-че-влизам-в-проект-‘марица’\";s:6:\"expiry\";i:1771823714;}s:40:\"04b17c1d096e3362534f9fe8c4ecab4f42c676a1\";O:8:\"stdClass\":2:{s:4:\"link\";s:180:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2883-баскетбол-шампион-2006-локомотив-25-10-2020-17-00\";s:6:\"expiry\";i:1771823714;}s:40:\"dc93ed8c855714e7a06ebd629385f54b186243bf\";O:8:\"stdClass\":2:{s:4:\"link\";s:216:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2976-локомотив-софия-триумфира-с-титлата-при-жените-в-ббл-б-група\";s:6:\"expiry\";i:1771823716;}s:40:\"809e2d36a3917683862ab28a55b0364f5066164e\";O:8:\"stdClass\":2:{s:4:\"link\";s:227:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2975-локомотив-се-класира-за-финали-за-девойки-u20\";s:6:\"expiry\";i:1771823716;}s:40:\"8ab41640b7955358d720806b29e04050839ad817\";O:8:\"stdClass\":2:{s:4:\"link\";s:173:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/лека-атлетика/2974-сребърен-медал-за-лозан-димитров\";s:6:\"expiry\";i:1771823716;}s:40:\"4920b60938940c5dfcfff71f27a23714dd41f5e8\";O:8:\"stdClass\":2:{s:4:\"link\";s:176:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/джудо-и-самбо/2971-длош-за-момчета-и-момичета-по-самбо\";s:6:\"expiry\";i:1771823716;}s:40:\"10664cc2da7c9b7a0480066a3b28effad38e9791\";O:8:\"stdClass\":2:{s:4:\"link\";s:152:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2970-нк-“елит”\";s:6:\"expiry\";i:1771823716;}s:40:\"bb9cc182aa3b6220d0159cabae60f346af6c88ef\";O:8:\"stdClass\":2:{s:4:\"link\";s:201:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2969-ръгби-балкански-котки-локомотив-78-7\";s:6:\"expiry\";i:1771823716;}s:40:\"cc06c198fff6cd68e1e39916a2fd732bd5f74690\";O:8:\"stdClass\":2:{s:4:\"link\";s:177:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/2968-топ-10-спортисти-и-треньори-на-153-то-училище-за-2020-г\";s:6:\"expiry\";i:1771823716;}}s:13:\"session.token\";s:32:\"96bec93da88a353e4d8b8437f59e2cac\";s:19:\"com_mailto.formtime\";i:1771823715;}'
, `time` = '1771823722'
WHERE `session_id` = '019ff5330f0874a1f1613e3dfc54f45f'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 ('12564663', 'tid2', '0', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'tid1', '38:2009', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'division', '0', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', '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:16;s:19:\"session.timer.start\";i:1771823699;s:18:\"session.timer.last\";i:1771823717;s:17:\"session.timer.now\";i:1771823718;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:16:\"com_mailto.links\";a:43:{s:40:\"256ec963e16a72c0f1a81a048456dab97dc2c4f5\";O:8:\"stdClass\":2:{s:4:\"link\";s:200:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/209-ръгби-локомотив-балкански-котки-34-8\";s:6:\"expiry\";i:1771823701;}s:40:\"bf0c4beb1fc7fa827af046138d9b280cef7a78b4\";O:8:\"stdClass\":2:{s:4:\"link\";s:253:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/180-турнир-по-бокс-за-купите-“румен-сотиров”-на-стадион-локомотив\";s:6:\"expiry\";i:1771823701;}s:40:\"b1b599eaba431efc6c6fc28fa1d628f259d4b00d\";O:8:\"stdClass\":2:{s:4:\"link\";s:219:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/клуб-локомотив-никола-нанов/178-децата-на-локомотив-н-н-с-шампионинска-титла\";s:6:\"expiry\";i:1771823701;}s:40:\"0a50f6ef8188e5ce2456b7f5bcf7ce10df850c08\";O:8:\"stdClass\":2:{s:4:\"link\";s:155:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/207-бойко-златанов-с-награда-от-локомотив\";s:6:\"expiry\";i:1771823701;}s:40:\"83d64dd868c184f8649d320db5158eff54da2e79\";O:8:\"stdClass\":2:{s:4:\"link\";s:231:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/джудо-и-самбо/208-алекс-стефанов-с-бронзов-медал-от-европейското-по-самбо-за-кадети\";s:6:\"expiry\";i:1771823701;}s:40:\"fb661a039a940068894c4d78774d917d4f70761d\";O:8:\"stdClass\":2:{s:4:\"link\";s:199:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/18-програма-за-контролни-срещи-лято-2013-към-20-юни\";s:6:\"expiry\";i:1771823702;}s:40:\"112720d9e3581a98009437b934efa3c0fff66ac9\";O:8:\"stdClass\":2:{s:4:\"link\";s:181:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/16-трансфери-в-а-отборът-на-локомотив-20-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"dd6b5dd48ddfa95a6996dd853279c781d8ec81f3\";O:8:\"stdClass\":2:{s:4:\"link\";s:217:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/5-начало-на-лятната-подготовка-за-а-отборът-на-локомотив-15-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"fb10ee352d752655b0c1680e26dd89f766ea021b\";O:8:\"stdClass\":2:{s:4:\"link\";s:180:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/6-трансфери-в-а-отборът-на-локомотив-14-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"212289cf58faa4b65d63b1c4f92a883af91d50c9\";O:8:\"stdClass\":2:{s:4:\"link\";s:236:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/програма-а-отбор-сезон-2013-2014/7-програмата-на-локомотив-в-нюз7-а-група-за-сезон-2013-2014\";s:6:\"expiry\";i:1771823702;}s:40:\"16daa8264696d3b0643a25126169ef98e00feac4\";O:8:\"stdClass\":2:{s:4:\"link\";s:196:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/8-програма-за-контролни-срещи-лято-2013-14-юни-2013\";s:6:\"expiry\";i:1771823702;}s:40:\"6e27e8873dd5e11cf050c39cbe3b4e5077a1b14f\";O:8:\"stdClass\":2:{s:4:\"link\";s:213:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2964-ръгби-балкански-котки-локомотив-24-04-2021-14-00\";s:6:\"expiry\";i:1771823707;}s:40:\"ef185d3be403ff67b56b9d9d97182f38afe6a6e2\";O:8:\"stdClass\":2:{s:4:\"link\";s:200:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2962-държавно-първенство-“златен-обръч”\";s:6:\"expiry\";i:1771823707;}s:40:\"e362f3957889ad91c1c742ce203088293d25f597\";O:8:\"stdClass\":2:{s:4:\"link\";s:182:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2959-ръгби-15-локомотив-нса-24-20\";s:6:\"expiry\";i:1771823707;}s:40:\"bb2c887fcdffc361cd9ecbadd7d0884a981a1211\";O:8:\"stdClass\":2:{s:4:\"link\";s:204:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/тенис/2958-вероника-железова-вицешампионка-на-държавен-турнир-до-14-г\";s:6:\"expiry\";i:1771823707;}s:40:\"7d51363cf973ff4419b5dca7b26fda3004d45e56\";O:8:\"stdClass\":2:{s:4:\"link\";s:193:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2957-ръгби-на-живо-локомотив-нса-14-00\";s:6:\"expiry\";i:1771823707;}s:40:\"be37f965985a3945116fc65293ea8c4735a8ebcd\";O:8:\"stdClass\":2:{s:4:\"link\";s:228:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2956-държавното-първенство-по-ръгби-7-за-деца-и-младежи\";s:6:\"expiry\";i:1771823707;}s:40:\"3c986735fa7bd25220a2cb53fa6b9e14e4fc416c\";O:8:\"stdClass\":2:{s:4:\"link\";s:230:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2955-развитието-на-художествената-гимнастика-под-заплаха\";s:6:\"expiry\";i:1771823707;}s:40:\"ce1c877c8066b3cdff0a8b6e40c4139eb9ac28da\";O:8:\"stdClass\":2:{s:4:\"link\";s:120:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/519-lokosf-info-podcast-бр-19\";s:6:\"expiry\";i:1771823708;}s:40:\"1a593a3c9bc16215c563310f90061725dfeedbad\";O:8:\"stdClass\":2:{s:4:\"link\";s:120:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/493-lokosf-info-podcast-бр-17\";s:6:\"expiry\";i:1771823708;}s:40:\"6a004c783979b73ff7d5835d6aefcb75ea25b0ed\";O:8:\"stdClass\":2:{s:4:\"link\";s:145:\"https://lokomotiv.ntesrv.com/joomla16/медиен-обзор/подкаст-lokosf-info/181-подкаст-lokosf-info-брой-11-09-06-2012-г\";s:6:\"expiry\";i:1771823708;}s:40:\"e0ab78a06d583ffafd7d4c87c98da4f3de68e78d\";O:8:\"stdClass\":2:{s:4:\"link\";s:96:\"https://lokomotiv.ntesrv.com/joomla16/архив/1727-неактивни-връзки-архив\";s:6:\"expiry\";i:1771823710;}s:40:\"9fd95024b6766ef16b0a7f26db9cc64362f0416d\";O:8:\"stdClass\":2:{s:4:\"link\";s:165:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2981-вход-свободен-за-локомотив-янтра\";s:6:\"expiry\";i:1771823712;}s:40:\"4d4f168554f105c187f24befe0f622272f0dcd69\";O:8:\"stdClass\":2:{s:4:\"link\";s:152:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/двубои-а-отбор/2980-локомотив-хебър-1-1\";s:6:\"expiry\";i:1771823712;}s:40:\"66e40da013b064827997bbac4fa5a989a089c767\";O:8:\"stdClass\":2:{s:4:\"link\";s:208:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/2979-септември-симитли-напуска-втора-лига-заради-простотиите-на-бфс\";s:6:\"expiry\";i:1771823712;}s:40:\"8bc672de5d8d2522fb278acc71aa2e65d1953229\";O:8:\"stdClass\":2:{s:4:\"link\";s:231:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2978-хебър-локомотив-без-тв-излъчване-михайлов-се-завърна,-бфс-по-старо-му\";s:6:\"expiry\";i:1771823712;}s:40:\"6a032125d704822bb7e54094fc64b11be8a92c15\";O:8:\"stdClass\":2:{s:4:\"link\";s:166:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2977-виртуални-билети-хебър-локомотив\";s:6:\"expiry\";i:1771823712;}s:40:\"7d2fca945fee41aa9403174c10d26817361b2c72\";O:8:\"stdClass\":2:{s:4:\"link\";s:220:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/програма-а-отбор-сезон-2013-2014/2973-програма-от-31-ти-до-34-ти-кръг-на-втора-лига\";s:6:\"expiry\";i:1771823712;}s:40:\"576efb8ecc220cae4727ffd39873fae1c5889545\";O:8:\"stdClass\":2:{s:4:\"link\";s:204:\"https://lokomotiv.ntesrv.com/joomla16/а-отбор-на-локомотив-софия/новини/2972-отвориха-стадионите,-пирин-влезе-в-елита,-хебър-загуби\";s:6:\"expiry\";i:1771823712;}s:40:\"4736cc799acabf606b0a5f78ac945e9cd468d62e\";O:8:\"stdClass\":2:{s:4:\"link\";s:203:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2890-баскетбол-отложиха-срещата-на-локомотив-за-22-ноември\";s:6:\"expiry\";i:1771823714;}s:40:\"684af054af1cd8e6ce5ede65534c1275afb443b7\";O:8:\"stdClass\":2:{s:4:\"link\";s:224:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2889-програма-локомотив-срещу-цска-на-1-ноември\";s:6:\"expiry\";i:1771823714;}s:40:\"a5216814c58f33214b6bd5ba812c6ef37872d2a4\";O:8:\"stdClass\":2:{s:4:\"link\";s:164:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/2888-всички-спортни-събития-отново-без-публика\";s:6:\"expiry\";i:1771823714;}s:40:\"7b9382354977963cb375cbf3ea9026e97c56c40e\";O:8:\"stdClass\":2:{s:4:\"link\";s:227:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/боксов-клуб-локомотив-софия/2887-стойка-кръстева-спечели-титла-от-турнира-балкан\";s:6:\"expiry\";i:1771823714;}s:40:\"ce2a8b0b2913a5ef71dfc69ccd37d83a3fc304e4\";O:8:\"stdClass\":2:{s:4:\"link\";s:171:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2885-видео-локомотив-победи-и-шампион-2006\";s:6:\"expiry\";i:1771823714;}s:40:\"6aaf66b87b49b19ef9a181bbc45733f752bd2a12\";O:8:\"stdClass\":2:{s:4:\"link\";s:254:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2884-страхил-балов-имам-чувството,-че-влизам-в-проект-‘марица’\";s:6:\"expiry\";i:1771823714;}s:40:\"04b17c1d096e3362534f9fe8c4ecab4f42c676a1\";O:8:\"stdClass\":2:{s:4:\"link\";s:180:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2883-баскетбол-шампион-2006-локомотив-25-10-2020-17-00\";s:6:\"expiry\";i:1771823714;}s:40:\"dc93ed8c855714e7a06ebd629385f54b186243bf\";O:8:\"stdClass\":2:{s:4:\"link\";s:216:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/баскетбол/2976-локомотив-софия-триумфира-с-титлата-при-жените-в-ббл-б-група\";s:6:\"expiry\";i:1771823716;}s:40:\"809e2d36a3917683862ab28a55b0364f5066164e\";O:8:\"stdClass\":2:{s:4:\"link\";s:227:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/волейболен-клуб-локомотив-софия/2975-локомотив-се-класира-за-финали-за-девойки-u20\";s:6:\"expiry\";i:1771823716;}s:40:\"8ab41640b7955358d720806b29e04050839ad817\";O:8:\"stdClass\":2:{s:4:\"link\";s:173:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/лека-атлетика/2974-сребърен-медал-за-лозан-димитров\";s:6:\"expiry\";i:1771823716;}s:40:\"4920b60938940c5dfcfff71f27a23714dd41f5e8\";O:8:\"stdClass\":2:{s:4:\"link\";s:176:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/джудо-и-самбо/2971-длош-за-момчета-и-момичета-по-самбо\";s:6:\"expiry\";i:1771823716;}s:40:\"10664cc2da7c9b7a0480066a3b28effad38e9791\";O:8:\"stdClass\":2:{s:4:\"link\";s:152:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/художествена-гимнастика/2970-нк-“елит”\";s:6:\"expiry\";i:1771823716;}s:40:\"bb9cc182aa3b6220d0159cabae60f346af6c88ef\";O:8:\"stdClass\":2:{s:4:\"link\";s:201:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/ръгби-клуб-локомотив-софия/2969-ръгби-балкански-котки-локомотив-78-7\";s:6:\"expiry\";i:1771823716;}s:40:\"cc06c198fff6cd68e1e39916a2fd732bd5f74690\";O:8:\"stdClass\":2:{s:4:\"link\";s:177:\"https://lokomotiv.ntesrv.com/joomla16/спорт-в-локомотив-софия/2968-топ-10-спортисти-и-треньори-на-153-то-училище-за-2020-г\";s:6:\"expiry\";i:1771823716;}}s:13:\"session.token\";s:32:\"96bec93da88a353e4d8b8437f59e2cac\";s:19:\"com_mailto.formtime\";i:1771823715;}' , `time` = '1771823722'1 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'view', 'curve', 21 × update jos_extrawatch_uri2title
set title = 'Диаграма: ФК Хасково 2009 - ПФК Славия София | „А” футболна група 2014/2015'1 × update jos_extrawatch_uri2title
set count = count+1, timestamp = '1771823722'1 × insert into jos_extrawatch_uri (id, fk, timestamp, uri, title)
values ('', '909106', '1771823722', '/joomla16/component/joomleague/curve/9-2014-2015/38-2009/0/0', 'Диаграма: ФК Хасково 2009 - ПФК Славия София | „А” футболна група 2014/2015'1 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'option', 'com_joomleague', 21 × insert into jos_extrawatch_uri_post (`uriid`, `key`, `value`, `type`)
values ('12564663', 'Itemid', '', 21 × SHOW FULL COLUMNS
FROM `jos_assets
Прочетете още...