示例#1
0
  <a href="?route=reviews.php&amp;action=list">' . $LANG['view'] . '</a>
  <a href="?route=coupons.php&amp;action=add">' . $LANG['add'] . '</a>
  </div>
  </li>';
}
if (ab_to(array('suggestions' => 'view'))) {
    echo '<li>
  <div class="info-div"><b>' . admin_query::suggestions() . '</b> ' . strtolower($LANG['suggestions']) . '</div>
  <div class="options">
  <a href="?route=suggestions.php&amp;action=list">' . $LANG['view'] . '</a>
  </div>
  </li>';
}
if ($GLOBALS['me']->is_admin) {
    echo '<li>
  <div class="info-div"><b>' . admin_query::plugins() . '</b> ' . strtolower($LANG['plugins']) . '</div>
  <div class="options">
  <a href="?route=plugins.php&amp;action=list">' . $LANG['view'] . '</a>
  <a href="?route=plugins.php&amp;action=install">' . $LANG['plugins_install'] . '</a>
  </div>
  </li>';
}
echo '</ul>

</div>

<div class="el-two">';
if (ab_to(array('chat' => 'view'))) {
    echo '<section class="el-row">

<h2>' . $LANG['chat_title'] . ' <a href="#" class="updown" data-set="chat">' . (isset($_SESSION['ses_set']['chat']) && ($show_chat = $_SESSION['ses_set']['chat']) ? 'S' : 'R') . '</a></h2>