- Download trohpy status from the server

This commit is contained in:
dave 2009-11-02 05:45:08 +00:00
parent 1e0f079c01
commit 59942138d9

View File

@ -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 "&nbsp;".i18n("Removing prize %1",array($ep['prize']))."<br />";
mysql_query("DELETE FROM award_prizes WHERE id='{$ep['id']}'");
echo mysql_error();
}
}
echo "<br />";