| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /home/u901718425/public_html/ |
| Current File : /home/u901718425/public_html/profile2.php |
<?php
include("panel/globale.php");
logs($db,'Profile');
if(isset($_SESSION['id'])){
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noindex">
<meta name="iframe" content="framebox">
<meta name="theme-color" content="#1bb566">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" type="svg" href="https://cdn.urbanpillar.in/files/faveicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<link rel="stylesheet" href="/css/theme_home.css?<?=rand()?>">
<link rel="stylesheet" href="/css/compare.css?<?=rand()?>">
<link rel="stylesheet" href="/css/property_card.css?<?=rand()?>">
<link id="googleidentityservice" type="text/css" media="all" rel="stylesheet" href="/widgets/css/gsi.style.css?<?=rand()?>" async>
<link type="text/css" href="/widgets/css/googleidentityservice_button_styles"/>
<script>
let session = <?php echo (isset($_SESSION)?json_encode($_SESSION): "''") ?> ;
let file_cdn = "<?php echo getenv('FILE_CDN');?>";
</script>
<script src="/widgets/js/gsi.client.js?<?=rand()?>" async></script>
<script src="/js/jquery.js?<?=rand()?>"></script>
<script src="/js/globle.js?<?=rand()?>" async></script>
<script src="/js/theme.js?<?=rand()?>" async></script>
<script src="/js/card.js?<?=rand()?>" async></script>
<title>Urbanpillar | Profile</title>
<link rel="stylesheet" href="/css/profile.css?<?=rand()?>">
</head>
<body>
<?php
include("widgets/header.php");
if(isset($_SESSION['temp_id']) ){
echo '<form action="/php/resetsession.php" method="post" id="resets">
<button class="btn m btn-done" id="reset">Back</button></form>';
}
function containsHttp($str) {
return (strpos($str, 'http') !== false) || (strpos($str, 'https') !== false);
}
?>
<div class="messg">
<div class="message"></div>
</div>
<div class="wrap-div">
<div class="prifile-menu">
<div class="profile-image-name">
<form onsubmit="return false" class="profile-image" id="profile-imagechange">
<input type="hidden" name="id" value="<?= (isset($_SESSION['id']) && $_SESSION['id'] !="" ? $_SESSION['id']: '') ?>"/>
<img src="<?= ( isset($_SESSION['image']) && $_SESSION['image'] !="" ? ( containsHttp($_SESSION['image']) ? $_SESSION['image'] : getenv('FILE_CDN').$_SESSION['image'] ) : getenv('FILE_CDN').'files/avatar.png' )?>" class="profile-img">
<input type="file" name="image" id="changeprofile" >
</form>
<?php if(isset($_SESSION['name']) && $_SESSION['name'] !="" ) {
echo '<div class="Profile-name">'.$_SESSION['name'].'</div>
<small class="Profile-email">'.$_SESSION['email'].'</small>';
}else{
echo '<small class="Profile-email">'.$_SESSION['email'].'</small>';
}?>
</div>
<ul>
<li data-page="edit-profile" class="active"><i class="fa-solid fa-pencil fs"></i> <span>Edit Profile</span></li>
<li data-page="saved-properties"><i class="fa-regular fa-heart fs"></i> <span>My Saved Properties</span></li>
<li data-page="compare-properties"><svg class="fs" width="94" height="146" viewBox="0 0 94 146" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M50.3832 33.2712H86.7335V112.729H50.3832V33.2712ZM50.3832 119.571H90.1547C92.0364 119.571 93.576 118.032 93.576 116.15V29.85C93.576 27.9684 92.0364 26.4288 90.1547 26.4288H50.3832V3.42121C50.3832 1.53954 48.8437 0 46.962 0C45.0803 0 43.5408 1.53954 43.5408 3.42121V29.85V142.579C43.5408 144.46 45.0803 146 46.962 146C48.8437 146 50.3832 144.46 50.3832 142.579V119.571ZM29.0007 119.571C30.8823 119.571 32.4219 118.032 32.4219 116.15C32.4219 114.268 30.8823 112.729 29.0007 112.729H7.27601V33.2712H27.7177C29.6849 33.2712 31.1389 31.7317 31.1389 29.85C31.1389 27.9684 29.6849 26.4288 27.7177 26.4288H3.8548C1.97314 26.4288 0.433594 27.9684 0.433594 29.85V116.15C0.433594 118.032 1.97314 119.571 3.8548 119.571H29.0007Z" fill="#373737"></path></svg> <span>Compare Properties</span></li>
<li data-page="saved-search"><i class="fa-solid fa-magnifying-glass fs"></i> <span>Saved Search</span></li>
<li data-page="recent-properties"><span class="material-icons-outlined fs">done_all</span> <span>Recently Viewed Properties</span></li>
<li data-page="comment"><span class="material-icons fs">comment</span><span> Review</span></li>
</ul>
<button class="btn btn-border" id="logout">
<span class="material-icons-outlined">logout</span>
<span>Log Out</span>
<span class="material-icons-outlined">chevron_right</span>
</button>
</div>
<div class="d-flex profile-aside page active" id="edit-profile">
<div class="d-flex profile-edit" >
<h3>Edit Profile</h3>
<button class="btn auto btn-submit" id="profile">Save Changes</button>
</div>
<form onsubmit="return false" class="form-control" id="profile-form">
<input type="hidden" name="id" value="<?= (isset($_SESSION['id']) && $_SESSION['id'] !="" ? $_SESSION['id']: '') ?>"/>
<div class="input-box">
<lable>Name</lable>
<div class="position-relative">
<input type="text" name="name" id="name" value="<?= (isset($_SESSION['name']) && $_SESSION['name'] !="" ? $_SESSION['name']: '') ?>"/>
<div class="right-lable"></div>
</div>
</div>
<div class="input-box">
<lable>Mobile</lable>
<div class="position-relative">
<input type="text" name="mobile" id="mobile" value="<?= (isset($_SESSION['mobile']) && $_SESSION['mobile'] !="" ? $_SESSION['mobile']: '') ?>" disabled/>
<div class="right-lable" data-id="mobile">Update</div>
</div>
</div>
<input type="text" class="otpinput" id="mobileOTP" placeholder="Enter OTP"/>
<div class="input-box">
<lable>Email</lable>
<div class="position-relative">
<input type="email" name="email" id="email" value="<?= (isset($_SESSION['email']) && $_SESSION['email'] !="" ? $_SESSION['email']: '') ?>" disabled/>
<div class="right-lable" data-id="email">Update</div>
</div>
</div>
<input type="text" class="otpinput" id="emailOTP" placeholder="Enter OTP"/>
</form>
</div>
<div class="d-flex profile-aside page" id="saved-search">
<div class="d-flex profile-edit">
<h3>Saved Search</h3>
</div>
<div class="saved-search">
<div class="search-block">
<div class="wrap">
<div class="saved">Buy, Tathavde , 1BHK , 1.25 Cr Max, Independent House</div>
<div class="date">Saved on 28 Dec 2022</div>
</div>
<div class="action-delete">
<i class="fa-regular fa-trash-can"></i>
</div>
</div>
</div>
</div>
<div class="d-flex profile-aside page" id="saved-properties">
<div class="d-flex profile-edit">
<h3>Saved Properties</h3>
</div>
<div class="saved-properties">
</div>
</div>
<div class="d-flex profile-aside page compare-div" id="compare-properties">
<div class="d-flex profile-edit">
<h3>Compare Properties</h3>
</div>
<div id="table">
<div class="table-body">
</div>
</div>
</div>
<div class="d-flex profile-aside page" id="recent-properties">
<div class="d-flex profile-edit">
<h3>Recent Viewed Properties</h3>
</div>
<div class="recent-properties">
<div class="search-block">
<div class="wrap">
<div class="saved">Buy, Tathavde , 1BHK , 1.25 Cr Max, Independent House</div>
<div class="date">Saved on 28 Dec 2022</div>
</div>
<div class="action-delete">
<i class="fa-regular fa-trash-can"></i>
</div>
</div>
</div>
</div>
<div class="d-flex profile-aside page" id="comment">
<div class="d-flex profile-edit" >
<h3>Review</h3>
<button class="btn auto btn-submit" id="commentDetailsSave">Save Review</button>
</div>
<form onsubmit="return false" class="profile-image" id="profile-imagechange">
<input type="hidden" name="id" value="7">
<img src="<?= ( isset($_SESSION['image']) && $_SESSION['image'] !="" ? ( containsHttp($_SESSION['image']) ? $_SESSION['image'] : getenv('FILE_CDN').$_SESSION['image'] ) : getenv('FILE_CDN').'files/avatar.png' )?>" class="profile-img">
<input type="file" name="image" id="changeprofile">
</form>
<form onsubmit="return false" class="form-control" id="commentDetails">
<div class="input-box">
<lable>Name</lable>
<div class="position-relative">
<input type="text" name="name" id="name" value="<?= (isset($_SESSION['name']) && $_SESSION['name'] !="" ? $_SESSION['name']: '') ?>"/>
<div class="right-lable"></div>
</div>
</div>
<div class="input-box">
<lable>Review</lable>
<div class="position-relative">
<textarea name="message" id="message" rows="5" placeholder="express your opinions for the benefit of fellow customers"></textarea>
<div class="right-lable"></div>
</div>
</div>
</form>
<!--<div class="modal fade" id="deleteConfirmation" tabindex="-1" aria-labelledby="Delete Confirmation" aria-hidden="true">-->
<!-- <div class="modal-dialog">-->
<!-- <div class="modal-content">-->
<!-- <div class="modal-header">-->
<!-- <h5 class="modal-title" id="exampleModalLabel">Delete Comment</h5>-->
<!-- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>-->
<!-- </div>-->
<!-- <div class="modal-body">-->
<!-- <div class="d-flex flex-column ">-->
<!-- <p class=" text-secondary ">Are you sure you want to delete comment?.</p>-->
<!-- <h6 id="profile-name" class="text-capitalize"></h6>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="modal-footer">-->
<!-- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>-->
<!-- <button type="button" id="delete-project" id="delete-comment" class="btn btn-danger">Delete</button>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!--</div>-->
</div>
</div>
<script src="/js/signIn.js?<?=rand()?>" defer></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
// This code will be executed after the content has loaded
var script = document.createElement('script');
script.src = '/js/profile.js?<?=rand()?>';
document.head.appendChild(script);
});
</script>
</body>
<?php
}else{
header('location: /404');
}
?>