<?php echo '<div class="page-toolbar"> ' . sprintf($LANG['first_msg_v'], VERSION, \query\main::get_option('theme')) . ' <span class="right-text">' . $LANG['server_time'] . ': ' . date('Y.m.d, ' . (\query\main::get_option('hour_format') == 12 ? 'g:i A' : 'G:i')) . '</span>'; echo '</div>'; echo '<div class="form-table"> <div class="el-two">'; $alerts = array(); if (($a_suggs = admin_query::suggestions(array('show' => 'notread'))) > 0 && ab_to(array('suggestions' => 'view'))) { $alerts[] = '<a href="?route=suggestions.php&action=list&view=notread">' . sprintf($LANG['alerts_suggestions'], $a_suggs) . '</a>'; } if (($a_rews = \query\main::reviews(array('show' => 'notvalid'))) > 0 && ab_to(array('reviews' => 'view'))) { $alerts[] = '<a href="?route=reviews.php&action=list&view=notvalid">' . sprintf($LANG['alerts_reviews'], $a_rews) . '</a>'; } if (($a_clmreqs = \query\main::rewards_reqs(array('show' => 'notvalid'))) > 0 && ab_to(array('claim_reqs' => 'view'))) { $alerts[] = '<a href="?route=rewards.php&action=requests&view=notvalid">' . sprintf($LANG['alerts_rewardreq'], $a_clmreqs) . '</a>'; } if (($a_coupons = \query\main::coupons(array('show' => 'notvisible'))) > 0 && ab_to(array('coupons' => 'view'))) { $alerts[] = '<a href="?route=coupons.php&action=list&view=notvisible">' . sprintf($LANG['alerts_unpubcoupons'], $a_coupons) . '</a>'; } if (($a_products = \query\main::products(array('show' => 'notvisible'))) > 0 && ab_to(array('products' => 'view'))) { $alerts[] = '<a href="?route=products.php&action=list&view=notvisible">' . sprintf($LANG['alerts_unpubproducts'], $a_products) . '</a>'; } if (($a_stores = \query\main::stores(array('show' => 'notvisible'))) > 0 && ab_to(array('claim_reqs' => 'view'))) { $alerts[] = '<a href="?route=stores.php&action=list&view=notvisible">' . sprintf($LANG['alerts_unpubstores'], $a_stores) . '</a>'; } if (($a_payments = \query\payments::invoices(array('show' => 'undeliveredpayments'))) > 0 && ab_to(array('payments' => 'view'))) { $alerts[] = '<a href="?route=payments.php&action=list&view=undeliveredpayments">' . sprintf($LANG['alerts_undelipay'], $a_payments) . '</a>'; } if (!empty($alerts)) {