-
Notifications
You must be signed in to change notification settings - Fork 0
/
assignment-success.php
48 lines (40 loc) · 1.62 KB
/
assignment-success.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
session_start();
if(!isset($_SESSION['id'])){
header("location: login.php");
}
require "database/connection.php";
require "header.php";
if(isset($_SESSION['id'])){
$id = $_SESSION['id'];
}
$sql = "SELECT * FROM users WHERE user_id=?";
$stmt = $conn->prepare($sql);
$stmt->bind_param('s', $id);
if($stmt->execute()){
$result = $stmt->get_result();
if($result->num_rows > 0){
$row = $result->fetch_assoc();
}
}
?>
<body>
<section class="container-fluid login-wrapper pt-5">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="login-form">
<a href="javascript:history.back();" style="font-size: 1.4rem;"><i class="bi bi-arrow-left" style="margin-right: .5rem;"></i> Assignment Solver</a>
<img src="./assets/img/easylearn/congrats.jpg" style="border-radius: 10px;" class="pre-login-img img-responsive mt-5">
<form id="registration_form" class="mt-0">
<p>Thank you for using Easy Learn, We assure you that only skilled and experienced teachers are in charge of the assignment. In the next page we will show you all the teachers which you will select from.</p>
<div class="form-group mt-4 text-center">
<a href="select-teacher.php" class="form-control getStarted-btn">Continue</a>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<?php require "footer.php"; ?>