<?php
	if(count($birthdays)>0){
?>
 	<div class="boost-carousel owl-carousel owl-theme">
        <?php foreach($missyous as $missyou){
			if($missyou->fullname!=''){?>
           <div class="item">
               <div class="boost-wrapper">
               
               		<?php if($missyou->simage!='' and file_exists('./static/uploadfiles/members/'.$missyou->simage)){?>
                                        <img src="./utility/processImage.php?imageName=<?php echo urlencode($missyou->simage); ?>&w=204&h=137&mod=4&type=2&<?php echo date("HisdmY");?>"/>
                                        <?php }
										
										else{
                                        ?><?php if($missyou->gender=="Male"){?>
										<img src="images/boy-icon.jpg"  />
										<?php }
										
										else{
										?><img src="images/girl-icon.jpg" /><?php
										}?><?php
                                        }?>
               

				<div class="boost-content">
                    <div class="wrapper-content">
                          <h4> <a href="#" onclick="gotolink_missyou('missyoudetail','<?php echo $missyou->id;?>')">
									<?php echo $missyou->fullname?></a> 
									<?php if($missyou->wishcount>0){?> (<?php echo $missyou->wishcount?>)<?php }?>
                   			 </h4>
                                <p>Anniversary Date: <?php echo date('d-m-Y',strtotime($missyou->fam_expirydate))?></p>
                      </div>
                 </div>
                           
               </div>
        </div>
              <?php }}?>
     </div>

<?php }else{echo "Not Available";}?>

<form name="frm_missyou" id="frm_missyou" method="post">
	<input type="hidden" name="missyou_id" id="missyou_id" />
</form>
<script>
function gotolink_missyou(u,missyou_id)
{
	document.frm_missyou.missyou_id.value=missyou_id;
	document.frm_missyou.action = u;
	
	document.frm_missyou.submit();
}
</script>