document.forms['registerform'].submit(); } } </script> <body> <div id="wrapper"> <?php showNav($textos); ?> <div id="page-wrapper"> <div class="container-fluid"> <?php if (isset($_GET['emailU'])) { $usuario = new usuario($_GET['emailU'], '', '', '', '', ''); $usuario->Rellenar(); ?> <!-- Page Heading --> <div class="row">
/** * Function to create a navigation menu in content pages. * This function was based on the function that do the same in mastop publish module * * @param integer $id * @param string $separador * @param string $style * @return string */ function showNav($id = null, $separador = '/', $style = "style='font-weight:bold'") { $url = ICMS_URL . '/content.php'; if ($id == false) { return false; } else { if ($id > 0) { /** * @todo this handler doesn't even exist since 1.2. check if the function is still required */ $content_handler =& xoops_gethandler('content'); $cont = $content_handler->get($id); if ($cont->getVar('content_id') > 0) { $seo = $content_handler->makeLink($cont); $ret = "<a href='" . $url . "?page=" . $seo . "'>" . $cont->getVar('content_title') . "</a>"; if ($cont->getVar('content_supid') == 0) { return "<a href='" . ICMS_URL . "'>" . _CT_NAV . "</a> {$separador} " . $ret; } elseif ($cont->getVar('content_supid') > 0) { $ret = showNav($cont->getVar('content_supid'), $separador) . " {$separador} " . $ret; } } } else { return false; } } return $ret; }
<?php require_once "../../../maincore.php"; require_once THEMES . "templates/admin_header.php"; include INFUSIONS . "al_stats/infusion_db.php"; if (!defined("IN_FUSION")) { die("access denied"); } if (file_exists(INFUSIONS . "al_stats/locale/" . $settings['locale'] . ".php")) { include INFUSIONS . "al_stats/locale/" . $settings['locale'] . ".php"; } else { include INFUSIONS . "al_stats/locale/Russian.php"; } require_once INFUSIONS . "al_stats/includes/functions.php"; if (!checkAdminPageAccess("ST")) { redirect(START_PAGE); } //nav opentable($locale['st7']); showNav(); closetable(); if (!isset($_GET['p']) || $_GET['p'] == "" || !file_exists(INFUSIONS . "al_stats/admin/" . $_GET['p'] . ".php")) { //index opentable($locale['st8']); echo $locale['st9']; closetable(); } else { require_once INFUSIONS . "al_stats/admin/" . $_GET['p'] . ".php"; } require_once THEMES . "templates/footer.php";