/**
     * Render delete by url box.
     *
     * @static
     */
    public static function render_delete_posts_by_url_box()
    {
        if (BD_Util::is_posts_box_hidden(Bulk_Delete::BOX_URL)) {
            printf(__('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete'), 'admin.php?page=' . Bulk_Delete::POSTS_PAGE_SLUG);
            return;
        }
        ?>
        <!-- URLs start-->
        <h4><?php 
        _e('Delete posts and pages that have the following Permalink', 'bulk-delete');
        ?>
</h4>

        <fieldset class="options">
        <table class="optiontable">
            <tr>
                <td scope="row" colspan="2">
                    <label for="smdb_specific_pages"><?php 
        _e('Enter one post url (not post ids) per line', 'bulk-delete');
        ?>
</label>
                    <br>
                    <textarea style="width: 450px; height: 80px;" id="smdb_specific_pages_urls" name="smdb_specific_pages_urls" rows="5" columns="80"></textarea>
                </td>
            </tr>

			<?php 
        bd_render_filtering_table_header();
        ?>
			<?php 
        bd_render_delete_settings('specific');
        ?>

        </table>
        </fieldset>
<?php 
        bd_render_submit_button('delete_posts_by_url');
    }
 /**
  * Render delete settings.
  *
  * @since 5.5
  */
 protected function render_delete_settings()
 {
     bd_render_delete_settings($this->field_slug);
 }
    /**
     * Render delete pages by page status box
     *
     * @access public
     * @static
     * @since  5.0
     */
    public static function render_delete_pages_by_status_box()
    {
        if (BD_Util::is_pages_box_hidden(Bulk_Delete::BOX_PAGE_STATUS)) {
            printf(__('This section just got enabled. Kindly <a href = "%1$s">refresh</a> the page to fully enable it.', 'bulk-delete'), 'admin.php?page=' . Bulk_Delete::PAGES_PAGE_SLUG);
            return;
        }
        $pages_count = wp_count_posts('page');
        $pages = $pages_count->publish;
        $page_drafts = $pages_count->draft;
        $page_future = $pages_count->future;
        $page_pending = $pages_count->pending;
        $page_private = $pages_count->private;
        ?>
        <!-- Pages start-->
        <h4><?php 
        _e('Select the pages which you want to delete', 'bulk-delete');
        ?>
</h4>

        <fieldset class="options">
        <table class="optiontable">
            <tr>
                <td>
                    <input name="smbd_published_pages" value="published_pages" type="checkbox">
                    <label for="smbd_published_pages"><?php 
        _e('All Published Pages', 'bulk-delete');
        ?>
 (<?php 
        echo $pages . ' ';
        _e('Pages', 'bulk-delete');
        ?>
)</label>
                </td>
            </tr>

            <tr>
                <td>
                    <input name="smbd_draft_pages" value="draft_pages" type="checkbox">
                    <label for="smbd_draft_pages"><?php 
        _e('All Draft Pages', 'bulk-delete');
        ?>
 (<?php 
        echo $page_drafts . ' ';
        _e('Pages', 'bulk-delete');
        ?>
)</label>
                </td>
            </tr>

            <tr>
                <td>
                    <input name="smbd_future_pages" value="scheduled_pages" type="checkbox">
                    <label for="smbd_future_pages"><?php 
        _e('All Scheduled Pages', 'bulk-delete');
        ?>
 (<?php 
        echo $page_future . ' ';
        _e('Pages', 'bulk-delete');
        ?>
)</label>
                </td>
            </tr>

            <tr>
                <td>
                    <input name="smbd_pending_pages" value="pending_pages" type="checkbox">
                    <label for="smbd_pending_pages"><?php 
        _e('All Pending Pages', 'bulk-delete');
        ?>
 (<?php 
        echo $page_pending . ' ';
        _e('Pages', 'bulk-delete');
        ?>
)</label>
                </td>
            </tr>

            <tr>
                <td>
                    <input name="smbd_private_pages" value="private_pages" type="checkbox">
                    <label for="smbd_private_pages"><?php 
        _e('All Private Pages', 'bulk-delete');
        ?>
 (<?php 
        echo $page_private . ' ';
        _e('Pages', 'bulk-delete');
        ?>
)</label>
                </td>
            </tr>
		</table>

        <table class="optiontable">
<?php 
        bd_render_filtering_table_header();
        bd_render_restrict_settings('pages', 'pages');
        bd_render_delete_settings('pages');
        bd_render_limit_settings('pages');
        bd_render_cron_settings('pages', 'http://bulkwp.com/addons/scheduler-for-deleting-pages-by-status/?utm_source=wpadmin&utm_campaign=BulkDelete&utm_medium=buynow&utm_content=bd-sp');
        ?>
        </table>
        </fieldset>
<?php 
        bd_render_submit_button('delete_pages_by_status');
    }