$user_schema->setAction($_REQUEST['do']); $user_schema->processUserChoice(); } /** * Show some possibility to select a page for the export of relation schema * Lists all pages created before and can select and edit from them */ $user_schema->selectPage(); /** * Create a new page where relations will be drawn */ $user_schema->showCreatePageDialog($db); /** * After selection of page or creating a page * It will show you the list of tables * A dashboard will also be shown where you can position the tables */ $user_schema->showTableDashBoard(); if (isset($_REQUEST['do']) && ($_REQUEST['do'] == 'edcoord' || ($_REQUEST['do']== 'selectpage' && isset($user_schema->chosenPage) && $user_schema->chosenPage != 0) || ($_REQUEST['do'] == 'createpage' && isset($user_schema->chosenPage) && $user_schema->chosenPage != 0)) ) {