| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package FireBox |
| 4 |
* @version 2.1.14 Free |
| 5 |
* |
| 6 |
* @author FirePlugins <info@fireplugins.com> |
| 7 |
* @link https://www.fireplugins.com |
| 8 |
* @copyright Copyright © 2024 FirePlugins All Rights Reserved |
| 9 |
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 |
*/ |
| 11 |
|
| 12 |
if (!defined('ABSPATH')) |
| 13 |
{ |
| 14 |
exit; // Exit if accessed directly. |
| 15 |
} |
| 16 |
|
| 17 |
$campaigns = $this->data->get('campaigns'); |
| 18 |
$table = new \FireBox\Core\FB\CampaignsList(); |
| 19 |
|
| 20 |
// Process bulk actions and show notices |
| 21 |
$table->process_bulk_action(); |
| 22 |
do_action('fpframework/admin/notices'); |
| 23 |
?> |
| 24 |
<h1 class="mb-3 text-default text-[32px] dark:text-white flex gap-1 items-center fp-admin-page-title"><?php esc_html_e(firebox()->_('FB_CAMPAIGNS')); ?></h1> |
| 25 |
|
| 26 |
<form action="" method="get"> |
| 27 |
<?php |
| 28 |
$table->views(); |
| 29 |
$table->prepare_items(); |
| 30 |
$table->search_box( __( 'Search campaigns' ), 'firebox-campaign' ); |
| 31 |
$table->display(); |
| 32 |
?> |
| 33 |
<input type="hidden" name="page" value="firebox-campaigns" /> |
| 34 |
</form> |