Articles

    "; $qnews=mysql_query("select * from news order by adate desc limit 0,30"); while($rnews=mysql_fetch_array($qnews)){ echo "
  • "; if(strlen($rnews['description'])>25){ $ecplo=explode(" ",$rnews['description']); $tl=0; $texto=""; for ($m=0;$m<=25;$m++){ $tl=$tl+strlen($ecplo[$m]); $texto.=$ecplo[$m]; $texto.=" "; } $texto.="...

    "; } echo "$rnews[subject]"; $date=explode("-",$rnews['adate']); $month=date("M", mktime(0, 0, 0, $date[1], 1, 2000)); $newdate=$month." $date[2], $date[0]"; echo "
    $newdate
    $texto"; echo "
  • "; } echo "
"; ?>