Ejemplo n.º 1
0
	</div>
</div>

<?php 
$model->getAdminAction();
if ($model->validationAccept()) {
    echo '
	<div class="updated settings-error" id="setting-error-settings_updated">
		<p><div class="bsaLoader"></div><strong>Ad has been accepted.</strong></p>
	</div>';
} elseif ($model->validationBlocked()) {
    echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Ad blocked.</strong></p>
		</div>';
} elseif ($model->validationPaid()) {
    echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Ad marked as paid.</strong></p>
		</div>';
} elseif ($model->validationWithdrawalPaid()) {
    echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Agency Withdrawal marked as paid.</strong></p>
		</div>';
} elseif ($model->validationWithdrawalRejected()) {
    echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Agency Withdrawal has been rejected.</strong></p>
		</div>';
} elseif ($model->affiliateWithdrawalPaid()) {
Ejemplo n.º 2
0
        if ($model->validationBlocked()) {
            echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Ad has been blocked.</strong></p>
		</div>';
        } elseif ($model->validationUnblocked()) {
            echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Ad has been unblocked.</strong></p>
		</div>';
        } elseif ($model->validationRemoved()) {
            echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Ad has been removed.</strong></p>
		</div>';
        } elseif ($model->validationPaid()) {
            echo '
		<div class="updated settings-error" id="setting-error-settings_updated">
			<p><div class="bsaLoader"></div><strong>Ad has been marked as paid.</strong></p>
		</div>';
        }
        ?>

	<?php 
        if (isset($_GET['remove_action']) && !isset($_GET['remove_confirm'])) {
            echo '
			<div class="updated settings-error" id="setting-error-settings_updated">
				<p><strong>Confirm remove action!</strong> Yes, I <a href="' . admin_url() . 'admin.php?page=bsa-pro-sub-menu-spaces&space_id=' . $_GET['space_id'] . '&remove_action=1&remove_confirm=1">want</a> to delete Space ID <strong>' . $_GET['space_id'] . '</strong>.</p>
			</div>';
        }
        ?>