Server IP : 103.53.40.154 / Your IP : 18.222.56.71 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 ] |
---|
<?php require_once("includes/dbsmain.inc.php");?> <?php include("site-main-query.php") ?> <!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"> <!--------pie-chart-----skill------> <link rel="stylesheet" href="<?=SITE_WS_PATH?>/css/progress-circle.css"> <!-----> </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"); } ?> <!---button---> <style> .my-pro img{width:100%; border:solid 1px #efefef; border:solid 1px #ccc; height:311px !important;} .active:after { content: "";} a.membership_title { font-size: 22px; font-weight: 600; } span.membership_tag_line { font-size: 14px; font-weight: 600; color: #000; text-shadow: 1px 1px 1px #ffffff80; } .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover { color: #fff; cursor: default; background-color: #03c1ed; border: 1px solid #03c1ed; border-bottom-color: transparent; } .membership-detail-inner { /***background: #fff;***/ margin: 0 0 19px 0; /***** border: outset thin #fff;****/ padding: 33px 0 12px 0; /***border-bottom: solid 1px #ccc;***/ } .detail-first { font-size: 22px; font-weight: 500; color: #000; text-align: center; } .detail-second { color: #1da1f2; font-size: 14px; text-align: -webkit-center; } .detail-third { color: #000; font-size: 26px; text-align: center; } .detail-third p{ color: #333; font-size: 13px; text-align: center; } .membership-name { background: #03c1ed; color: #fff; text-align: left; padding: 0 0 0 6px; border-bottom: solid 1px #ccc; } .membership-name { background: #03c1ed; color: #fff; text-align: left; padding: 12px 0px 12px 6px; font-size: 22px; } div#benefit-load-area { background: ##f3f2f2bf; border:solid 1px #ccc; box-shadow: 1px 1px 10px #ccc; padding: 0; margin:5px 0 0 0; } ul.membership-benefit-list { margin: 15px 0 25px 0; } ul.membership-benefit-list li { margin: 0px 0 10px 0; font-size: 15px; color: #00000096; } li.benefit-no { text-decoration: line-through; } p.lbl-popular { background-color: #FF9800; color: #fff; width: 100px; border-radius: 20px; font-weight: 600; } div#btn-pay { background: #06920c; color: #fff; font-size: 14px; border-radius: 32px; padding: 12px 0; box-shadow:1px 1px 10px #efefef; } .membership-detail.membership-detail-inner{ cursor:pointer; } /****.membership-detail.membership-detail-inner.active-membership { background: #2d2d2d30; }****/ div#membership-top-div { background-color: #f3f2f2bf; /*** padding: 10px 15px 10px 15px;****/ color: #000; margin: 0 0 24px 0; /***text-shadow: 1px 1px 1px #FF5722;*****/ border-radius: 5px; vertical-align: middle; } div#membership-top-div p { float: left; font-size:24px; position: relative; top: 2px; } .nav-tabs>li { float:none; margin-bottom: -1px; } </style> <section style="background-color:#f1f1f2;"> <div class="container" style="background-color:#ffff; border:solid 1px #ccc;"> <div class="row"> <div class="col-md-12 all-sec"> <div class="col-sm-8"> <div class="col-sm-12" id="membership-top-div"><p>Get A Instant Discount Now !</p> <button class="btn btn-danger pull-right bold" style="margin: 7px 0 0 0; color: #fff; background-color:#01a286; box-shadow:1px 1px 2px #fff; border:solid 1px #01a286;">Compare Plan</button> </div> <?php $sql="SELECT * FROM tbl_membership WHERE mem_status='Active'"; $dataMembership=db_query($sql); $countMembership=mysqli_num_rows($dataMembership); if($countMembership){ $tc=1; ?> <style type=""> .bg-styupg{border:solid 1px #ccc; margin:0px; padding: 0px; height:224px; background-color:#efefef;} </style> <div class="col-md-4 bg-styupg"> <ul class="nav nav-tabs"> <?php while($recMembership=mysqli_fetch_array($dataMembership)){?> <li <?php if($tc==1){?> class="active" <?php }?> > <a class="membership_title" onClick="fetch_benefits('<?=$recMembership['mem_id']?>')" data-toggle="tab" href="#<?=$recMembership['mem_id']?>"><?=$recMembership['mem_name']?> <span class="membership_tag_line"><?=$recMembership['mem_tag_line']?></span></a> </li> <?php $tc++; } ?> </ul> </div> <div class="col-md-8 bg-styupg"> <div class="tab-content"> <?php $sql="SELECT * FROM tbl_membership WHERE mem_status='Active'"; $dataMembershipInner=db_query($sql); $countMembershipInner=mysqli_num_rows($dataMembershipInner); if($countMembershipInner){ $cc=1; while($recMembershipInner=mysqli_fetch_array($dataMembershipInner)){ ?> <div id="<?=$recMembershipInner['mem_id']?>" class="tab-pane fade <?php if($cc==1){?> in active<?php }?>"> <?php $sql="SELECT * FROM tbl_membership_detail WHERE md_mem_id='$recMembershipInner[mem_id]' AND md_status='Active'"; $dataMembershipDetail=db_query($sql); $countMembershipDetail=mysqli_num_rows($dataMembershipDetail); if($countMembershipDetail){ $md=1; while($recMembershipDetail=mysqli_fetch_array($dataMembershipDetail)){ ?> <div id="select_<?=$recMembershipDetail['md_id']?>" class="col-sm-12 membership-detail membership-detail-inner <?php if($countMembershipDetail==$md){?>active-membership<?php }?>" onClick="select_membership('<?=$recMembershipDetail['md_id']?>','<?=$recMembershipDetail['md_mem_id']?>')" > <div class="col-sm-4 detail-first"><i class="fa fa-calendar" aria-hidden="true"></i> <?=$recMembershipDetail['md_duration']?> <?=$recMembershipDetail['md_duration_type']?></div> <div class="col-sm-4 detail-second"> <?=$recMembershipDetail['md_tag_line']?> <?php if($recMembershipDetail['md_is_popular']=="Yes"){?><p class="lbl-popular">Popular</p><?php }?> </div> <div class="col-sm-4 detail-third"> <i class="fa fa-inr"></i> <?=$recMembershipDetail['md_price']?> <p><i class="fa fa-inr"></i> <?=ceil($recMembershipDetail['md_price']/$recMembershipDetail['md_duration'])?>/<?=strtolower($recMembershipDetail['md_duration_type'])?> </p> </div> </div> <?php $md++; } } ?> </div> <?php $cc++; } ?> </div> <?php } } ?> </div> </div> <!-------------======================----------> <div class="col-sm-4"> <div class="col-sm-12" id="benefit-load-area"> <?php $sql="SELECT mem_id FROM tbl_membership WHERE mem_status='Active' ORDER BY mem_id ASC LIMIT 1"; $memid=db_scalar($sql); $memshipName=db_scalar("SELECT mem_name FROM tbl_membership WHERE mem_id='$memid'"); #PRICE $memshipPrice=db_scalar("SELECT md_price FROM tbl_membership_detail WHERE md_mem_id='$memid' ORDER BY md_price DESC LIMIT 1"); ?> <div class="col-sm-12 membership-name"><?=$memshipName?> Benefits</div> <div class="clearfix"></div> <?php $sql="SELECT * FROM tbl_membership_benefit WHERE b_status='Active' AND b_mem_id='$memid'"; $dataBenefits=db_query($sql); $countBenefits=mysqli_num_rows($dataBenefits); if($countBenefits){ ?> <ul class="membership-benefit-list"> <? while($recBenefits=mysqli_fetch_array($dataBenefits)){ ?> <li <?php if($recBenefits['b_is_ok']=="No"){?> class="benefit-no"<?php }?> > <?php if($recBenefits['b_is_ok']=="Yes"){?> <i class="fa fa-check mr5 ml5" aria-hidden="true"></i> <?php }else{?> <i class="fa fa-times mr5 ml5" aria-hidden="true"></i> <?php }?> <?=$recBenefits['b_description']?> </li> <?php } ?> </ul> <?php } ?> <div class="col-sm-6 col-md-offset-3 btn btn-default" id="btn-pay"><i class="fa fa-inr"></i> <?=$memshipPrice?> | Upgrade</div> </div> </div> </div> </div> </div> </section> <?php include("site-footer.php"); ?> <!-------register-----> <script src="<?=SITE_WS_PATH?>/js/jquery-latest.js"></script> <script> $(document).ready(function(e) { //////// CONTACT DETAIL EDIT START ///////// $("#edit-btn").on("click",function(){ $("#contact-detail").hide("fast"); $("#contact-detail-edit").show("fast"); $("#edit-btn").hide("fast"); $("#save-btn").show("fast"); }); $("#edit-contact-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#contact-detail').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#contact-detail-edit").hide("fast"); $("#edit-btn").show("fast"); $("#save-btn").hide("fast"); }, error: function(){} }); })); //}); //////// CONTACT DETAIL EDIT END ///////// //////// MEMBER MYSELF EDIT START ///////// $("#edit-btn-myself").on("click",function(){ $("#member-myself").hide("fast"); $("#member-myself-edit").show("fast"); $("#edit-btn-myself").hide("fast"); $("#save-btn-myself").show("fast"); }); $("#edit-member-myself-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-myself').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-myself-edit").hide("fast"); $("#edit-btn-myself").show("fast"); $("#save-btn-myself").hide("fast"); }, error: function(){} }); })); //}); //////// MEMBER MYSELF EDIT END ///////// //////// MEMBER BASIC EDIT START ///////// $("#edit-btn-basic").on("click",function(){ $("#member-basic-detail").hide("fast"); $("#member-basic-detail-edit").show("fast"); $("#edit-btn-basic").hide("fast"); $("#save-btn-basic").show("fast"); }); $("#edit-member-basic-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-basic-detail').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-basic-detail-edit").hide("fast"); $("#edit-btn-basic").show("fast"); $("#save-btn-basic").hide("fast"); }, error: function(){} }); })); //}); //////// MEMBER BASIC EDIT END ///////// //////// MEMBER LOCATION EDIT START ///////// $("#edit-btn-location").on("click",function(){ $("#member-location").hide("fast"); $("#member-location-edit").show("fast"); $("#edit-btn-location").hide("fast"); $("#save-btn-location").show("fast"); }); $("#edit-member-location-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-location').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-location-edit").hide("fast"); $("#edit-btn-location").show("fast"); $("#save-btn-location").hide("fast"); }, error: function(){} }); })); //}); //////// MEMBER LOCATION EDIT END ///////// //////// MEMBER FAMILY EDIT START ///////// $("#edit-btn-family").on("click",function(){ $("#member-family").hide("fast"); $("#member-family-edit").show("fast"); $("#edit-btn-family").hide("fast"); $("#save-btn-family").show("fast"); }); $("#edit-member-family-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-family').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-family-edit").hide("fast"); $("#edit-btn-family").show("fast"); $("#save-btn-family").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER FAMILY EDIT END ///////// //////// MEMBER EDUCATION EDIT START ///////// $("#edit-btn-edu").on("click",function(){ $("#member-edu").hide("fast"); $("#member-edu-edit").show("fast"); $("#edit-btn-edu").hide("fast"); $("#save-btn-edu").show("fast"); }); $("#edit-member-edu-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-edu').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-edu-edit").hide("fast"); $("#edit-btn-edu").show("fast"); $("#save-btn-edu").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER EDUCATION EDIT END ///////// //////// MEMBER RELIGION EDIT START ///////// $("#edit-btn-religion").on("click",function(){ $("#member-religion").hide("fast"); $("#member-religion-edit").show("fast"); $("#edit-btn-religion").hide("fast"); $("#save-btn-religion").show("fast"); }); $("#edit-member-religion-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-religion').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-religion-edit").hide("fast"); $("#edit-btn-religion").show("fast"); $("#save-btn-religion").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER RELIGION EDIT END ///////// //////// MEMBER LIFESTYLE EDIT START ///////// $("#edit-btn-lifestyle").on("click",function(){ $("#member-lifestyle").hide("fast"); $("#member-lifestyle-edit").show("fast"); $("#edit-btn-lifestyle").hide("fast"); $("#save-btn-lifestyle").show("fast"); }); $("#edit-member-lifestyle-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-lifestyle').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-lifestyle-edit").hide("fast"); $("#edit-btn-lifestyle").show("fast"); $("#save-btn-lifestyle").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER LIFESTYLE EDIT END ///////// //////// MEMBER LIKE EDIT START ///////// $("#edit-btn-like").on("click",function(){ $("#member-like").hide("fast"); $("#member-like-edit").show("fast"); $("#edit-btn-like").hide("fast"); $("#save-btn-like").show("fast"); }); $("#edit-member-like-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-like').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-like-edit").hide("fast"); $("#edit-btn-like").show("fast"); $("#save-btn-like").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER LIKE EDIT END ///////// //////// MEMBER PARTNER MYSELF EDIT START ///////// $("#edit-btn-partner-myself").on("click",function(){ $("#member-partner-myself").hide("fast"); $("#member-partner-myself-edit").show("fast"); $("#edit-btn-partner-myself").hide("fast"); $("#save-btn-partner-myself").show("fast"); }); $("#edit-member-partner-myself-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-partner-myself').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-partner-myself-edit").hide("fast"); $("#edit-btn-partner-myself").show("fast"); $("#save-btn-partner-myself").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER PARTNER MYSELF EDIT END ///////// //////// MEMBER PARTNER BASIC DETAIL EDIT START ///////// $("#edit-btn-partner-basic").on("click",function(){ $("#member-partner-basic").hide("fast"); $("#member-partner-basic-edit").show("fast"); $("#edit-btn-partner-basic").hide("fast"); $("#save-btn-partner-basic").show("fast"); }); $("#edit-member-partner-basic-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-partner-basic').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-partner-basic-edit").hide("fast"); $("#edit-btn-partner-basic").show("fast"); $("#save-btn-partner-basic").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER PARTNER BASIC DETAIL EDIT END ///////// //////// MEMBER RELIGION PARTNER EDIT START ///////// $("#edit-btn-partner-religion").on("click",function(){ $("#member-partner-religion").hide("fast"); $("#member-partner-religion-edit").show("fast"); $("#edit-btn-partner-religion").hide("fast"); $("#save-btn-partner-religion").show("fast"); }); $("#edit-member-partner-religion-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-partner-religion').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-partner-religion-edit").hide("fast"); $("#edit-btn-partner-religion").show("fast"); $("#save-btn-partner-religion").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER RELIGION PARTNER EDIT END ///////// //////// MEMBER PARTNER LOCATION EDIT START ///////// $("#edit-btn-partner-location").on("click",function(){ $("#member-partner-location").hide("fast"); $("#member-partner-location-edit").show("fast"); $("#edit-btn-partner-location").hide("fast"); $("#save-btn-partner-location").show("fast"); }); $("#edit-member-partner-location-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-partner-location').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-partner-location-edit").hide("fast"); $("#edit-btn-partner-location").show("fast"); $("#save-btn-partner-location").hide("fast"); }, error: function(){} }); })); //}); //////// MEMBER PARTNER LOCATION EDIT END ///////// //////// MEMBER PARTNER LIFESTYLE EDIT START ///////// $("#edit-btn-partner-lifestyle").on("click",function(){ $("#member-partner-lifestyle").hide("fast"); $("#member-partner-lifestyle-edit").show("fast"); $("#edit-btn-partner-lifestyle").hide("fast"); $("#save-btn-partner-lifestyle").show("fast"); }); $("#edit-member-partner-lifestyle-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-partner-lifestyle').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-partner-lifestyle-edit").hide("fast"); $("#edit-btn-partner-lifestyle").show("fast"); $("#save-btn-partner-lifestyle").hide("fast"); }, error: function(){alert('error')} }); })); //}); //////// MEMBER PARTNER LIFESTYLE EDIT END ///////// //////// MEMBER PARTNER PROFFESION EDIT START ///////// $("#edit-btn-partner-professional").on("click",function(){ $("#member-partner-professional").hide("fast"); $("#member-partner-professional-edit").show("fast"); $("#edit-btn-partner-professional").hide("fast"); $("#save-btn-partner-professional").show("fast"); }); $("#edit-member-partner-professional-frm").on('submit',(function(e) { e.preventDefault(); $.ajax({ url: "update-member-profile.php", type: "POST", data: new FormData(this), contentType: false, processData:false, success: function(data){ if(data!=0){ $('#member-partner-professional').fadeOut('slow').html(data).fadeIn("slow"); } //$("#contact-detail").show("fast"); $("#member-partner-professional-edit").hide("fast"); $("#edit-btn-partner-professional").show("fast"); $("#save-btn-partner-professional").hide("fast"); }, error: function(){} }); })); //}); //////// MEMBER PARTNER PROFFESION EDIT END ///////// }); </script> <script> function showstate(stateid){ var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/"+"findstate-profile.php?id="+stateid; req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ document.getElementById('constate').innerHTML=req.responseText; } } } req.open("GET",str,true); req.send(null); } </script> <script> function byReligion(religion){ //alert(religion) if(religion=="Hindu"){ $("#jain").hide(); $("#muslim").hide(); $("#sikh").hide(); $("#community_load_area").show(); document.getElementById('hindu').style.display='block' ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile.php?religion="+religion; //alert(str); req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area').innerHTML=req.responseText; //$("#show-hide-sub-community").show(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Muslim"){ $("#hindu").hide(); $("#jain").hide(); $("#sikh").hide(); $("#community_load_area").show(); document.getElementById('muslim').style.display='block' //$("#muslim").show(); //alert("Muslim") ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile.php?religion="+religion; req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area').innerHTML=req.responseText; $("#show-hide-sub-community").show(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Jain"){ $("#hindu").hide(); $("#muslim").hide(); $("#sikh").hide(); $("#community_load_area").show(); document.getElementById('jain').style.display='block' //$("#muslim").show(); //alert("Muslim") ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile.php?religion="+religion; req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area').innerHTML=req.responseText; $("#show-hide-sub-community").hide(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Sikh"){ $("#hindu").hide(); $("#muslim").hide(); $("#jain").hide(); $("#community_load_area").show(); document.getElementById('sikh').style.display='block' //$("#muslim").show(); //alert("Muslim") ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile.php?religion="+religion; req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area').innerHTML=req.responseText; $("#show-hide-sub-community").hide(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Parsi" || religion=="Buddhist" || religion=="Jewish"){ $("#hindu").hide(); $("#muslim").hide(); $("#jain").hide(); $("#sikh").hide(); $("#community_load_area").hide(); $("#show-hide-sub-community").hide(); }else{ $("#hindu").hide(); $("#muslim").hide(); $("#jain").hide(); $("#sikh").hide(); $("#community_load_area").show(); ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile.php?religion="+religion; //alert(str); req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area').innerHTML=req.responseText; $("#show-hide-sub-community").hide(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// } } </script> <script> function byReligionPartner(religion){ //alert(religion) if(religion=="Hindu"){ $("#jain-partner").hide(); $("#muslim-partner").hide(); $("#sikh-partner").hide(); $("#community_load_area_partner").show(); document.getElementById('hindu-partner').style.display='block' ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile-partner.php?religion="+religion; //alert(str); req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area_partner').innerHTML=req.responseText; //$("#show-hide-sub-community").show(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Muslim"){ $("#hindu-partner").hide(); $("#jain-partner").hide(); $("#sikh-partner").hide(); $("#community_load_area_partner").show(); document.getElementById('muslim-partner').style.display='block' //$("#muslim").show(); //alert("Muslim") ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile-partner.php?religion="+religion; req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area_partner').innerHTML=req.responseText; $("#show-hide-sub-community-partner").show(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Jain"){ $("#hindu-partner").hide(); $("#muslim-partner").hide(); $("#sikh-partner").hide(); $("#community_load_area_partner").show(); document.getElementById('jain-partner').style.display='block' //$("#muslim").show(); //alert("Muslim") ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile-partner.php?religion="+religion; req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area_partner').innerHTML=req.responseText; $("#show-hide-sub-community-partner").hide(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Sikh"){ $("#hindu-partner").hide(); $("#muslim-partner").hide(); $("#jain-partner").hide(); $("#community_load_area_partner").show(); document.getElementById('sikh-partner').style.display='block' //$("#muslim").show(); //alert("Muslim") ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile-partner.php?religion="+religion; req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area_partner').innerHTML=req.responseText; $("#show-hide-sub-community-partner").hide(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// }else if(religion=="Parsi" || religion=="Buddhist" || religion=="Jewish"){ $("#hindu-partner").hide(); $("#muslim-partner").hide(); $("#jain-partner").hide(); $("#sikh-partner").hide(); $("#community_load_area_partner").hide(); $("#show-hide-sub-community-partner").hide(); }else{ $("#hindu-partner").hide(); $("#muslim-partner").hide(); $("#jain-partner").hide(); $("#sikh-partner").hide(); $("#community_load_area_partner").show(); ///////////////////// LOAD BY INPUT ///////////////////////// var req=new getXMLHTTP(); var str="<?=SITE_WS_PATH?>/fill-community-profile-partner.php?religion="+religion; //alert(str); req.onreadystatechange = function() { if(req.readyState==4){ if(req.status==200){ if(req.responseText==0){ alert('Unable to save this detail.'); }else{ document.getElementById('community_load_area_partner').innerHTML=req.responseText; $("#show-hide-sub-community-partner").hide(); } } } } req.open("GET",str,true); req.send(null); ///////////////////// LOAD BY INPUT END ///////////////////////// } } </script> <script> function select_membership(mdID,memID){ $("#select_"+mdID).addClass("active-membership"); $("div:not(#select_"+mdID+")").removeClass("active-membership"); $(document).ready(function(e) { $.ajax({ type:"GET", url:"load-price.php?mdID="+mdID+"&memID="+memID, contentType: false, processData:false, success: function(data){ if(data!=0){ $('#btn-pay').fadeOut('slow').html(data).fadeIn("slow"); } } }) }); } function fetch_benefits(memID){ $(document).ready(function(e) { $.ajax({ type:"GET", url:"load-benefits.php?memID="+memID, contentType: false, processData:false, success: function(data){ if(data!=0){ $('#benefit-load-area').fadeOut('slow').html(data).fadeIn("slow"); } } }) }); } </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> <!------pie----------> <!------- Profile Photo -----------> <style> a.carousel-control.profile-photo{ background:none !important; } span.glyphicon.glyphicon-chevron-left.profile-photo{ color:#b10a0a !important; } span.glyphicon.glyphicon-chevron-right.profile-photo{ color:#b10a0a !important; } .profile-photo{ background-color:#fff !important; } </style> <div class="modal fade" id="ProfilePhotoModal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-body"> <div id="myCarousel" class="carousel slide" > <div class="carousel-inner"> <?php $sql="select * from tbl_member_image where 1 and mem_image_cat_id='".$userDATA['reg_id']."'"; $sql_fetch = db_query($sql); $cntDATA=mysqli_num_rows($sql_fetch); $cnt=0; if($cntDATA > 0){ while($DATA = mysqli_fetch_array($sql_fetch)) { $cnt++; ?> <div class="item <?php if($cnt==1){?> active <?php }?>profile-photo " style="text-align:-webkit-center"> <img src="member_images/<?=$DATA['mem_image_name']?>" style="width:354px;height:442px" /> </div> <? }} ?> </div> <!-- Left and right controls --> <a class="left carousel-control profile-photo" href="#myCarousel" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left profile-photo"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control profile-photo " href="#myCarousel" data-slide="next"> <span class="glyphicon glyphicon-chevron-right profile-photo"></span> <span class="sr-only">Next</span> </a> </div> </div> <div class="modal-footer" style="text-align:center"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div>