. */ include('functions.php'); include('conf.php'); session_start(); $user = ""; if ($ADMIN_MODE && isset($_POST['create_user'])) { if (create_user($_POST['user'])) $user = $_POST['user']; } else { if (isset($_POST['get_passwords']) && isset($_POST['user'])) return list_entries($_POST['user']); if (isset($_POST['add_entry']) && isset($_POST['user']) && isset($_POST['login']) && isset($_POST['password'])) return add_entry($_POST['user'], $_POST['login'], $_POST['password']); if (isset($_POST['delete_entry']) && isset($_POST['user']) && isset($_POST['login'])) return delete_entry($_POST['user'], $_POST['login']); } ?> gPass : global Password
>
No user found
\n"; else { echo "User \n"; echo ' Master key '; echo "" . "\n"; if (!isset($_SERVER['HTTPS'])) echo "
Current addon address is : http://" . $_SERVER['SERVER_NAME'] . "/" . $user . "
\n"; else echo "
Current addon address is : https://" . $_SERVER['SERVER_NAME'] . "/" . $user . "
\n"; } ?>
Add a new password
\n"; echo 'URL '; echo 'login '; echo 'password '; echo 'master key '; echo ''; echo ""; } ?>