-
Notifications
You must be signed in to change notification settings - Fork 0
/
business-edit-success.php
48 lines (40 loc) · 1.52 KB
/
business-edit-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> Register Business</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>You have successfully updated your business. Easy Learn will have to re-verify your business profile.</p>
<div class="form-group mt-4 text-center">
<a href="dashboard.php" class="form-control getStarted-btn">Go to Dashboard</a>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<?php require "footer.php"; ?>