MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.135.205.26
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/vivahmilankendra.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/vivahmilankendra.com/shortlisted-profile.php
<?php require_once("includes/dbsmain.inc.php");?>
<?php include("site-main-query.php");
if(empty($_SESSION['userLoginId'])){
  header("location:index.html");  
}
$check_user=db_scalar("select reg_id from tbl_registration where reg_id='$_SESSION[userLoginId]' ");
$check_user_status=db_scalar("select reg_status from tbl_registration where reg_id='$_SESSION[userLoginId]' ");
if(empty($check_user) || $check_user_status=="Inactive"){
    unset($_SESSION['userLoginId'],$_SESSION['userLoginName']);
    session_destroy();
    header("location:index.php");
    exit;
}
?>
<!doctype html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>Sweetheart Metrimony</title>
<meta name="robots" content="index, follow" />
<!-- Stylesheets -->
<link href="<?=SITE_WS_PATH?>/css/bootstrap.min.css" rel="stylesheet">
<link href="<?=SITE_WS_PATH?>/css/style.css" rel="stylesheet">
<link href="<?=SITE_WS_PATH?>/css/style1.css" rel="stylesheet">
<!--------->
<link href="<?=SITE_WS_PATH?>/css/responsive.css" rel="stylesheet">
<link href="<?=SITE_WS_PATH?>/css/style-res-nav.css" rel="stylesheet">
<link rel="stylesheet" href="<?=SITE_WS_PATH?>/css/style-client.css">
<link href="<?=SITE_WS_PATH?>/css/style-res-nav.css" rel="stylesheet">
<link href="<?=SITE_WS_PATH?>/css/jPushMenu.css" rel="stylesheet">
<link href="<?=SITE_WS_PATH?>/css/jquery.fancybox.css" rel="stylesheet">
<!---------------->
<link rel="stylesheet" href="<?=SITE_WS_PATH?>/css/style-customizer-rgt.css"/>
<!---social----->
<link rel="stylesheet" href="<?=SITE_WS_PATH?>/css/style-social-1.css">
<link rel="stylesheet" href="<?=SITE_WS_PATH?>/css/font-awesome/css/font-awesome.min.css">
<link href="<?=SITE_WS_PATH?>/css/collapsible1.css" rel="stylesheet" type="text/css">
<!---button--->
  <style>
