Şuanki Dizin: /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/doctor-profile.php |
<?php require_once('lib/functions.php'); $db = new class_functions(); $data = array(); $data = $db->get_all_doctors_data(); ?> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Card with Image</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <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: 800px; 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:15px; 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> <?php if (!empty($data)): ?> <?php foreach ($data as $record): ?> <?php $id = $record[0]; $doctor_id = $record[1]; $doctor_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]; $email = $record[11]; $mobile_1 = $record[12]; $professional_statement = $record[14]; $practicing_from = $record[15]; $qualification_name = $record[16]; $specialization_in = $record[17]; ?> <!DOCTYPE html> <html lang="en"> <!-- divinectorweb.com --> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Patient Profile</title> <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet"> <link rel="stylesheet" href="style.css"> </head> <body> <div class="wrapper"> <div class="user-card"> <div class="user-card-img"> <img src="Doctor_photos/<?php echo $photo; ?>" alt=""> </div> <div class="user-card-info"> <p><span>Doctor Name : </span><span style="font-size: 18px;"><?php echo $doctor_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> <p><span>Qualification :</span><span style="font-size: 18px;"><?php echo $qualification_name ; ?></p> <p><span>specialization:</span><span style="font-size: 18px;"><?php echo $specialization_in ; ?></p> </div> </div> </div> </body> </html> <!--<div class="infos"style=" margin-bottom:20px;"> <div class="name"> <div style="display:flex; gap :35px;"> <h3 style="margin-left: 150px;">Patient Name</h3> <p><?php echo $full_name; ?><p> <h3 style="margin-left: 150px;">Gender </h3><p><?php echo $gender; ?><p> </div> <div style="display:flex; gap :20px;"> <h3 style="margin-left: 150px;">Date Of Birth </h3><p><?php echo $dob; ?><p> <h3 style="margin-left: 150px;">Age </h3><p><?php echo $age; ?><p> </div> <div style="display:flex; gap :60px;"> <h3 style="margin-left: 150px; ">City </h3><p><?php echo $city; ?><p> <h3 style="margin-left: 150px; ">Pincode </h3><p><?php echo $pincode; ?><p> </div> <div style="display:flex; gap :40px;"> <h3 style="margin-left: 150px;">Address</h3><p><?php echo $address_1; ?><p> <h3 style="margin-left: 150px;">Mobile no </h3><p><?php echo $mobile_1; ?><p> </div> </div> </div> </div> </div>--> <?php endforeach; ?> <?php endif; ?> </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