</div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-navbar-collapse-1"> <ul class="nav navbar-nav"> <?php $letheNav = ''; foreach ($lethe_modules as $k => $v) { $lp = str_replace('?p=', '', $v['page']); if (permCheck($lp)) { $letheNav .= '<li class="dropdown"> <a href="' . $v['page'] . '" class="dropdown-toggle" data-toggle="dropdown"><span class="' . $v['icon'] . '"></span> ' . $v['title'] . ' <span class="caret"></span></a> <ul class="dropdown-menu" role="menu">' . PHP_EOL; foreach ($v['contents'] as $ck => $cv) { $lp = str_replace('?p=', '', $cv['page']); if (permCheck($lp)) { $letheNav .= '<li><a href="' . $cv['page'] . '"><span class="' . $cv['icon'] . '"></span> ' . $cv['title'] . '</a></li>' . PHP_EOL; } } $letheNav .= ' </ul> </li>'; } } echo $letheNav; ?> </ul> <ul class="nav navbar-nav navbar-right"> <li></li> <?php if (LETHE_AUTH_MODE == 2) {
<?php # +------------------------------------------------------------------------+ # | Artlantis CMS Solutions | # +------------------------------------------------------------------------+ # | Lethe Newsletter & Mailing System | # | Copyright (c) Artlantis Design Studio 2014. All rights reserved. | # | Version 2.0 | # | Last modified 18.11.2014 | # | Email developer@artlantis.net | # | Web http://www.artlantis.net | # +------------------------------------------------------------------------+ $pgnt = true; if ($page_main == 'organizations') { if (!permCheck($p)) { echo errMod(letheglobal_you_are_not_authorized_to_view_this_page, 'danger'); } else { /* Requests */ if (!isset($_GET['ID']) || !is_numeric($_GET['ID'])) { $ID = 0; } else { $ID = intval($_GET['ID']); } /* Mod Settings */ $mod_confs = $lethe_modules[recursive_array_search('lethe.organizations', $lethe_modules)]; $pg_title = $mod_confs['title']; $pg_nav_buts = ''; $errText = ''; /* Demo Check */ if (!isDemo('addUser,editUser')) { $errText = errMod(letheglobal_demo_mode_active, 'danger');