.btn-gryes a{display:block; background-color:#f1f1f2; color:#000; font-size:14px; padding:0px 2px; border:solid 1px #eaeaeb; text-align:center;  /*width:99%; */transition:all 1.5s;}
.btn-gryes a:hover{background-color:#fff; border:solid 1px #000; color:#000; transition:all 1.5s;}
.btn-gryes{margin:5px 5px 5px 0px; padding:0px; /*width:49%;*/}  
 </style>
 <!------------>

</head>
<body id="amitabh">
<div class="page-wrapper">
  <div class="preloader"></div>
  <?php 
if($_SESSION['userLoginId']==""){
include("site-header.php");
}else{
include("site-header-login.php");	
}
?> 

  <section style="background-color:#f1f1f2;">
    <div class="container">
      <div class="row">
        <div class="col-lg-11 col-md-11 col-sm-12 col-xs-12 all-sec">
      <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12 mp-iboxd20"> <h4 class="hdg-box"><img src="images/inbox.png" class="box-img"> Inbox</h4>
            <div>
  <?php include("inbox-links.php");?>
  

          </div>
      <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 addv" style="margin-top:20px;">
        <img src="images/marr-banner1.png">
        </div>
      <!----------->
    </div>
      <!---end-images--->
      <div class="col-lg-9 col-md-9 col-sm-12 col-xs-12 mp_db_00">
<section class="sec-bg">
<input type="radio" id="profile" value="s" name="tractor" checked='checked' />    
<input type="radio" id="settings" value="2" name="tractor" /> 

<?php
$viewCount=db_scalar("SELECT COUNT(*) FROM tbl_shortlist WHERE sl_mem='$userDATA[reg_id]'");
$viewCount2=db_scalar("SELECT COUNT(*) FROM tbl_shortlist WHERE sl_by='$userDATA[reg_id]'");
?>  
  
  <nav class="navd_1">   
  <label class="msg-box" for="profile">Shortlisted My Profile (<?=$viewCount?>)</label>
<label class="msg-box" for="settings">Shortlisted Profile By Me (<?=$viewCount2?>)</label>
  </nav>
  
  <article class='uno'>


<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padd" id="accepted-by-me-load-area">

<?php
$sql="SELECT * FROM tbl_shortlist WHERE sl_mem='$userDATA[reg_id]'";
$dataMemberAccepted=db_query($sql);
$countMemberAccepted=mysqli_num_rows($dataMemberAccepted);
if($countMemberAccepted>0){
while($recViewed=mysqli_fetch_array($dataMemberAccepted)){	

$sql="SELECT * FROM tbl_registration WHERE reg_id='$recViewed[sl_by]' ";
$dataView=db_query($sql);
$recView=mysqli_fetch_array($dataView);
?>  
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mp_1d"> 
   <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 pd-0">
   <div class="col-lg-8 col-md-8 col-sm-7 col-xs-7" style="margin:0px; padding:0px;">
   <h2 class="nm-acep"><a target="_blank" href="other-profile.php?mem=<?=$recView['reg_id']?>">(R<?=$recView['reg_id']?>) </a></h2>
   </div>
   <div class="col-lg-4 col-md-4 col-sm-5 col-xs-5 text-rig-inbo">
<!--<span class="spn-sty">Waiting for 9 days</span>
   <a href="#" title="Cancelled" class="cancl-btn-sty">
   <i class="fa fa-times"></i>
   </a>-->
   </div>
 </div>
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12 mp_bx_rt text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-center mp-inbox">
          <?php 
        $check_photo=$recView['reg_profile_photo'];
        if(empty($check_photo) && $recView['reg_gender']=="Female"){?>
        <img src="<?=SITE_WS_PATH?>/images/1.ico" class="img-inbox">
       <?php }else if(empty($check_photo) && $recView['reg_gender']=="Male"){?>
        <img src="<?=SITE_WS_PATH?>/images/2.png" class="img-inbox">
       <?php }else if(!empty($check_photo)){?>
 <img src="<?=SITE_WS_PATH?>/upload_images/<?=$recView['reg_profile_photo']?>" class="img-inbox">
       <?php }?>
 
 </div></div>

  <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 mp-btm1 mp_0bx">
  
         <p>Age : <?=$recView['reg_age']?> Yrs | Height : <?=$recView['reg_height']?> | Sect : <?=$recView['reg_cast']?> | Division : <?=$recView['reg_religion']?> - <?=$recView['reg_preference_sub_cast']?> | Location : <?=$recView['reg_city']?>, <?=$recView['reg_state_name']?>, <?=$recView['reg_country_name']?> | Education : <?=$recView['reg_highest_edu']?> | Occupation : <?=$recView['reg_occupation']?></p>
       <div class="clearfix"></div>
        
       <p><?=substr($recView['reg_mem_myself'],0,100)?></p>
       <p class="mp_0bx">
   <a style="cursor:default" href="javascript:void(0)" class="molcht onl-sty">
   <i class="fa fa-commenting-o" aria-hidden="true"></i> Last Online <?=date("d-M-Y",strtotime($recView['reg_last_login']))?></a></p>
       
    
          </div>
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12 pdg_1">
<div class="clearfix"></div>

              <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 btn-gryes mp-top2"><a target="_blank" href="other-profile.php?mem=<?=$recView['reg_id']?>" class="f-btn"> Full Profile</a></div>
           <!-- <div class="col-md-12 btn-gryes"><a href="#" class="a-btn">Accept</a></div>
             <div class="col-md-12 btn-gryes"><a href="#" class="d-btn">Declined</a></div>-->
               
         </div>
  </div>
<?php
}
}else{
?>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mp_1d text-center text-danger"> No record(s) found.</div>
<?php
}
?>


</div>  
  
  
  
  
  
  
<!--<div class="col-md-12 next-prv1 text-right ">
<p>1 2 3 4 5 6 7 of 100 <a href="#"><i class="fa fa-caret-square-o-left"></i> </a> <a href="#"><i class="fa fa-caret-square-o-right"></i> </a>
 </div>-->
   
  </article>
  
<article class='dos'>

<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padd" id="accepted-by-other-load-area">

<?php
$sql="SELECT * FROM tbl_shortlist WHERE sl_by='$userDATA[reg_id]'";
$dataMemberAccepted=db_query($sql);
$countMemberAccepted=mysqli_num_rows($dataMemberAccepted);
if($countMemberAccepted>0){
while($recViewed=mysqli_fetch_array($dataMemberAccepted)){	

$sql="SELECT * FROM tbl_registration WHERE reg_id='$recViewed[sl_mem]' ";
$dataView=db_query($sql);
$recView=mysqli_fetch_array($dataView);
?>  
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mp_1d"> 
   <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 pd-0">
   <div class="col-lg-8 col-md-8 col-sm-7 col-xs-7" style="margin:0px; padding:0px;">
   <h2 class="nm-acep"><a target="_blank" href="other-profile.php?mem=<?=$recView['reg_id']?>">(R<?=$recView['reg_id']?>) </a></h2>
   </div>
   <div class="col-lg-4 col-md-4 col-sm-5 col-xs-5 text-rig-inbo">
<?php
$waiting_time= $recViewed['sl_date'];?>       
<span class="spn-sty"><?=time_elapsed_string($waiting_time)?></span>
<a href="Javascript:void(0)" onClick="change_status('<?=$recViewed['sl_id']?>','Shortlisted-Delete')" title="Delete" class="cancl-btn-sty">
<i class="fa fa-times"></i>
</a>
   </div>
 </div>
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12 mp_bx_rt text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-center mp-inbox">
          <?php 
        $check_photo=$recView['reg_profile_photo'];
        if(empty($check_photo) && $recView['reg_gender']=="Female"){?>
        <img src="<?=SITE_WS_PATH?>/images/1.ico" class="img-inbox">
       <?php }else if(empty($check_photo) && $recView['reg_gender']=="Male"){?>
        <img src="<?=SITE_WS_PATH?>/images/2.png" class="img-inbox">
       <?php }else if(!empty($check_photo)){?>
 <img src="<?=SITE_WS_PATH?>/upload_images/<?=$recView['reg_profile_photo']?>" class="img-inbox">
       <?php }?>
 
 </div></div>

  <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 mp-btm1 mp_0bx">
  
         <p>Age : <?=$recView['reg_age']?> Yrs | Height : <?=$recView['reg_height']?> | Sect : <?=$recView['reg_cast']?> | Division : <?=$recView['reg_religion']?> - <?=$recView['reg_preference_sub_cast']?> | Location : <?=$recView['reg_city']?>, <?=$recView['reg_state_name']?>, <?=$recView['reg_country_name']?> | Education : <?=$recView['reg_highest_edu']?> | Occupation : <?=$recView['reg_occupation']?></p>
       <div class="clearfix"></div>
        
       <p><?=substr($recView['reg_mem_myself'],0,100)?></p>
       <p class="mp_0bx">
   <a href="#" class="molcht onl-sty">
   <i class="fa fa-commenting-o" aria-hidden="true"></i> Last Online <?=date("d-M-Y",strtotime($recView['reg_last_login']))?></a></p>
       
    
          </div>
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12 pdg_1">
<div class="clearfix"></div>

              <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 btn-gryes mp-top2"><a href="other-profile.php?mem=<?=$recView['reg_id']?>" class="f-btn"> Full Profile</a></div>
            
               
         </div>
  </div>
<?php
}
}else{
?>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mp_1d text-center text-danger"> No record(s) found.</div>
<?php
}
?>


</div>



<!--<div class="col-md-12 next-prv1 text-right ">
<p>1 2 3 4 5 6 7 of 100 <a href="#"><i class="fa fa-caret-square-o-left"></i> </a> <a href="#"><i class="fa fa-caret-square-o-right"></i> </a>
</div>-->
</article>
</section>
    </div> 
    </div>
    </div>
    </div>
</section> 
  <!--Main Footer-->
<?php include("site-footer.php"); ?>
<script src="<?=SITE_WS_PATH?>/js/jquery-latest.js"></script>
<script>
function change_status(msgID,act){

$(document).ready(function(e) {
//alert(memID)
$.ajax({
	
url: "member-change-status.php?msgID="+msgID+"&act="+act,
type: "POST",
contentType: false,
processData:false,
success: function(data){

if(data!=0){

if(act=="Shortlisted-Delete"){
$("#accepted-by-other-load-area").html(data);	
document.getElementById('action-msg').innerHTML='Selected request is deleted.';		
}

if(act=="Declined"){
$("#accepted-by-other-load-area").html(data);		
document.getElementById('action-msg').innerHTML='Selected request is declined';		
}


document.getElementById('for-update-popup').click();
setTimeout(function() { document.getElementById('close-popup').click();}, 1000);
	

}else{
alert('Unable to sent request now, try again later.');	
}

},
error: function(){} 	        	   
	
});
    
});

}
</script>
<script src="<?=SITE_WS_PATH?>/js/bootstrap.min.js"></script>
<script src="<?=SITE_WS_PATH?>/js/script.js"></script>
<script src="<?=SITE_WS_PATH?>/js/menuzord.js"></script>
<script src="<?=SITE_WS_PATH?>/js/jPushMenu.js"></script>
<script src="<?=SITE_WS_PATH?>/js/owl.js"></script>
<!-- validate -->
<script src="<?=SITE_WS_PATH?>/js/customcollection.js"></script>
<script src="<?=SITE_WS_PATH?>/js/custom1.js"></script>
<!-------------->
<!--<script src="http://code.jquery.com/jquery-1.12.3.min.js"></script> -->
<script src="<?=SITE_WS_PATH?>/js/jquery.collapsible.js"></script> 
<!-----left-accordian--------->
<script src="http://code.jquery.com/jquery-1.12.3.min.js"></script> 
<script src="<?=SITE_WS_PATH?>/js/jquery.collapsible-normal.js"></script> 
<script>
$('#collapse-menu').collapsible({
  contentOpen:["0","1"]
});
</script>

<!----slider------------->
 <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
 <script language="javascript" src="<?=SITE_WS_PATH?>/js/index-tab.js"></script>
 </body>
</html>
<a data-toggle="modal" data-target="#update-popup" id="for-update-popup"></a>
<div class="modal fade" id="update-popup" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content" id="update-popup-box">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fa fa-times-circle" aria-hidden="true" id="close-popup"></i>

</button>
      <div class="modal-header" style="border-bottom:none">
        <h4 class="modal-title text-center"> <span id="action-msg"></span>.</h4>
      </div>
      
      
      
   
    </div>
  </div>
</div>

MMCT - 2023