prepare(" SELECT a.*, p.id_profile, p.email AS p_email, p.moto, p.provinsi, p.kabupaten, p.kecamatan, p.desa, p.kode_pos, p.facebook, p.instagram, p.linkedin, p.whatsapp FROM account a LEFT JOIN profile p ON a.id_account = p.id_account WHERE a.id_account = ? "); $stmt->execute([$_SESSION['user_id']]); $user = $stmt->fetch(PDO::FETCH_ASSOC); if (!$user) { header("Location: login.php"); exit; } $fotoSrc = (!empty($user['foto']) && file_exists($user['foto'])) ? $user['foto'] : 'images/faces/user.jpg'; $hasProfile = !empty($user['id_profile']); $hasFb = !empty($user['facebook']); $hasIg = !empty($user['instagram']); $hasLi = !empty($user['linkedin']); $hasWa = !empty($user['whatsapp']); include 'header.php'; ?>

Profile

Your personal and contact information, Complete your profile now!

Profile Overview

Fingerprint Registered via :
Profile
@ | ,

Personal Information

Full Name

Username

@

Email address

Not provided' ?>

Phone

Not provided' ?>

Bio

Not provided' ?>

Address

Province

Not provided' ?>

Regency / City

Not provided' ?>

District

Not provided' ?>

Village

Not provided' ?>

Postal Code

Not provided' ?>