<table border="0" width="100%" cellspacing="0" cellpadding="0">

  <tr>

    <td width="100%" bgcolor="#F0F0F0"><p><b>&gt;&gt; Новости <? If ($all == "true") { echo "&gt;&gt; Архив новостей"; } ?></b></p></td>

  </tr>

</table>



<p>&nbsp;</p>

<table border="0" bgcolor="#F1FFED" width="98%" cellpadding="0" align="center" style="border: 0 solid #9ACE8B" cellspacing="1">

  <tr>

    <td width="100%" valign="top">

      <table border="0" width="100%" cellspacing="0" cellpadding="0">

        <tr>

           <td width="100%" bgcolor="#9ACE8B"><p><b>Последние <? echo $serv_const_lstcount ?> новостей проекта</b></p></td>

        </tr>

        <tr>

           <td width="100%" valign="top">

              <table border="0" width="100%" cellspacing="0" cellpadding="0">

<?

$ff = @file("tx/news.txt");

if (count($ff) >= $serv_const_lstcount and $all == false) {

 $to = count($ff) - $serv_const_lstcount;

}

else {

 $to = 0;

}

for ($i = count($ff)-1; $i >= $to; $i--) {

$ar = explode("^", trim($ff[$i]));

 echo "

 				<tr>

				                  <td width='20%'  valign='top'><p><b>$ar[0]</b></p></td>

				                  <td width='80%'  valign='top'><p>$ar[1]</p></td>



                </tr>

                <tr>

					<td width='100%'  colspan='2'>



					<table border='0' width='99%' cellspacing='0' cellpadding='0'align='center'>

					    <tr>

						<td width='100%'  bgcolor='#9ACE8B'><img src=pixel.gif border=0></td>

						</tr>

				 </table>





					</td>

				 </tr>



                ";

}

?>

              </table>

           </td>

        </tr>

      </table>

    </td>

  </tr>

</table>

<p>&nbsp;&nbsp;<a href="/news.php?all=true" class="cap4"><b>Показать архив новостей</b></a></p>



