Beispiel #1
0
</th>
            <th scope="col" width="120"><?php 
    _e("Total", "gd-star-rating");
    ?>
</th>
            <th scope="col"><?php 
    _e("Review", "gd-star-rating");
    ?>
</th>
        </tr>
    </thead>
    <tbody>
<?php 
    $tr_class = "";
    foreach ($rows as $row) {
        $row = GDSRDB::convert_comment_row($row);
        if ($row->rating_total > $options["cmm_stars"] || $row->rating_visitors > $options["cmm_stars"] || $row->rating_users > $options["cmm_stars"]) {
            $tr_class .= " invalidarticle";
        }
        echo '<tr id="post-' . $row->comment_id . '" class="' . $tr_class . ' author-self status-publish" valign="top">';
        echo '<th scope="row" class="check-column"><input name="gdsr_item[]" value="' . $row->comment_id . '" type="checkbox"></th>';
        echo '<td>' . $row->comment_content . '</td>';
        echo '<td><strong>' . $row->comment_author . '</strong></td>';
        echo '<td>' . $row->comment_date . '</td>';
        echo '<td>' . $row->votes . '</td>';
        echo '<td>' . $row->total . '</td>';
        echo '<td>' . $row->review . '</td>';
        echo '</tr>';
        if ($tr_class == "") {
            $tr_class = "alternate ";
        } else {