Server IP : 50.63.8.133 / Your IP : 3.143.223.72 Web Server : Microsoft-IIS/10.0 System : Windows NT P3NWVPWEB032 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : IWPD_10999(xformtec) ( 0) PHP Version : 5.4.45 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : G:/PleskVhosts/xform.in/madhurivivah.com/member/ |
Upload File : |
Current File : G:/PleskVhosts/xform.in/madhurivivah.com/member/dashboard.php |
<?php
error_reporting('0');
session_start();
include('include/config.php');
if (strlen($_SESSION['email']) == 0) {
header('location:login-register.php');
} else {
if (isset($_SESSION['member_profile_id']) && $_SESSION['member_profile_id'] != '') {
$member_profile_id = $_SESSION['member_profile_id'];
$sql = "SELECT * FROM member_profile WHERE member_profile_id='$member_profile_id'";
$res = mysqli_query($con, $sql);
$row = mysqli_fetch_array($res);
// If the user is registered for the first and not created member profile then this code will execute
if (!isset($row)) {
$member_profile_id = $_SESSION['member_profile_id'];
$sql1 = "SELECT * FROM member WHERE member_profile_id='$member_profile_id'";
$res1 = mysqli_query($con, $sql1);
$row1 = mysqli_fetch_array($res1);
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>MADHURI VIVAH SANSTHA</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" type="text/css" href="css/animate.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/line-awesome.css">
<link rel="stylesheet" type="text/css" href="css/line-awesome-font-awesome.min.css">
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/jquery.mCustomScrollbar.min.css">
<link rel="stylesheet" type="text/css" href="lib/slick/slick.css">
<link rel="stylesheet" type="text/css" href="lib/slick/slick-theme.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/responsive.css">
</head>
<body>
<div class="wrapper">
<?php include_once('include/header.php'); ?>
<main>
<div class="main-section">
<div class="container">
<div class="main-section-data">
<div class="row">
<div class="col-lg-3 col-md-4 pd-left-none no-pd">
<div class="main-left-sidebar no-margin">
<div class="user-data full-width">
<div class="user-profile">
<div class="username-dt">
<div class="usr-pic">
<?php
if ($row['profile_photo']) { ?>
<img src="../admin/img/profile-photos/<?php echo $row['profile_photo'] ?>" alt="" style="width:100px;height:100px;">
<?php
} else { ?>
<?php
if ($row['gender'] == 'Male') { ?>
<img src="images/male.jpg" alt="" style="width:100px;height:100px;">
<?php
} else { ?>
<img src="images/female.jpg" alt="" style="width:100px;height:100px;">
<?php
}
?>
<?php
}
?>
</div>
</div>
<div class="user-specs">
<h3>
<?php if (isset($row)) {
echo $row['first_name'];
} else {
echo $row1['first_name'];
} ?>
<?php if (isset($row)) {
echo $row['last_name'];
} else {
echo $row1['last_name'];
} ?>
</h3>
</div>
</div>
<ul class="user-fw-status">
<li>
<a href="member-profile.php" title="">View Profile</a>
</li>
</ul>
</div>
<div class="suggestions full-width">
<div class="sd-title">
<h3>Suggestions</h3>
<i class="la la-ellipsis-v"></i>
</div>
<?php
if ($row['gender'] == 'Male') { ?>
<div class="suggestions-list">
<?php
$query2 = mysqli_query($con, "select member_profile_id,profile_photo,first_name,last_name,age,gender,hieght,cast,education,religion,state
from member_profile where member_profile.status=1 AND gender='Female' order by member_profile.id LIMIT 5 ");
while ($row2 = mysqli_fetch_array($query2)) {
?>
<div class="suggestion-usd">
<?php
if ($row2['profile_photo']) { ?>
<img src="../admin/img/profile-photos/<?php echo $row2['profile_photo'] ?>" alt="" style="width:100px;height:100px;">
<?php
} else { ?>
<?php
if ($row2['gender'] == 'Male') { ?>
<img src="images/male.jpg" alt="" style="width:100px;height:100px;">
<?php
} else { ?>
<img src="images/female.jpg" alt="" style="width:100px;height:100px;">
<?php
}
?>
<?php
}
?>
<div class="sgt-text">
<h4><?php echo htmlentities($row2['first_name']); ?> <?php echo htmlentities($row2['last_name']); ?></h4>
<span><?php echo htmlentities($row2['member_profile_id']); ?></span>
</div>
<button class="btn"> <a href="view-profile.php?viewid=<?php echo htmlentities($row2['member_profile_id']); ?>" title="">View Profile</a></button>
</div>
<?php } ?>
<div class="view-more">
<a href="profiles.php" title="">View More</a>
</div>
</div>
<?php
} else { ?>
<div class="suggestions-list">
<?php
$query3 = mysqli_query($con, "select member_profile_id,profile_photo,first_name,last_name,age,gender,hieght,cast,education,religion,state
from member_profile where member_profile.status=1 AND gender='Male' order by member_profile.id LIMIT 5 ");
while ($row3 = mysqli_fetch_array($query3)) {
?>
<div class="suggestion-usd">
<?php
if ($row3['profile_photo']) { ?>
<img src="../admin/img/profile-photos/<?php echo $row3['profile_photo'] ?>" alt="" style="width:100px;height:100px;">
<?php
} else { ?>
<?php
if ($row3['gender'] == 'Male') { ?>
<img src="images/male.jpg" alt="" style="width:100px;height:100px;">
<?php
} else { ?>
<img src="images/female.jpg" alt="" style="width:100px;height:100px;">
<?php
}
?>
<?php
}
?>
<div class="sgt-text">
<h4><?php echo htmlentities($row3['first_name']); ?> <?php echo htmlentities($row3['last_name']); ?></h4>
<span><?php echo htmlentities($row3['member_profile_id']); ?></span>
</div>
<button class="btn"> <a href="view-profile.php?viewid=<?php echo htmlentities($row3['member_profile_id']); ?>" title="">View Profile</a></button>
</div>
<?php } ?>
<div class="view-more">
<a href="profiles.php" title="">View More</a>
</div>
</div>
<?php
}
?>
</div>
<!-- <div class="widget suggestions full-width">
<div class="sd-title">
<h3>Most Viewed People</h3>
<i class="la la-ellipsis-v"></i>
</div>
<div class="suggestions-list">
<div class="suggestion-usd">
<img src="images/resources/s1.png" alt="">
<div class="sgt-text">
<h4>Jessica William</h4>
<span>Graphic Designer</span>
</div>
<span><i class="la la-plus"></i></span>
</div>
<div class="suggestion-usd">
<img src="images/resources/s2.png" alt="">
<div class="sgt-text">
<h4>John Doe</h4>
<span>PHP Developer</span>
</div>
<span><i class="la la-plus"></i></span>
</div>
<div class="suggestion-usd">
<img src="images/resources/s3.png" alt="">
<div class="sgt-text">
<h4>Poonam</h4>
<span>Wordpress Developer</span>
</div>
<span><i class="la la-plus"></i></span>
</div>
<div class="suggestion-usd">
<img src="images/resources/s4.png" alt="">
<div class="sgt-text">
<h4>Bill Gates</h4>
<span>C & C++ Developer</span>
</div>
<span><i class="la la-plus"></i></span>
</div>
<div class="suggestion-usd">
<img src="images/resources/s5.png" alt="">
<div class="sgt-text">
<h4>Jessica William</h4>
<span>Graphic Designer</span>
</div>
<span><i class="la la-plus"></i></span>
</div>
<div class="suggestion-usd">
<img src="images/resources/s6.png" alt="">
<div class="sgt-text">
<h4>John Doe</h4>
<span>PHP Developer</span>
</div>
<span><i class="la la-plus"></i></span>
</div>
<div class="view-more">
<a href="#" title="">View More</a>
</div>
</div>
</div>-->
</div>
</div>
<div class="col-lg-6 col-md-8 no-pd">
<div class="main-ws-sec">
<div class="posts-section">
<div class="post-bar">
<div class="job_descp">
<h1 style="color:red;font-size: 30px;"> <b>WELCOME TO MADHURI VIVAH </b></h1>
<br>
<p>
माधुरी विवाह संस्थेला मॅचमेकिंगचा चार दशकांचा अनुभव आहे. कंपनीची टीम एक परिपूर्ण जुळणी देण्यासाठी आणि विवाह निश्चित करण्यासाठी खूप मेहनत घेते.
संघ प्रथम श्रेणीतील वैवाहिक सेवा देण्याचा प्रयत्न करतो कारण केवळ प्रस्ताव दाखवणे हे आमचे ध्येय नाही, विवाह यशस्वीपणे निश्चित केले पाहिजेत. <br>
</p>
</div>
</div>
<div class="top-profiles">
<div class="pf-hd">
<h3>Top Profiles</h3>
</div>
<?php
if ($row['gender'] == 'Male') {
?>
<div class="profiles-slider">
<?php
$query = mysqli_query($con, "select member_profile_id,profile_photo,gender,first_name,last_name,age,hieght,cast,education,religion,state,status
from member_profile where member_profile.status=1 AND gender='Female' ");
while ($row = mysqli_fetch_array($query)) {
?>
<div class="user-profy">
<?php
if ($row['profile_photo']) { ?>
<img src="../admin/img/profile-photos/<?php echo $row['profile_photo'] ?>" alt="" style="width:60px;height:60px;">
<?php
} else { ?>
<?php
if ($row['gender'] == 'Male') { ?>
<img src="images/male.jpg" alt="" style="width:60px;height:60px;">
<?php
} else { ?>
<img src="images/female.jpg" alt="" style="width:60px;height:60px;">
<?php
}
?>
<?php
}
?>
<h3><?php echo htmlentities($row['first_name']); ?> <?php echo htmlentities($row['last_name']); ?></h3>
<span> <?php echo htmlentities($row['member_profile_id']); ?></span>
<ul>
<li><a href="#" title="" class="followw">Select Profile</a></li>
</ul>
<a href="view-profile.php?viewid=<?php echo htmlentities($row['member_profile_id']); ?>" title="">View Profile</a>
</div>
<?php } ?>
</div>
<?php
} else {
?>
<div class="profiles-slider">
<?php
$query = mysqli_query($con, "select member_profile_id,profile_photo,gender,first_name,last_name,age,hieght,cast,education,religion,state,status
from member_profile where member_profile.status=1 AND gender='Male' ");
while ($row = mysqli_fetch_array($query)) {
?>
<div class="user-profy">
<?php
if ($row['profile_photo']) { ?>
<img src="../admin/img/profile-photos/<?php echo $row['profile_photo'] ?>" alt="" style="width:60px;height:60px;">
<?php
} else { ?>
<?php
if ($row['gender'] == 'Male') { ?>
<img src="images/male.jpg" alt="" style="width:60px;height:60px;">
<?php
} else { ?>
<img src="images/female.jpg" alt="" style="width:60px;height:60px;">
<?php
}
?>
<?php
}
?>
<h3><?php echo htmlentities($row['first_name']); ?> <?php echo htmlentities($row['last_name']); ?></h3>
<span> <?php echo htmlentities($row['member_profile_id']); ?></span>
<ul>
<li><a href="#" title="" class="followw">Select Profile</a></li>
</ul>
<a href="view-profile.php?viewid=<?php echo htmlentities($row['member_profile_id']); ?>" title="">View Profile</a>
</div>
<?php } ?>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
<div class="col-lg-3 pd-right-none no-pd">
<div class="right-sidebar">
<div class="widget widget-about">
<img src="images/525.jpg" alt="">
<h3>MADHURI VIVAH</h3>
<div class="sign_link">
<h3><a href="logout.php" title="" style="color: #FF0000 ;">logout</a></h3>
</div>
<div class="sign_link">
<?php if ($row['membership'] == 0) { ?>
<h3><a href="#" title="" style="color: red">Membership Not Activated
<?php } else { ?>
<h3><a href="#" title="" style="color: #06A654;">Membership Activated </a></h3>
<?php } ?>
</div>
</div>
<div class="widget widget-jobs">
<div class="sd-title">
<h3>Your Membership Details</h3>
<i class="la la-ellipsis-v"></i>
</div>
<div class="jobs-list">
<div class="job-info">
<div class="job-details">
<h3>Name Of Membership Plan </h3>
<p style="color:red;">(Without Membership User)</p>
<h3>Plan Price :-- <span>Null</span> </h3>
<h3>Duration :-- <span>Null</span> </h3>
<h3>Purchasing Date :-- <span>Null</span> </h3>
<h3>Expiry Date :-- <span>Null</span> </h3>
</div>
</div>
</div>
</div>
<!-- <div class="widget widget-jobs">
<div class="sd-title">
<h3>Most Viewed This Week</h3>
<i class="la la-ellipsis-v"></i>
</div>
<div class="jobs-list">
<div class="job-info">
<div class="job-details">
<h3>Senior Product Designer</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit..</p>
</div>
<div class="hr-rate">
<span>$25/hr</span>
</div>
</div>
<div class="job-info">
<div class="job-details">
<h3>Senior UI / UX Designer</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit..</p>
</div>
<div class="hr-rate">
<span>$25/hr</span>
</div>
</div>
<div class="job-info">
<div class="job-details">
<h3>Junior Seo Designer</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit..</p>
</div>
<div class="hr-rate">
<span>$25/hr</span>
</div>
</div>
</div>
</div>-->
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<?php include_once('include/footer.php'); ?>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/popper.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery.mCustomScrollbar.js"></script>
<script type="text/javascript" src="lib/slick/slick.min.js"></script>
<script type="text/javascript" src="js/scrollbar.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>
<?php } ?>