forked from science-ation/science-ation
- Download trohpy status from the server
This commit is contained in:
parent
1e0f079c01
commit
59942138d9
@ -191,10 +191,15 @@ case 'check':
|
||||
value='".intval($prize['value'])."',
|
||||
prize='".mysql_escape_string($prize['prize_en'])."',
|
||||
number='".intval($prize['number'])."',
|
||||
`order`='".intval($prize['ord'])."'
|
||||
`order`='".intval($prize['ord'])."',
|
||||
trophystudentkeeper='".intval($prize['trophystudentkeeper'])."',
|
||||
trophystudentreturn='".intval($prize['trophystudentreturn'])."',
|
||||
trophyschoolkeeper='".intval($prize['trophyschoolkeeper '])."',
|
||||
trophyschoolreturn='".intval($prize['trophyschoolreturn'])."'
|
||||
WHERE
|
||||
id='$prize_id'");
|
||||
|
||||
echo mysql_error();
|
||||
//FIXME: update the translations
|
||||
}
|
||||
|
||||
@ -202,6 +207,7 @@ case 'check':
|
||||
foreach($existingprizes AS $ep) {
|
||||
echo " ".i18n("Removing prize %1",array($ep['prize']))."<br />";
|
||||
mysql_query("DELETE FROM award_prizes WHERE id='{$ep['id']}'");
|
||||
echo mysql_error();
|
||||
}
|
||||
}
|
||||
echo "<br />";
|
||||
|
Loading…
Reference in New Issue
Block a user