$list->saveList(); echo '<div class="login-card">'; echo "Book list has been created<br/><br/>"; echo "Usernane : " . $myadmin->getAUserName() . "<br/>"; echo "Password : "******"<br/>"; echo "Pathname : " . $myadmin->getPath() . "<br/>"; echo '</div>'; direct('admin.php', 5); } else { $myconf = new Config(); $myconf->createDB(); echo '<div class="login-card">'; echo "Database Created<br/>"; $myconf->createUserTable(); echo "User table Created<br/>"; $myconf->createBooksTable(); echo "Books table Created<br/>"; $myconf->createAdminTable(); echo "Admin table Created<br/><br/>"; echo '<form action="" method="post">'; echo 'Username : <input type="text" name="username"><br/>'; echo 'Password : <input type="text" name="password"><br/>'; echo 'Path : <input type="text" name="pathname"><br/>'; echo '<input type="submit" name="sub" value="Send" class="login login-submit">'; echo '</form>'; echo '</div>'; } ?> <script src='inc/jquery.min.js'></script> <script src='inc/jquery-ui.min.js'></script>