loadType('traininggoal_goal', $id); $obj->updateCurrentValue($current_value); echo $obj->getPercent(); ?>