diff --git a/Register.php b/Register.php index eca4b5b7a21a08786d60671d49f628b7a04bb47d..d7be8e28653f66976b375e76c65130558a4c4410 100644 --- a/Register.php +++ b/Register.php @@ -145,7 +145,7 @@ if (isset($provided_email) && isset($provided_password) && isset($provided_age)) <div class="d-flex justify-content-between"> - <button type="submit" class="btn btn-primary">Signup</button> + <button type="submit" class="btn btn-primary btn-sm">Signup</button> </div> </form> </div> diff --git a/admin.php b/admin.php index ae2d19bf2423e276f8c912345d9e3ccc838cf614..ba26f3282d66d4098b90d46455d156c9245c61ff 100644 --- a/admin.php +++ b/admin.php @@ -51,5 +51,4 @@ $users = $obj->executeQuery($query); ?> </tbody> </table> - </div> \ No newline at end of file diff --git a/api.php b/api.php new file mode 100644 index 0000000000000000000000000000000000000000..164e13d6904e346b15cd3ecfafa5bac3e8268840 --- /dev/null +++ b/api.php @@ -0,0 +1,17 @@ +<?php + +$base_path = $_SERVER['PHP_SELF']; +$array_of_path = explode('/', $base_path); + +echo $array_of_path[0], "<br>"; +echo $array_of_path[1], "<br>"; + +echo $array_of_path[2], "<br>"; +echo $array_of_path[3], "<br>"; + + + + + + +?> \ No newline at end of file diff --git a/forgotpassword.php b/forgotpassword.php index ba4a0d58e7bd604a77f563cb1bbea22c1bc6a333..1c204187af747b9c948538ab6bdcd13e632ee1d2 100644 --- a/forgotpassword.php +++ b/forgotpassword.php @@ -105,7 +105,7 @@ if (!empty($_POST['email']) && !empty($_POST['password'])) { </div> <div class="d-flex justify-content-between"> - <button type="submit" class="btn btn-primary">Reset</button> + <button type="submit" class="btn btn-primary btn-sm">Reset</button> </div> </form> </div> diff --git a/login.php b/login.php index e582149f59955c5dd827a94fdfcaa22ce44049b9..15cd122ef73cadb43c0fcc38a02c1705a6a60297 100644 --- a/login.php +++ b/login.php @@ -23,7 +23,6 @@ if (isset($provided_email) && isset($provided_password)) { // check if user exists with provided email $query = "SELECT * FROM users where email = '$provided_email';"; - $result = $obj->executeQuery($query); $email = ''; $password = ''; @@ -75,11 +74,11 @@ if (isset($provided_email) && isset($provided_password)) { </div> <div class="d-flex justify-content-between"> - <button type="submit" class="btn btn-primary">Login</button> - <a class="btn btn-outline-info" href="register.php">Sign up</a> + <button type="submit" class="btn btn-primary btn-sm">Login</button> + <a class="btn btn-outline-info btn-sm" href="register.php">Sign up</a> </div> <div class="mt-3"> - <a class="btn btn-outline-danger" href="forgotpassword.php">forgot password</a> + <a class="btn btn-outline-danger btn-sm" href="forgotpassword.php">forgot password</a> </div> </form> </div>