Skip to content
Snippets Groups Projects
Commit dc3fee95 authored by bx khateri's avatar bx khateri
Browse files

majeur update

parent 50ba8383
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,7 @@ if (isset($provided_email) && isset($provided_password) && isset($provided_age)) ...@@ -145,7 +145,7 @@ if (isset($provided_email) && isset($provided_password) && isset($provided_age))
<div class="d-flex justify-content-between"> <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> </div>
</form> </form>
</div> </div>
......
...@@ -51,5 +51,4 @@ $users = $obj->executeQuery($query); ...@@ -51,5 +51,4 @@ $users = $obj->executeQuery($query);
?> ?>
</tbody> </tbody>
</table> </table>
</div> </div>
\ No newline at end of file
api.php 0 → 100644
<?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
...@@ -105,7 +105,7 @@ if (!empty($_POST['email']) && !empty($_POST['password'])) { ...@@ -105,7 +105,7 @@ if (!empty($_POST['email']) && !empty($_POST['password'])) {
</div> </div>
<div class="d-flex justify-content-between"> <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> </div>
</form> </form>
</div> </div>
......
...@@ -23,7 +23,6 @@ if (isset($provided_email) && isset($provided_password)) { ...@@ -23,7 +23,6 @@ if (isset($provided_email) && isset($provided_password)) {
// check if user exists with provided email // check if user exists with provided email
$query = "SELECT * FROM users where email = '$provided_email';"; $query = "SELECT * FROM users where email = '$provided_email';";
$result = $obj->executeQuery($query); $result = $obj->executeQuery($query);
$email = ''; $email = '';
$password = ''; $password = '';
...@@ -75,11 +74,11 @@ if (isset($provided_email) && isset($provided_password)) { ...@@ -75,11 +74,11 @@ if (isset($provided_email) && isset($provided_password)) {
</div> </div>
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<button type="submit" class="btn btn-primary">Login</button> <button type="submit" class="btn btn-primary btn-sm">Login</button>
<a class="btn btn-outline-info" href="register.php">Sign up</a> <a class="btn btn-outline-info btn-sm" href="register.php">Sign up</a>
</div> </div>
<div class="mt-3"> <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> </div>
</form> </form>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment