<div id="country5" class="tabcontent">
	<p><?php esc_html_e("All comments entered through “Suggest Content” tab on your KBucket page will appear here. You can subscribe to this page and follow the comments in your Kauthor Firefox Extension.",WPKB_TEXTDOMAIN) ?></p>

	<div style="width:700px;margin-top:10px; font-family:Arial, Helvetica, sans-serif; font-size:12px;">
		<a href="<?php echo esc_url_raw(sanitize_text_field($_SERVER['REQUEST_URI'])) . '&suggest_rss=y'; ?>" target="_blank">
    <img src="<?php echo esc_url(WPKB_PLUGIN_URL . '/images/rss_icon.png'); ?>" />
</a>


		<?php

	$data = kb_get_admin_siggest_list();

foreach ( $data as $item ): ?>
    <table data-id="<?= esc_attr($item->id_sug) ?>">
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Suggested for:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td>
                <span class="generic_text_3">
                    <span style="text-transform: uppercase;"><?php echo esc_html( $item->subcat ); ?></span>
                </span>
            </td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Date:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><?php echo esc_html( $item->add_date ); ?></td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Page Title:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><?php echo esc_html( $item->tittle ); ?></td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Page Tags:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><?php echo esc_html( $item->tags ); ?></td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Page URL:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><a href="<?php echo esc_url( $item->link ); ?>" target="_blank"><?php echo esc_html( $item->link ); ?></a></td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Page Author:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><?php echo esc_html( $item->author ); ?></td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Twitter Handle:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><?php echo esc_html( $item->twitter ); ?></td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Facebook Page:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><?php echo esc_html( $item->facebook ); ?></td>
        </tr>
        <tr>
            <td class="kbucket-text-right"><strong><?php esc_html_e("Comment:", WPKB_TEXTDOMAIN); ?></strong></td>
            <td><?php echo esc_html( $item->description ); ?></td>
        </tr>
        <tr>
            <td colspan=2 style="border-bottom:2px solid pink; width:100%; min-width:700px; text-align:right;">
                <a href="javascript:void(0);" onclick="confirmdelete(<?php echo esc_js( $item->id_sug ); ?>)"><?php esc_html_e("Delete", WPKB_TEXTDOMAIN); ?></a>
            </td>
        </tr>
    </table>
<?php endforeach; ?>


	</div>
</div><!-- /#country5 -->
