// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A // PARTICULAR PURPOSE. See the ProEthos License for more details. // // You should have received a copy of the ProEthos License along with the ProEthos // Software. If not, see // https://raw.githubusercontent.com/bireme/proethos/master/LICENSE.txt /** * Admin Menu * @author Rene Faustino Gabriel Junior (Analista-Desenvolvedor) * @copyright © Pan American Health Organization, 2013. All rights reserved. * @access public * @version v0.13.46 * @package ProEthos-Admin * @subpackage Messages */ require "cab.php"; /* Admin Common */ $ok = ($perfil->valid('#ADM') or $perfil->valid('#SCR') or $perfil->valid('#COO')); if ($ok == 0) { redirecina('main.php'); } $mess = new message(); $edit_mode = 0; echo '<META HTTP-EQUIV=Refresh CONTENT="4; URL=admin.php">'; if ($perfil->valid('#ADM') or $perfil->valid('#MAS')) { $rs = $mess->edit_mode($dd[1]); echo '<H2>' . msg($rs) . '</H2>'; $_SESSION['editmode'] = $dd[1]; } echo '</div>'; echo $hd->foot();