<?php
if ($goalexist == 0)
{
echo '<span class="DonationMessage">No donation goal found.</span>';
}
else
{
echo $donationgoal['name']. '<br />';
echo $donationcollected. ' / ' .$donationgoal['amount']. '<br />';
echo '<br />'
if ($donationsinlist > 0)
{
echo 'Showing latest ' .$donationsinlist. ' donations.';
echo 'Name - Amount - Date - Message';
foreach ($donationlist as $donation)
{
echo $donation['donorname']. ' - ';
echo $donation['amount']. ' - ';
echo $donation['timestamp']. ' - ';
echo $donation['message']. ' - ';
/*
"id" => $row['id'],
"donorname" => $row['donorname'],
"twitchname" => $row['twitchname'],
"userid" => $row['userid'],
"username" => $username,
"amount" => $row['amount'],
"timestamp" => $row['timestamp'],
"message" => $row['message'],
*/
}
}
echo '<br />';
echo 'NOTICE: Donations are NOT updated in realtime.';
}
?>
- Output for 5.4.0 - 5.4.30
- Parse error: syntax error, unexpected 'if' (T_IF), expecting ',' or ';' in /in/DUDv8 on line 12
Process exited with code 255. - Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_IF, expecting ',' or ';' in /in/DUDv8 on line 12
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
- Parse error: parse error, unexpected T_IF, expecting ',' or ';' in /in/DUDv8 on line 12
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error, expecting `','' or `';'' in /in/DUDv8 on line 12
Process exited with code 255.
preferences:
194.6 ms | 1395 KiB | 120 Q