. require_once("../inc/util.inc"); require_once("../inc/boinc_db.inc"); $userid = get_int('userid'); $vote = get_str('vote'); if ($vote != "recommend" && $vote != "reject") { echo "Invalid vote type.
"; exit(); } BoincProfile::update_aux("$vote=$vote+1 WHERE userid = $userid"); page_head("Vote Recorded"); start_table_noborder(); row1("Thank you"); if ($vote == "recommend") { rowify("Your recommendation has been recorded."); } else { rowify("Your vote to reject has been recorded."); } end_table(); echo "
Return to profile."; page_tail(); ?>