private function addNewApplications()
 {
     $id = ID_GENERATOR::generateID();
     $fio = InputValueHelper::getPostValue('fio');
     $phone = InputValueHelper::getPostValue('phone');
     $message = InputValueHelper::getPostValue('message');
     $query = "INSERT INTO `UsersOnlineApplications`(`id`, `fio`, `phone`, `message`, `creation`,`totalStatus`,`changed`) VALUES ('" . $id . "','" . $fio . "','" . $phone . "','" . $message . "',now(),'created',now());";
     $this->SQL_HELPER->insert($query);
 }
 private function generateCoursesCategoryHTML()
 {
     $this->getCoursesCategoryData();
     $out = "<div class='CoursesCategoryBlocks'>";
     foreach ($this->coursesCategory as $cours) {
         if (!empty($cours['prices'])) {
             $ccid = ID_GENERATOR::generateID("CoursesCategory_");
             $out .= "<div class='CoursesCategoryBlock'>";
             $out .= "<h2 class='CategoryName'>";
             $out .= "<a class='fancybox-doc' href='#{$ccid}' title='Информация о категории &laquo;" . $cours['category'] . "&raquo;'></a>";
             $out .= "<div>Категория &laquo;" . $cours['category'] . "&raquo;</div>";
             $out .= "</h2>";
             $out .= "<div class='doc_div CategoryDescription' id='{$ccid}'>" . $cours['description'] . "</div>";
             $out .= "<div class='CategoryPrice'>";
             $out .= $this->generatePricesCoursesHTML($cours['prices']);
             $out .= "</div>";
             $out .= "</div>";
         }
     }
     $out .= "</div>";
     return $out;
 }