/**
     * Echo the news-contents. This function can be overwritten by other views
     * to customize the list.
     *
     * @since  1.0.0
     *
     * @param array $items List of news to display.
     */
    protected function news_panel_data($items)
    {
        $item = 0;
        $max_items = 10;
        $class = '';
        ?>
		<table class="ms-list-table widefat">
			<thead>
				<tr>
					<th><?php 
        _e('Date', 'membership2');
        ?>
</th>
					<th><?php 
        _e('Member', 'membership2');
        ?>
</th>
					<th><?php 
        _e('Event', 'membership2');
        ?>
</th>
				</tr>
			</thead>
			<tbody>
			<?php 
        foreach ($this->data['events'] as $event) {
            $item += 1;
            if ($item > $max_items) {
                break;
            }
            $class = $class == 'alternate' ? '' : 'alternate';
            ?>
				<tr class="<?php 
            echo esc_attr($class);
            ?>
">
					<td><?php 
            echo esc_html(MS_Helper_Period::format_date($event->post_modified));
            ?>
</td>
					<td><?php 
            echo esc_html(MS_Model_Member::get_username($event->user_id));
            ?>
</td>
					<td><?php 
            echo esc_html($event->description);
            ?>
</td>
				</tr>
			<?php 
        }
        ?>
			</tbody>
		</table>
		<?php 
    }