<div class="bsaDashboard-stat"> <div class="bsaDashboard-inner redBg"> <span class="dashicons dashicons-vault"></span> <span class="bsaDashboard-title">Total earnings</span> <strong class="bsaDashboard-amount"><?php 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()) {