summaryrefslogtreecommitdiff
path: root/menu_lookup_inc.php
blob: 8661e9afeb3b2af148cda0d5768dc2d794ef092a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
 * @author   xing <xing@synapse.plus.com>
 * @version  $Revision$
 * @package  nexus
 * @subpackage functions
 */
global $gNexus;

if( @BitBase::verifyId( $_REQUEST['menu_id'] ) ) {
	$menuId = $_REQUEST['menu_id'];
	$gNexus = new Nexus( $menuId );
} else {
	$gNexus = new Nexus();
	$menuId = NULL;
}
$gNexus -> load();

$gBitSmarty->assign_by_ref( 'gNexus', $gNexus );
$gBitSmarty->assign_by_ref( 'menuId', $menuId );
?>