-
Notifications
You must be signed in to change notification settings - Fork 0
/
success.php
35 lines (28 loc) · 939 Bytes
/
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
<?
session_start();
require 'inc/includes.php';
checkUserLoggedIn();
include 'inc/header.php';
$friend = getFriend($_GET["friendID"]);
$plant = getPlant($_GET["plantID"]);
?>
<div class="row">
<div class="card">
<center>
<img src="img/success.png" class="successIcon"/>
<div class="name">Your payment has been recieved successfully.</div> <br/>
<div class="pricing-table" style="padding:4% 3%; border-radius:4px;">
<h5>You earned <strong><?=$plant->points?></strong> points, which you can redeem in your next purchase.</h5>
<div class="centerAlign" style="padding:2%;">
<a href="points.php">View All Points Status</a>
</div>
</div>
<h4>
Awesome!! You did take a step towards social cause, which adds another tree in your forest.
</h4>
<a href="forest.php"><button class="button expand">Go to your forest</button></a>
</div>
</div>
<?
include 'inc/footer.php';
?>