почемуто показывает из то из Интересных авт. то общ.

Код:
<script src="/export.php?type=js&max=4" type="text/javascript"></script>
<script type="text/javascript">
$.get("/",function (data){
  var arr = [];
  $(data).find('#pun-stats li.item4 + #onlinelist.item5 a[href*="/profile.php?id="]').each(function (){
    arr.push($(this).html());
  });
 
 
var html00='';
var ts = '';
var mo = '';
var hh = '';
var mm = '';
var i = 0;
for(i=0;i<content.length;i++) {
ts = new Date();
ts.setTime(1000*content[i][0]);
mo = ts.getMonth()+1;
if (mo<10) mo='0'+mo;
hh = ts.getHours();
mm = ts.getMinutes()+'';
if (mm<10) mm='0'+mm;
ts = ts.getDate()+'.'+mo+'_ _'+hh+':'+mm;
html222="</tr></tbody></table></div></center>"; 
if(arr.indexOf(content[i][1])!=-1)content[i][1]+= '<font color="#fff" size="2"> (online)</font>';
html111="<h2><font color=#6868ff>Последние сообщения на форуме</font></h2><div  class=\"container\"><table cellspacing=\"1\" width=500px style='text-align:left;'><tbody class=\"hasicon\">"
html00+='<tr><td style="font-family: Palatino Linotype;padding-bottom:5px;" class=\"tcll\"><font color="#105414" size="3">'+content[i][1]+'</font></td><td width="66px" style="font-family: Palatino Linotype;" class=\"tcll\"><font color="blue">'+ts+'</font></td><td class=\"tcll\" ><a href=\"'+content[i][2]+'\" target=\"_self\"><font size="4">'+content[i][3]+'</font></a><br /></td></tr>';
}
 
$("#pun-viewtopic #pun-crumbs1").append("<br />"+html111+html00+html222);
});
</script>
Подпись автора

Подарки