Şuanki Dizin: /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/patient-pro.php |
<?php require_once('lib/functions.php'); $db = new class_functions(); $data = array(); $data = $db->get_all_patient_registration(); ?> <html lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> </title> <link rel="stylesheet" href="styles.css"> <?php require_once('header-common.php'); ?> </head> <aside class="sidebar sidebar-default sidebar-white sidebar-base navs-rounded-all "> <div class="sidebar-header d-flex align-items-center justify-content-start"> <a href="index.php" class="navbar-brand"> <img src="images/<?php echo $logo; ?>" class="software_logo" style="height:90px; width:220px;" /> </a> <div class="sidebar-toggle" data-toggle="sidebar" data-active="true"> <i class="icon"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M4.25 12.2744L19.25 12.2744" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> <path d="M10.2998 18.2988L4.2498 12.2748L10.2998 6.24976" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> </svg> </i> </div> </div> <?php require_once('left-side.php'); ?> <div class="sidebar-footer"></div> </aside> <main class="main-content"> <?php require_once('navbar.php'); ?> <style> body,html{ height: 100%; } body { font-family: 'Montserrat', sans-serif; } .wrapper{ display: flex; justify-content: center; align-items: center; padding-top: 12%; } .user-card { border: 1px solid black; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color:White; border-radius: 10px; padding: 40px; width: 700px; position: relative; overflow: hidden; box-shadow: 0 2px 20px -5px rgba(0,0,0,0.5); } .user-card:before { content: ''; position: absolute; height: 300%; width: 173px; background: #AFEEEE; top: -60px; left: -125px; z-index: 0; transform: rotate(17deg); } .user-card-img { display: flex; justify-content: center; align-items: center; z-index: 3; } .user-card-img img { position: relative; right: 10px; width: 180px; height: 180px; object-fit: cover; border-radius: 50%; } .user-card-info { text-align: center; } .user-card-info h2 { font-size: 24px; margin: 0; margin-bottom: 10px; font-family: 'Bebas Neue', sans-serif; letter-spacing: 3px; } span { font-size:18px; } p { font-size:18px; } .large-font { font-size: 18px; } .user-card-info p { font-size: 14px; margin-bottom: 2px; } .user-card-info p span { font-weight: 700; margin-right: 10px; } @media only screen and (min-width: 768px) { .user-card { flex-direction: row; align-items: flex-start; } .user-card-img { margin-right: 20px; margin-bottom: 0; } .user-card-info { text-align: left; } } @media (max-width: 767px){ .wrapper{ padding-top: 3%; } .user-card:before { width: 300%; height: 200px; transform: rotate(0); } .user-card-info h2 { margin-top: 25px; font-size: 35px; } .user-card-info p span { display: block; margin-bottom: 15px; font-size: 18px; } } </style> </head> <body> <?php if (!empty($data)): ?> <?php foreach ($data as $record): ?> <?php $id = $record[0]; $patient_id = $record[1]; $full_name = $record[2]; $photo = $record[3]; $gender = $record[4]; $dob = $record[5]; $age = $record[6]; $city = $record[7]; $pincode = $record[8]; $address_1 = $record[9]; $address_2 = $record[10]; $email = $record[11]; $mobile_1 = $record[12]; $mobile_2 = $record[13]; $remark = $record[14]; ?> <div class="wrapper"> <div class="user-card"> <div class="user-card-img"> <img src="patient_photo/<?php echo $photo; ?>" alt=""> </div> <div class="user-card-info"> <p><span>patient Name : </span><span style="font-size: 18px;"><?php echo $full_name; ?></span></p> <p><span>Email :</span><span style="font-size: 18px;"><?php echo $email; ?></p> <p><span>Dob :</span><span style="font-size: 18px;"><?php echo $dob; ?></p> <p><span>Gender :</span><span style="font-size: 18px;"><?php echo $gender; ?></p> <p><span>Age :</span><span style="font-size: 18px;"><?php echo $age; ?></p> <p><span>city :</span><span style="font-size: 18px;"><?php echo $city; ?></p> <p><span>Mobile NO :</span><span style="font-size: 18px;"><?php echo $mobile_1; ?></p> </div> </div> </div> <?php endforeach; ?> <?php endif; ?> </div> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4