Beispiel #1
0
</th>
            <th scope="col"><?php 
    _e("IP", "gd-star-rating");
    ?>
</th>
            <th scope="col"><?php 
    _e("User Agent", "gd-star-rating");
    ?>
</th>
        </tr>
    </thead>
    <tbody>
<?php 
    $tr_class = "";
    foreach ($rows as $row) {
        $row = GDSRDB::convert_moderation_row($row);
        echo '<tr id="post-' . $row->record_id . '" class="' . $tr_class . ' author-self status-publish" valign="top">';
        echo '<th scope="row" class="check-column"><input name="gdsr_item[]" value="' . $row->record_id . '" type="checkbox"></th>';
        echo '<td><strong>' . $row->voted . '</strong></td>';
        echo '<td>' . $row->username . '</td>';
        echo '<td><strong>' . $row->vote . '</strong></td>';
        echo '<td>' . $row->ip . '</td>';
        echo '<td>' . $row->user_agent . '</td>';
        echo '</tr>';
        if ($tr_class == "") {
            $tr_class = "alternate ";
        } else {
            $tr_class = "";
        }
    }
    ?>