plugins/AdminAlerts.php
changeset 2 a63e0337a68e
parent 1 133e54e4f21d
equal deleted inserted replaced
1:133e54e4f21d 2:a63e0337a68e
    50     else
    50     else
    51     {
    51     {
    52       $content .= '<div class="tblholder" style="max-height: 100px; clip: rect(0px,auto,auto,0px); overflow: auto;">
    52       $content .= '<div class="tblholder" style="max-height: 100px; clip: rect(0px,auto,auto,0px); overflow: auto;">
    53                    <table border="0" cellspacing="1" cellpadding="2">';
    53                    <table border="0" cellspacing="1" cellpadding="2">';
    54       $class = 'row3';
    54       $class = 'row3';
    55       while ( $row = $db->fetchrow() )
    55       while ( $row = $db->fetchrow($q) )
    56       {
    56       {
    57         $class = ( $class == 'row1' ) ? 'row3' : 'row1';
    57         $class = ( $class == 'row1' ) ? 'row3' : 'row1';
    58         $preview = substr($row['comment_data'], 0, 100);
    58         $preview = substr($row['comment_data'], 0, 100);
    59         $preview = htmlspecialchars($preview);
    59         $preview = htmlspecialchars($preview);
    60         $subj = substr($row['subject'], 0, 20);
    60         $subj = substr($row['subject'], 0, 20);