<?
  global $b; 
  $fn = $datadir.'db.txt';
  $temp = file($fn);
  $temp=array_reverse($temp);
  $i=0;
  foreach ($temp as $v) {
    $temp2=explode("\t",$v);
    if ((@$temp2[2]=='o') and (@$temp2[5]==1)) {
      $i++;
      load_article($temp2[1],1); 
      if ($b<>'') { echo '<DIV class="pic"><br><IMG SRC="bigpic/'.$b.'" WIDTH="50" HEIGHT="45" BORDER="0" ALIGN="left"><A HREF="index.php?id='.$temp2[1].'"><SPAN CLASS="konkurs">'.$temp2[3].'</SPAN></A></DIV><br> <br clear="all">';}
      if ($i>5){ break; }
    }
  }
?>
