Jest sukces. Nie ma błędu, ale niestety dalej wyświetlany jest tylko jeden rekord. Nie chcę tworzyć kolejnego tematu, więc napisze tutaj.
Kod modułu:
$changes = array();
$this->DB->build( array(
'select' => '*',
'from' => 'posts',
'where' => 'topic_id=2',
'order' => 'pid DESC',
'limit' => '1000'
));
$this->DB->execute();
while($r=$this->DB->fetch($q))
{
$this->DB->build( array(
'select' => '*',
'from' => 'members',
'where' => 'member_id='.$r['author_id'].''
));
$qw = $this->DB->execute();
$m = $this->DB->fetch($qw);
$r['author_id'] = IPSLib::makeProfileLink( IPSLib::makeNameFormatted( $m['members_display_name'], $m['member_group_id'] ));
$changes[] = $r;
}
$this->returnHtml( $this->registry->getClass('output')->getTemplate('game')->showRows( $changes ) );
Co w tym jest źle, ponieważ ja nie widzę tu żadnego błędu.
P.S Kod jest strasznie chaotycznie ułożony Potem go ułożę.