$editorname = $q_result[0]['name'];
 echo $editorname;
 echo '</div>';
 echo '<div class="text">';
 /**
  * *******Parameter ausgeben*********
  */
 // Anzahl der News ausgeben
 if (isset($_POST['countnews'])) {
     $sectionid = "5,7,8,9";
     $q_result = $result->NAcount($editorID, $newsdays, $sectionid);
     $countnews = $q_result;
     echo 'Newsanzahl der letzten ' . $newsdays . ' Tage: ' . $countnews . '<br>';
     // Durchschnittliche Wortanzahl
     if (isset($_POST['countwords'])) {
         $q_result = $result->averageWords($editorID, $newsdays, $sectionid);
         $averageNewsWords = $q_result;
         echo '&#216;&nbsp;Worte pro News: ' . $averageNewsWords . '<br>';
     }
     if (isset($_POST['newstrend'])) {
         // Monatsanzahl erhoehen bis zur Anzahl des Users
         for ($history = 1; $history <= $newstrendmonth; $history++) {
             // Den Monat der Zeitspanne holen
             $timespace = $result->gettrendmonth($history);
             // Anzahl holen
             $q_result = $result->trendcount($editorID, $sectionid, $history);
             // Falls keine Ergebnisse vorliegen, 0 zurueckgeben
             $q_result == false ? $trendCount = 0 : ($trendCount = count($q_result));
             $q_result = $result->trendWords($editorID, $history, $sectionid);
             $trendWords = $q_result;
             echo "Im " . strftime('%B', $timespace) . ": " . $trendCount . " News - &#216; " . $trendWords . "Worte<br>";