Claim An Achievement

‘;

//if they got it this year, then it should just be an image to prevent double clicking
//if (($result[‘id’]==28 && $is_earned)) echo “Is Earned”;
if (($result[‘id’]==28 && $is_earned) || $is_this_year) {
echo ‘'.$result['name'].'‘;
}
else {
echo ‘‘;
}

//if they earned it before, it should have the level check box
if (($result[‘id’]==28 && $is_earned)) echo ‘

‘;
elseif ($is_earned) {
echo ‘

‘;
}
else {
echo ‘

‘;
}

echo ‘

‘.$result[‘name’].’

‘;

}
}
else echo “

Sorry, you must have attended the most recent march to claim achievements.

“;
}
else echo ‘

Refresh Page

‘;
}
else {
echo ‘Please log in and Refresh Page‘;
// print_r($_SESSION);
}

?>