"; echo ""; return 0; } include 'tools.inc.php'; include 'data.inc.php'; include 'menu.inc.php'; include 'authbase.inc.php'; include 'resources.inc.php'; $ab = new authbase (); $menu = new menu (); $data = new data (); $r = new resources (); $superglobals=$_REQUEST; $sessionid=$superglobals['sessionid']; $r->initialize($sessionid,$superglobals['id'],$function,$superglobals,"wedding.cfg.php"); $menu->resources($r); $ab->resources($r); $data->resources($r); $menu->initialize($sessionid,$superglobals['id'],$function); $ab->initialize(); $ab->sessioncheck(); $ab->checklogin(); $menu->build(); echo $data->process(); ?>