Информация о сетевом статусе

Код:
<!--Онлайн/Офлайн-->
<script  type="text/javascript"> var L0='<img class="imgON_Off" src="';
    var L1='" style="width:204px; margin-top: 5px; margin-bottom: 45px; display:block;" />';
    var ImgON="https://forumstatic.ru/files/001a/17/1c/42126.png";  // Картинка Online;
    var ImgOff="https://forumstatic.ru/files/001a/17/1c/16576.png";  // Картинка OffLine;
    $("#pun-viewtopic .post .post-author > ul").each(function ()   {
    if ($(this).find(".pa-online").html()!=null){$(this).append(L0+ImgON+L1)
        }else $(this).append(L0+ImgOff+L1);
    });
</script>

Пример - здесь.