/
home
/
u897542709
/
domains
/
zcardin.com
/
public_html
/
Upload File
HOME
<?php require_once 'config.php'; if (!isset($_GET['public_id'])) { die("No user specified."); } $public_id = $_GET['public_id']; $stmt = $pdo->prepare("SELECT * FROM AutoUsers WHERE public_id = ?"); $stmt->execute([$public_id]); $user = $stmt->fetch(); if (!$user) { die("User not found."); } // استخدم صورة افتراضية إذا لم تكن موجودة $image_url = !empty($user['profile_image']) ? $user['profile_image'] : 'default-profile.png'; ?> <!DOCTYPE html> <html lang="en"> <head> <!-- Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-NCW0CGEZPX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-NCW0CGEZPX'); </script> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <link rel="stylesheet" href="clear.css" /> <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> <title>ZCARD</title> </head> <body> <div class="container"> <div class="main"> <div class="top"> <div class="pic"> <div class="InPic"> <div> <img class="Profilepic" src="<?php echo htmlspecialchars($image_url); ?>" alt="Profile Picture"> </div> </div> </div> </div> <div class="Uppermiddle"> <div class="name"> <h4><?= htmlspecialchars($user['full_name']) ?><br> <?= htmlspecialchars($user['job_title']) ?></h4> <div class="info"> <p> <?= htmlspecialchars($user['company_name']) ?></p> </div> </div> </div> <div class="Lowermiddle"> <a onclick="share2(); audio.play();" class="SaveBTN" href="download_vcf.php?public_id=<?= urlencode($user['public_id']) ?>"> Save </a> </div> <div class="bottom"> <a href="tel:<?= htmlspecialchars($user['phone']) ?>"><div class="IconBTN"><img src="icons/phone.svg" class="callIcon"></div></a> <a href="https://api.whatsapp.com/send?phone=<?= '971' . substr(preg_replace('/\D/', '', $user['phone']), -9) ?>"> <div class="IconBTN"> <img src="icons/whatsapp.svg" class="WhatsIcon"> </div> </a> <a href="mailto:<?= htmlspecialchars($user['email']) ?>"> <div class="IconBTN"> <img src="icons/email.svg" class="EmailIcon"> </div> </a> <a href="login.php"> <div class="IconBTN"> <img src="icons/settings.svg" class="EmailIcon"> </div> </a> </div> </div> </div> <div class="website"> </div> </div> </div> </body> </html>