<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td style="text-align:left"><a href="missyoulist" style="float:right">All&nbsp;&nbsp;</a></td>
          </tr>
          <tr>
            <td class="space">&nbsp;</td>
          </tr>
          <tr>
            <td>
			<?php
			if(count($missyous)>0){
			?>
            <div id="slider-code2" style="padding-left:10px;">
		<div class="viewport">
			<ul class="overview">
				  	<?php 	
						foreach($missyous as $missyou){
						if($missyou->fullname!=''){?><li>
									<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tblinline">
                                      <tr>
                                        <td align="center"  style="border-top:1px solid #ccc; border-right:1px solid #ccc; border-left:1px solid #ccc; padding-left:5px; padding-right:5px;"><?php if($missyou->simage!='' and file_exists('./static/uploadfiles/members/'.$missyou->simage)){?>
                                        <img src="./utility/processImage.php?imageName=<?php echo urlencode($missyou->simage); ?>&w=80&h=140&mod=4&type=2&<?php echo date("HisdmY");?>" width="204px" height="137px" />
                                        <?php }else{
                                        ?><?php if($missyou->gender=="Male"){?>
										<img src="images/boy-icon.jpg"  />
										<?php }else{
										?><img src="images/girl-icon.jpg" /><?php
										}?><?php
                                        }?></td>
                                      </tr>
                                      <tr>
                                        <td align="center" class="" style="padding-left:10px; padding-right:10px; border-right:1px solid #ccc; border-left:1px solid #ccc;">&nbsp;</td>
                                      </tr>
                                      <tr>
                                      <tr>
                                        <td align="center" class="" style="padding-left:10px; padding-right:10px; border-right:1px solid #ccc; border-left:1px solid #ccc;"><div style="width:100%; height:1px; background-color:#ccc">&nbsp;</div></td>
                                      </tr>
                                      <tr>
                                        <td height="49" align="center" class="td" style="border-bottom:1px solid #ccc; border-right:1px solid #ccc; border-left:1px solid #ccc; padding-left:15px;"><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 }?><br />
                                          Anniversary Date: <?php echo date('d-m-Y',strtotime($missyou->fam_expirydate))?> <br /></td>
                                      </tr>
                                    </table></li>
					  
					<?php }}
					?>
            	</div>
				</div>
			<?php }else{echo "Not Available";}?>
            </td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
<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>
<script type="text/javascript">
		$(document).ready(function()
		{
			$('#slider-code2').tinycarousel();
		});
	</script>