/**
  * @see parent::initHtmlData
  */
 public function initHtmlData()
 {
     require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/projects.php';
     require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/stop_words.php';
     $pid = $this->parseLinks();
     if ($pid) {
         $pid = array_map('intval', $pid);
         $stop_words = new stop_words();
         $projects = new_projects::getProjectsById($pid);
         foreach ($projects as $i => $project) {
             $sTitle = $project['moderator_status'] === '0' && $project['kind'] != 4 && $project['is_pro'] != 't' ? $stop_words->replace($project['name']) : $project['name'];
             $projects[$i]['sTitle'] = reformat2($sTitle, 30, 0, 1);
             $projects[$i]['friendly_url'] = $this->getLinkById($project['id']);
             $projects[$i]['str_cost'] = $project['cost'] ? CurToChar($project['cost'], $project['currency']) . getPricebyProject($project['priceby']) : 'По договоренности';
         }
         $this->html_data = $projects;
     }
 }