<p>' . $message . '</p></div>';
}
//"New Feed" button
$url = site_url() . '/wp-admin/admin.php?page=cart-product-feed-admin';
//echo '<input style="margin-top:12px;" type="button" class="button-primary" onclick="document.location=\'' . $url . '\';" value="' . __( 'Generate New Feed', 'cart-product-strings' ) . '" />';
?>

    <br />
    <?php 
echo '
        <script type="text/javascript">
        jQuery( document ).ready( function( $ ) {
           ajaxhost = "' . plugins_url('/', __FILE__) . '";
        } );
        </script>';
echo PFeedSettingsDialogs::refreshTimeOutDialog();
// The table of existing feeds
feeds_main_table();
?>
    <br />
</div>
<?php 
// The feeds table flat
function feeds_main_table()
{
    global $wpdb;
    $feed_table = $wpdb->prefix . 'cp_feeds';
    $providerList = new PProviderList();
    // Read the feeds
    $sql_feeds = "SELECT f.*,description FROM {$feed_table} as f LEFT JOIN {$wpdb->term_taxonomy} on ( f.category=term_id and taxonomy='product_cat'  ) ORDER BY f.id";
    $list_of_feeds = $wpdb->get_results($sql_feeds, ARRAY_A);