<?
    global $vis_language;
    $operations=array(0=>$vis_language['TXTADDEDARTICLE'], 1=>$vis_language['TXTCOMMENTSUB']);
?>
<table cellpadding="0" cellspacing="0" width="90%" class="vis_quickview_widget_div"><tr><td align="right" class="vis_sub_title_gray"><span class=""><? echo$vis_language['TXTRECENTACTIVITIES']; ?>

</span></td></tr><tr><td><div class="vis_quickview_widget_panel"><?
    if($selfhelp!=-1) for($i=0;$i<count($selfhelp);$i++) { ?>
        <table cellpadding="3" cellspacing="3" width="100%"><tr><td width="40">
        <img src="<? echo VIS_PATH_PROFILE; echo ($selfhelp[$i]['image']=='')?'default.jpg':$selfhelp[$i]['image']; ?>" width="36" />
        </td><td><div onclick=" $(this).visExecution('load_module', '<? echo $vis_language['TXTARTICLE']; ?>', {'vis_module':'selfhelp', 'vis_operation':'view_article', 'vis_article_id':'<? echo $selfhelp[$i]['ticket_id']; ?>'}); "><span class="vis_pin_title"><? echo $selfhelp[$i]['ticket_hash']; ?></span>: <span><? echo $selfhelp[$i]['subject']; ?></span></div><div class="vis_pin_value"><? echo format_datetime($selfhelp[$i]['entry_date']).' --  '.$operations[$selfhelp[$i]['operation_id']]; ?></div></td></tr></table> <?
    }
    ?>
</div></td></tr></table>