Server IP : 103.53.40.154 / Your IP : 18.222.166.127 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/activesports.co.in/../umrahguide.in/../.cphorde/../vivahmilankendra.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?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>SweetHeartMetrimony</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"> <link rel="stylesheet" href="<?=SITE_WS_PATH?>/css/font-awesome/css/font-awesome.min.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 include("site-header-login.php");?> <!---button---> <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" /> <nav class="navd_1"> <label class="msg-box" for="profile">Received</label> <label class="msg-box" for="settings">Sent</label> </nav> <article class='uno'> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padd" id="received-load-area"> <?php $sql="SELECT * FROM tbl_registration AS r INNER JOIN tbl_msg_box AS mb ON r.reg_id=mb.msg_from_mem_id WHERE r.reg_status='Active' AND mb.msg_to_mem_id='$userDATA[reg_id]' AND (mb.msg_status='Pending' OR mb.msg_status='PendingAgain') ORDER BY reminder_counter desc"; $dataMemberRecieved=db_query($sql); $countMemberRecieved=mysqli_num_rows($dataMemberRecieved); if($countMemberRecieved){ while($recMemberRecieved=mysqli_fetch_array($dataMemberRecieved)){ ?> <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=<?=$recMemberRecieved['reg_id']?>&receiver=<?=$userDATA[reg_id]?>"><?=$recMemberRecieved['reg_name']?> <span class="spn-sty1">(<?="R".$recMemberRecieved['reg_id']?>)</span></a></h2> </div> <div class="col-lg-4 col-md-4 col-sm-5 col-xs-5 text-rig-inbo"> <?php $waiting_time= $recMemberRecieved['msg_req_sent_date']." ".$recMemberRecieved['msg_req_sent_time']; ?> <span class="spn-sty"><?=time_elapsed_string($waiting_time)?></span> <a href="Javascript:void(0)" onClick="change_status('<?=$recMemberRecieved['msg_id']?>','Received-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=$recMemberRecieved['reg_profile_photo']; if(empty($check_photo) && $recMemberRecieved['reg_gender']=="Female"){?> <img src="<?=SITE_WS_PATH?>/images/1.ico" class="img-inbox"> <?php }else if(empty($check_photo) && $recMemberRecieved['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/<?=$recMemberRecieved['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 : <?=$recMemberRecieved['reg_age']?> Yrs | Height : <?=$recMemberRecieved['reg_height']?> | Sect : <?=$recMemberRecieved['reg_cast']?> | Division : <?=$recMemberRecieved['reg_religion']?> - <?=$recMemberRecieved['reg_sub_cast']?> | Location : <?=$recMemberRecieved['reg_city']?>, <?=$recMemberRecieved['reg_state_name']?>, <?=$recMemberRecieved['reg_country_name']?> | Education : <?=$recMemberRecieved['reg_highest_edu']?> | Occupation : <?=$recMemberRecieved['reg_occupation']?> </p> <div class="clearfix"></div> <!--<p>I like your profile and I want to get in touch with you. Please accept if interested.</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($recMemberRecieved['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=<?=$recMemberRecieved['reg_id']?>&receiver=<?=$userDATA[reg_id]?>" class="f-btn"> Full Profile</a></div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 btn-gryes"><a href="Javascript:void(0)" onClick="change_status('<?=$recMemberRecieved['msg_id']?>','Accepted')" class="a-btn">Accept</a></div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 btn-gryes"><a href="Javascript:void(0)" onClick="change_status('<?=$recMemberRecieved['msg_id']?>','Declined')" class="d-btn">Decline</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="pending-load-area"> <?php $sql="SELECT * FROM tbl_registration AS r INNER JOIN tbl_msg_box AS mb ON r.reg_id=mb.msg_to_mem_id WHERE r.reg_status='Active' AND mb.msg_from_mem_id='$userDATA[reg_id]' AND (mb.msg_status='Pending' OR mb.msg_status='PendingAgain')"; $dataMember=db_query($sql); $countMember=mysqli_num_rows($dataMember); if($countMember){ while($recMember=mysqli_fetch_array($dataMember)){ ?> <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=<?=$recMember['reg_id']?>"><?=$recMember['reg_name']?> <span class="spn-sty1">(<?="R".$recMember['reg_id']?>)</span></a></h2> </div> <div class="col-lg-4 col-md-4 col-sm-5 col-xs-5 text-rig-inbo"> <?php $waiting_time= $recMember['msg_req_sent_date']." ".$recMember['msg_req_sent_time']; ?> <span class="spn-sty"><?=time_elapsed_string($waiting_time)?></span> <a href="Javascript:void(0)" onClick="change_status('<?=$recMember['msg_id']?>','Pending-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=$recMember['reg_profile_photo']; if(empty($check_photo) && $recMember['reg_gender']=="Female"){?> <img src="<?=SITE_WS_PATH?>/images/1.ico" class="img-inbox"> <?php }else if(empty($check_photo) && $recMember['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/<?=$recMember['reg_profile_photo']?>" class="img-inbox"> <?php }?> </div></div> <div class="col-lg-10 col-md-10 col-sm-12 col-xs-12 mp-btm1 mp_0bx"> Age : <?=$recMember['reg_age']?> Yrs | Height : <?=$recMember['reg_height']?> | Sect : <?=$recMember['reg_cast']?> | Division : <?=$recMember['reg_religion']?> - <?=$recMember['reg_sub_cast']?> | Location : <?=$recMember['reg_city']?>, <?=$recMember['reg_state_name']?>, <?=$recMember['reg_country_name']?> | Education : <?=$recMember['reg_highest_edu']?> | Occupation : <?=$recMember['reg_occupation']?> <div class="clearfix"></div> <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($recMember['reg_last_login']))?></a></p> <a target="_blank" href="other-profile.php?mem=<?=$recMember['reg_id']?>" class="btn-ace-pro">View Full Profile</a> <a href="Javascript:void(0)" onClick="change_status('<?=$recMember['msg_id']?>','Cancelled')" class="btn-decl-box">Cancel</a> </div> <!--<div class="col-md-2"> <div class="clearfix"></div> <div class="col-md-12 btn-gryes mp-top2"><a href="#">Send Mail</a></div> <div class="col-md-12 btn-gryes"><a href="#">View Contact</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> </article> </section> </div> </div> </div> </div> </section> <!--Main Footer--> <?php include("site-footer.php"); ?> </div> <!-------register-----> <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=="Pending-Delete"){ $("#pending-load-area").html(data); document.getElementById('action-msg').innerHTML='Selected request is deleted.'; } if(act=="Cancelled"){ $("#pending-load-area").html(data); document.getElementById('action-msg').innerHTML='Selected request is cancelled'; } if(act=="Received-Delete"){ $("#received-load-area").html(data); document.getElementById('action-msg').innerHTML='Selected request is deleted'; } if(act=="Accepted"){ $("#received-load-area").html(data); document.getElementById('action-msg').innerHTML='Selected request is acceped'; } if(act=="Declined"){ $("#received-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.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>