Exemple #1
0
?>
js/functions.js"></script>
	<script src="<?php 
echo "{$root}/";
?>
js/jNotify.jquery.min.js"></script>

</head>
<body id="skin-blur-lights">
	<div class="clearfix"></div>
	<section id="main" style="overflow-y: scroll;">
		<!-- Header -->
		<header id="header" class="media">
			<?php 
show_header_bar($conn, $uid);
login_msg($uid);
?>
		</header>
		
		<!-- Sidebar -->
		<aside id="sidebar">
			<?php 
show_side_bar("index");
?>
			
			<!-- Sidbar Widgets -->
			<?php 
show_profile_menu($conn, $uid);
?>
		</aside>
		
Exemple #2
0
	toggleMenu(location.search);
}
</script>
</td><td valign="top" width="100%" style="min-width:753px;"><iframe onload="main_onload(this)" frameborder="0" id="main" name="main" src="?<?php 
    echo $extra;
    ?>
" scrolling="yes" width="100%" height="100%" style="overflow:visible;"></iframe></td>
	</tr>
</table>
</body>
</html>
<?php 
} else {
    if ($entry == 'logout') {
        $db->query("DELETE FROM {$tblprefix}asession WHERE mid='{$memberid}'");
        login_msg(lang('ba_logout_finish'), $cms_abs);
    } elseif ($entry) {
        $actionid = $entry . (empty($action) ? '' : '_' . $action);
        include_once M_ROOT . './admina/' . $entry . '.inc.php';
        afooter();
        if (!empty($cms_up_url)) {
            echo '<script type="text/javascript" src="' . $cms_up_url . '"></script>';
        }
    }
}
mexit();
function login_msg($message, $url_forward = '', $msgtype = 'message')
{
    global $memberid, $curuser, $entry, $lan_title, $cms_regcode, $cms_abs, $mcharset, $param_suffix, $inajax, $infloat, $handlekey, $ajaxtarget;
    $url_forward .= $url_forward ? $param_suffix : '';
    $entry = mhtmlspecialchars($entry);