} elseif ('delete' === $_POST['action'] && !empty($_POST['articles'])) {
         !$articles->deleteArticles(array_keys($_POST['articles'])) ? $arrErrors[] = db::$message_error : messages::messageChangeSaved(MESSAGE_CHANGE_SAVED, false, CONF_ADMIN_FILE . '?' . $qString);
     }
 } elseif (!empty($_POST['arrData']['action']) && !empty($_POST['arrData']['id'])) {
     if ('active' === $_POST['arrData']['action'] && !empty($_POST['arrData']['title']) && !empty($_POST['arrData']['datetime']) && !empty($_POST['arrData']['id_user'])) {
         if ($articles->updateArticle(array('token' => 'active', 'token_datetime' => ''), $_POST['arrData']['id'])) {
             $articles->sendUserActiveArticle($_POST['arrData']);
             messages::messageChangeSaved(MESSAGE_CHANGE_SAVED, false, CONF_ADMIN_FILE . '?' . $qString);
         } else {
             $arrErrors[] = db::$message_error;
         }
     } elseif ('correction' === $_POST['arrData']['action'] && !empty($_POST['arrData']['comments']) && !empty($_POST['arrData']['title']) && !empty($_POST['arrData']['datetime']) && !empty($_POST['arrData']['id_user'])) {
         // данные для обновления в таблице
         $updData = array('comments' => $_POST['arrData']['comments'], 'token' => 'correction', 'token_datetime' => terms::calcDateTimeOfTerm(CONF_ARTICLES_CORRECTION_THERM));
         if ($articles->updateArticle($updData, $_POST['arrData']['id'])) {
             $articles->sendUserCorrectionArticle($_POST['arrData']);
             messages::messageChangeSaved(MESSAGE_CHANGE_SAVED, false, CONF_ADMIN_FILE . '?' . $qString);
         } else {
             $arrErrors[] = db::$message_error;
         }
     } elseif ('deleted' === $_POST['arrData']['action'] && !empty($_POST['arrData']['comments']) && !empty($_POST['arrData']['title']) && !empty($_POST['arrData']['id_user'])) {
         if ($articles->deleteArticles(array($_POST['arrData']['id']))) {
             $articles->sendUserDeletedArticle($_POST['arrData']);
             messages::messageChangeSaved(MESSAGE_CHANGE_SAVED, false, CONF_ADMIN_FILE . '?' . $qString);
         } else {
             $arrErrors[] = db::$message_error;
         }
     }
 }
 //смещение, всегда 0 (затем берется из $_GET)
 $offset = !empty($_GET['offset']) && strings::ifInt($_GET['offset']) && (int) $_GET['offset'] > 0 ? (int) abs($_GET['offset']) : 0;