-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.php
More file actions
73 lines (69 loc) · 3.42 KB
/
Copy pathprofile.php
File metadata and controls
73 lines (69 loc) · 3.42 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
session_start();
// In a real scenario, you'd fetch $user_data from your DB here.
$user_name = "customer name";
$user_email = "customer@example.com";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Profile | Pastimes®</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
:root { --studio-blue: #0678eb; }
body { font-family: 'Inter', sans-serif; background-color: #fff; }
.navbar-brand { font-weight: 800; font-size: 24px; color: #000 !important; letter-spacing: 1px; text-transform: uppercase; }
.profile-header { background: #f9f9f9; padding: 60px 0; border-bottom: 1px solid #eee; }
.profile-avatar { width: 100px; height: 100px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900; border-radius: 50%; margin: 0 auto 20px; }
.btn-edit { border: 2px solid #000; color: #000; font-weight: 800; text-transform: uppercase; padding: 10px 30px; transition: 0.3s; text-decoration: none; }
.btn-edit:hover { background: #000; color: #fff; }
.order-card { border: 1px solid #eee; padding: 20px; margin-bottom: 15px; }
.accent-text { color: var(--studio-blue); font-weight: 700; }
footer { background-color: #000; padding: 60px 0 40px; color: #fff; }
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg border-bottom sticky-top bg-white">
<div class="container">
<a class="navbar-brand" href="index.php">Pastimes®</a>
<a href="listings.php" class="text-dark small fw-bold text-uppercase text-decoration-none">Shop</a>
</div>
</nav>
<div class="profile-header text-center">
<div class="container">
<div class="profile-avatar">A</div>
<h2 class="fw-black text-uppercase mb-1"><?php echo $user_name; ?></h2>
<p class="text-muted mb-4"><?php echo $user_email; ?></p>
<a href="edit-profile.php" class="btn-edit">Edit Profile</a>
</div>
</div>
<div class="container my-5">
<div class="row">
<div class="col-md-8 mx-auto">
<h5 class="fw-bold text-uppercase mb-4">Recent Orders</h5>
<div class="order-card d-flex justify-content-between align-items-center">
<div>
<p class="mb-0 fw-bold">Order #8821</p>
<small class="text-muted">Placed on April 12, 2026</small>
</div>
<div class="text-end">
<p class="mb-0 accent-text">R 1,250.00</p>
<span class="badge bg-dark">SHIPPED</span>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="container text-center">
<h5 class="mb-2 uppercase" style="letter-spacing: 2px;">Pastimes</h5>
<div class="pt-3" style="border-top: 1px solid #333; max-width: 340px; margin: 0 auto;">
<p class="mb-1" style="font-size: 9px; text-transform: uppercase; letter-spacing: 2px; color: #aaa;">Digital Architecture & Direction</p>
<p class="mb-0"><a href="#" class="text-white text-decoration-none fw-bold" style="letter-spacing: 4px; font-size: 12px;">Amo Matlhaga & Kea Masole</a></p>
</div>
</div>
</footer>
</body>
</html>