<?php
openside("Straipsniai");
$a = dbquery("SELECT *FROM ".$db_prefix."articles ORDER BY RAND() LIMIT 1");
if(dbrows($a)){ while($b=dbarray($a)){echo "<a href='".BASEDIR."articles.php?readmore=".$b['article_id']."'>".$b['article_subject']."</a> [Skaityta: ".$b['article_reads']."]<br>"; }}
closeside();
?>