First .. your SSI call id bad .. you can't request a specific board.
Correct call: (where null can be a array with attachment extensions)
$result = ssi_recentAttachments($num_attachments, null, '');
This return a lot of arrays as follow example for ONE attachment:
1464 => array(
member => array(
'id' => 31,
'name' => 'cat',
'link' => '<a href="http://xxxxx/profile/user_31/">User</a>',
),
file => array(
'filename' => 'logo3.png',
'filesize' => '8.23kB',
'downloads' => 3,
'href' => 'http://xxxxx/dlattach/attach,1464/topic_1518.0.html',
'link' => '<img src="http://xxxxx/Themes/default/images/icons/clip.gif" alt="" /> <a href="http://xxxxx/index.php?action=dlattach;topic=1518.0;attach=1464">logo3.png</a>',
'is_image' => true,
image => array(
'id' => 1465,
'width' => 250,
'height' => 60,
'img' => '<img src="http://xxxxx/dlattach/attach,1464/image/topic_1518.0.html" alt="logo3.png" />',
'thumb' => '<img src="http://xxxxx/dlattach/attach,1465/image/topic_1518.0.html" alt="logo3.png" />',
'href' => 'http://xxxxx/index.php?action=dlattach;topic=1518.0;attach=1465;image',
'link' => '<a href="http://xxxxx/dlattach/attach,1464/image/topic_1518.0.html"><img src="http://kb0049/portamx.com/dlattach/attach,1465/image/topic_1518.0.html" alt="logo3.png" /></a>',
),
),
topic => array(
'id' => 1518,
'subject' => 'new new',
'href' => 'http://xxxxx/topic_1518.msg8531.html#msg8531',
'link' => '<a href="http://xxxxx/topic_1518.msg8531.html#msg8531">new new</a>',
'time' => '25 Aug 10, 03:28:01',
),
),
Fel