Esempio n. 1
0
echo $countEarnings ? $before . bsa_number_format($countEarnings) . $after : $before . bsa_number_format(0) . $after;
?>
</strong>
			</div>
		</div>
	</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()) {
Esempio n. 2
0
            echo admin_url();
            ?>
admin.php?page=bsa-pro-sub-menu-spaces&space_id=<?php 
            echo $space_id;
            ?>
&remove_action=1" class="current currentRed">Remove Space</a>
				</li>
			<?php 
        }
        ?>
		</ul>
	</div>

	<?php 
        $model->getAdminAction();
        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()) {