?> /admin/action.php/pirepadmin/viewlog?pirepid=<?php echo $pirep->pirepid; ?> ">Log</button> <button class="jqModal {button:{icons:{primary:'ui-icon-comment'}}}" id="dialog_comments" href="<?php echo SITE_URL; ?> /admin/action.php/pirepadmin/viewcomments?pirepid=<?php echo $pirep->pirepid; ?> "> Comments <span style="font-size: 12px; margin-top: -3px">(<?php echo PIREPData::getCommentCount($pirep->pirepid); ?> )</span></button> <button class="jqModal {button:{icons:{primary:'ui-icon-note'}}}" id="dialog_addcomment" href="<?php echo SITE_URL; ?> /admin/action.php/pirepadmin/addcomment?pirepid=<?php echo $pirep->pirepid; ?> "> Add Comment</button> </td> <td style="border: none;" align="right">