Exemplo n.º 1
0
  <a href="?route=products.php&amp;action=add">' . $LANG['add'] . '</a>
  </div>
  </li>';
}
if (ab_to(array('categories' => 'view'))) {
    echo '<li>
  <div class="info-div"><b>' . \query\main::categories() . '</b> ' . strtolower($LANG['categories']) . '</div>
  <div class="options">
  <a href="?route=categories.php&amp;action=list">' . $LANG['view'] . '</a>
  <a href="?route=categories.php&amp;action=add">' . $LANG['add'] . '</a>
  </div>
  </li>';
}
if (ab_to(array('pages' => 'view'))) {
    echo '<li>
  <div class="info-div"><b>' . \query\main::pages() . '</b> ' . strtolower($LANG['pages']) . '</div>
  <div class="options">
  <a href="?route=pages.php&amp;action=list">' . $LANG['view'] . '</a>
  <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>';
}