<?php
	$maleImgSrc='./img/male.jpg';
	$femaleImgSrc='./img/female.png';
	$ImgSrc=$_SESSION['user']['gender']=="M"?$maleImgSrc:$femaleImgSrc;
	$photoSrc=file_exists($_SESSION['user']['image_240'])?$_SESSION['user']['image_240']:$ImgSrc;
	
	
?>
<div class="plan green">
	<div class="plan-header">
		<div class="plan-title">
			<?=$_SESSION['user']['preferredName']?>	        		
		</div> 


		
		<div class="plan-price">
			<img src="<?=$photoSrc?>" class="logo-img img-circle" alt="student photo" width="100" height="100">
		</div> 
	</div> 
	<div class="plan-features">
		<ul>					
			<li><strong>Class : </strong> <?=$_SESSION['profile']['class']?> </li>
			<li><strong>Section : </strong> <?=$_SESSION['profile']['section']?>  </li>
			<?php if($_SESSION['profile']['rollOrder']!=""){?>
			<li><strong>Roll : </strong> <?=$_SESSION['profile']['rollOrder']?>  </li>
			<?php } ?>
			<li><strong>Account No : </strong> <?=$_SESSION['user']['account_number']+0?> </li>
			
		</ul>
	</div> 
	<div class="plan-actions">				
		<a href="./payment.php" class="btn btn-info">Pay Fees</a>	
        <!-- <a href="./councilfeepayment.php" class="btn btn-warning" style="margin-top:5px;">Pay Council Fee</a>-->
	</div>

	



   <?php
   $string=$_SESSION['profile']['class'] ;
    if ($_SESSION['user']['moodle_active'] == 'Y'): ?>
        

		<div class="plan-actions"> 
		
            <?php
        /*    
            if(stristr($string,'11')==TRUE): ?>
        		    <h4 style="color:Tomato;text-decoration: underline";>Online Annual Exam 21-22 (20 Marks)</h4>
	        <?php endif; 
	    */    
	        ?>
	    

	        <?php
            if(stristr($string,'11')==FALSE): ?>
	    	        <h4 style="color:Tomato;text-decoration: underline";>Online Annual Exam 21-22 (40 Marks)</h4>
            <?php endif; ?>
		

			<li><strong>  UserId   : </strong> <?=$_SESSION['user']['moodle_userid']?></li>
			<li><strong>  Password : </strong> <?=$_SESSION['user']['moodle_pwd']?></li>

		</div>  


    <?php endif; ?>
</div>



  