Matchrapport

jos ovat annetaan arvoksi $txt_none
//
if($mdata[’goalscorers_opponent’] == ”)
$mdata[’goalscorers_opponent’] = ”$txt_none”;

if($mdata[’substitutions_opponent’] == ”)
$mdata[’substitutions_opponent’] = ”$txt_none”;

if($mdata[’yellow_cards_opponent’] == ”)
$mdata[’yellow_cards_opponent’] = ”$txt_none”;

if($mdata[’red_cards_opponent’] == ”)
$mdata[’red_cards_opponent’] = ”$txt_none”;

if($mdata[’assists_opponent’] == ”)
$mdata[’assists_opponent’] = ”$txt_none”;

?>

$mdata[typename]

”;
}
else
{
echo ”

$mdata[typename] / $mdata[add_type]

”;
}

?>

:
Arena:

$t_name

”;
?>

$mdata[opponent]

”;
?>

”;

if(file_exists($image_url_1))
{
echo”\"\"”;
}
else
{
echo”\"\"”;
}

echo”

”;
}
else
{
echo”

$t_name

”;
}

?>

$mdata[goals] – $mdata[goals_opponent]

”;

if($mdata[’overtime’] == 1)
{
echo” $txt_overtime_short”;
}
}
else
{
echo ”

$mdata[goals] – $mdata[goals_opponent]

($mdata[penalty_goals] – $mdata[penalty_goals_opponent] $txt_penalty_shootout_short)
”;
}

?>

”;

if(file_exists($image_url_3))
{
echo”\"\"”;
}
else
{
echo”\"\"”;
}

echo”

”;
}
else
{
echo”

$mdata[opponent]

”;
}

?>

:

\n”;
}
elseif($data[’pen’] == 1)
{
if($data[’publish’] == 1)
echo”$data[name] ($txt_penalty_short)$temp_minute
\n”;
else
echo”$data[name] ($txt_penalty_short)$temp_minute
\n”;
}
else
{
if($data[’publish’] == 1)
echo”$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}
}

mysql_free_result($get_goalscorers);

?>

$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}

mysql_free_result($get_assists);

?>

$data[number]. $data[name]
\n”;
else
echo”$data[name]
\n”;
}

mysql_free_result($get_apps);

?>

$data[number]. $data[name]
\n”;
else
echo”$data[name]
\n”;
}

mysql_free_result($get_substitutes);

?>

$data[name]”;
else
echo”$data[name]”;

echo’ -> ’;

if($data[’publish2’] == 1)
echo”$data[name2]$temp_minute
\n”;
else
echo”$data[name2]$temp_minute
\n”;
}
}

mysql_free_result($get_substitutions);

?>

$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}

mysql_free_result($get_yellows);

?>

$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}

mysql_free_result($get_reds);

?>

$mdata[opponent]

”;
?>

$t_name

”;
?>

”;

if(file_exists($image_url_3))
{
echo”\"\"”;
}
else
{
echo”\"\"”;
}

echo”

”;
}
else
{
echo”

$mdata[opponent]

”;
}

?>

$mdata[goals_opponent] – $mdata[goals]

”;

if($mdata[’overtime’] == 1)
{
echo” $txt_overtime_short”;
}
}
else
{
echo ”

$mdata[goals_opponent] – $mdata[goals]

($mdata[penalty_goals_opponent] – $mdata[penalty_goals] $txt_penalty_shootout_short)”;
}

?> ”;

if(file_exists($image_url_1))
{
echo”\"\"”;
}
else
{
echo”\"\"”;
}

echo”

”;
}
else
{
echo”

$t_name

”;
}

?>

: $mdata[typename]

”;
}
else
{
echo ”

$mdata[typename] / $mdata[add_type]

”;
}

?>

\n”;
}
elseif($data[’pen’] == 1)
{
if($data[’publish’] == 1)
echo”$data[name] ($txt_penalty_short)$temp_minute
\n”;
else
echo”$data[name] ($txt_penalty_short)$temp_minute
\n”;
}
else
{
if($data[’publish’] == 1)
echo”$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}
}

mysql_free_result($get_goalscorers);

?>

$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}

mysql_free_result($get_assists);

?>

$data[number]. $data[name]
\n”;
else
echo”$data[name]
\n”;
}

mysql_free_result($get_apps);

?>

$data[number]. $data[name]
\n”;
else
echo”$data[name]
\n”;
}

mysql_free_result($get_substitutes);

?>

$data[name]”;
else
echo”$data[name]”;

echo’ -> ’;

if($data[’publish2’] == 1)
echo”$data[name2]$temp_minute
\n”;
else
echo”$data[name2]$temp_minute
\n”;
}
}

mysql_free_result($get_substitutions);

?>

$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}

mysql_free_result($get_yellows);

?>

$data[name]$temp_minute
\n”;
else
echo”$data[name]$temp_minute
\n”;
}
}

mysql_free_result($get_reds);

?>

0)
{
$show_pictures = 1;
$picture_data = mysql_fetch_array($query);
}
mysql_free_result($query);

//
//Tarkastetaan, onko raportti kirjoitettu
//
if($mdata[’report’] != ”)
{
?>

$txt_fan_comments”;
}

//
//Onko ennakko olemassa?
//
if($mdata[’prewtext’] != ”)
{
echo” | $txt_preview”;
}
?>

\"\"
$picture_data[picturetext]
$txt_pictures_from_the_match

”;
}

echo $mdata[’report’];

?>