Exemple #1
0
  <a href="?route=pages.php&amp;action=add">' . $LANG['add'] . '</a>
  </div>
  </li>';
}
if (ab_to(array('users' => 'view'))) {
    echo '<li>
  <div class="info-div"><b>' . \query\main::users() . '</b> ' . strtolower($LANG['users']) . '</div>
  <div class="options">
  <a href="?route=users.php&amp;action=list">' . $LANG['view'] . '</a>
  <a href="?route=users.php&amp;action=add">' . $LANG['add'] . '</a>
  </div>
  </li>';
}
if ($GLOBALS['me']->is_admin) {
    echo '<li>
  <div class="info-div"><b>' . admin_query::user_sessions() . '</b> ' . strtolower($LANG['users_sessions']) . '</div>
  <div class="options">
  <a href="?route=users.php&amp;action=sessions">' . $LANG['view'] . '</a>
  </div>
  </li>';
}
if ($GLOBALS['me']->is_admin) {
    echo '<li>
  <div class="info-div"><b>' . admin_query::subscribers() . '</b> ' . strtolower($LANG['users_subscribers']) . '</div>
  <div class="options">
  <a href="?route=users.php&amp;action=subscribers">' . $LANG['view'] . '</a>
  </div>
  </li>';
}
if (ab_to(array('reviews' => 'view'))) {
    echo '<li>