echo "</table>";
}
?>
    </head>
    
        <body>
        <?php 
//Declare variables
$pv = 100;
//present value in $'s
$int = 0.06;
//interest rate
$nYears = 12;
//number of compounding years (periods)
//Use function for calculation of savings
$fv1 = save1($pv, $int, $nYears);
//Future value calculation
$fv2 = save2($pv, $int, $nYears);
//Future value calculation
$fv3 = save3($pv, $int, $nYears);
//Future value calculation
$fv4 = save4($pv, $int, $nYears);
//Future value calculation
$fv5 = save5($pv, $nYears);
//Future value calculation
$fv6;
//declare the future value to be returned by reference
save6($pv, $int, $nYears, $fv6);
//Future value calculation
$fv7 = save7($pv, $int, $nYears);
//Future value calculation
     $template_delete_answers = Request::getArray("template_delete_answers");
     if (!empty($template_delete_answers)) {
         foreach ($template_delete_answers as $answerID) {
             $question->removeChildID($answerID);
             $answer = new EvaluationAnswer($answerID);
             $answer->delete();
         }
     }
     $command = "continue_edit";
     break;
     /* ------------------------------------------------ end: delete answers */
     /* -------------------------------------------------------------------- */
 /* ------------------------------------------------ end: delete answers */
 /* -------------------------------------------------------------------- */
 case "save":
     $question = save1($myuserid);
     /* Check userinput ----------------------------------------------------- */
     if ($question->getType() == EVALQUESTION_TYPE_MC || $question->getType() == EVALQUESTION_TYPE_LIKERT) {
         $nummer = $question->getNumberChildren();
         for ($i = 0; $i < count($template_answers); $i++) {
             $text = $template_answers[$i]['text'];
             if ($text == "") {
                 $question->removeChildID($template_answers[$i]['answer_id']);
                 $nummer--;
             }
         }
         if ($nummer == 0) {
             $report = EvalCommon::createReportMessage(_("Dem Template wurden keine Antworten zugewiesen oder keine der Antworten  enthielt einen Text. Fügen Sie Antworten an, oder löschen Sie das Template."), EVAL_PIC_ERROR, EVAL_CSS_ERROR);
             $command = "continue_edit";
             break;
         }