function amrmeta_cachestatus_page()
{
    global $aopt;
    global $amr_nicenames;
    global $pluginpage;
    global $amain;
    $c = new adb_cache();
    //	amr_meta_main_admin_header('Cache Status');
    amr_meta_admin_headings($plugin_page = '');
    // does the nonce check etc
    if (isset($_REQUEST['rebuildback'])) {
        echo '<p>' . __('Background cache request received', 'amr-users') . '</p>';
        if (isset($_REQUEST['rebuildreal'])) {
            $ulist = (int) $_REQUEST['rebuildreal'];
            amr_request_cache_with_feedback($ulist);
        } else {
            amr_request_cache_with_feedback();
        }
        return;
    }
    /* then we have a request to kick off run */
    if (isset($_POST['trashlog'])) {
        /*  jobs having a problem - allow try again option */
        $c->delete_all_logs();
        //return;
    } elseif (isset($_POST['trashcache'])) {
        /*  jobs havign a problem - allow try again option */
        $c->clear_all_cache();
        //return;
    } elseif (isset($_POST['trashcachestatus'])) {
        /*  jobs havign a problem - allow try again option */
        amr_trash_the_cache();
        //return;
    }
    $c->cache_status();
    echo alist_rebuild();
    echo alist_trashcache_status();
    echo alist_trashcache();
    echo ausers_form_end();
}