Итоговая новость


echo '<div class="post">';
echo '<span class="date">'.$_GET['day'].'-'. $_GET['mouth'].'-'. $_GET['year'].'</span>';
$r['pagetitle'] = iconv('cp1251','UTF-8',$r['pagetitle']);
$r['introtext'] = iconv('cp1251','UTF-8',$r['introtext']);
//$str1 = str_replace('&nbsp;',' ', $r['introtext']);
//$str1 = str_replace('&mdash;','-', $str1);
//$str = strip_tags($str1 );
$result = mb_substr($r['introtext'],0,60,'utf-8');

echo "<span class='post-caption'>" . "<a href=" . "/novosti_kompanii/" . $r['alias'] . ".html" . ">" . $r['pagetitle'] . "</a>" . "</span>";
echo "<p>" . $result;