El codigo es el siguiente:
Código HTML:
<script type="text/javascript" src="foro/external.php?type=js"></script> <script type="text/javascript"> <!-- for (var i = 0; i < threads.length; i++) { document.write('<span class="class2"><img src="images/comment2.png"> <a href="foro/showthread.php?t=' + threads[i]['threadid'] + '">' + threads[i]['title'] + '</a> | ' + threads[i]['poster'] + '<br />'); } //--> </script>