<?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>  -->
	
    <?php 
               $input_vars = 'promote.php';
               $shiva="N";
              if ($_SESSION['user']['account_number']+0 == 3397 OR $_SESSION['user']['account_number']+0 == 3363 
                 OR $_SESSION['user']['account_number']+0 == 3355 OR $_SESSION['user']['account_number']+0 == 3158
                 OR $_SESSION['user']['account_number']+0 == 3348 OR $_SESSION['user']['account_number']+0 == 3431 
                 OR $_SESSION['user']['account_number']+0 == 3403 OR $_SESSION['user']['account_number']+0 == 3398 
                 OR $_SESSION['user']['account_number']+0 == 3399 OR $_SESSION['user']['account_number']+0 == 3382
                 OR $_SESSION['user']['account_number']+0 == 3074 OR $_SESSION['user']['account_number']+0 == 1143 
                 OR $_SESSION['user']['account_number']+0 ==  897 OR $_SESSION['user']['account_number']+0 == 3012 
                 OR $_SESSION['user']['account_number']+0 == 2588 OR $_SESSION['user']['account_number']+0 == 3099 
                 OR $_SESSION['user']['account_number']+0 == 1085 OR $_SESSION['user']['account_number']+0 == 3098 
                 OR $_SESSION['user']['account_number']+0 == 1006 OR $_SESSION['user']['account_number']+0 == 3009
                 OR $_SESSION['user']['account_number']+0 == 3026) 
              {
                 $input_vars = 'meet.php';
                 $shiva='Y';
              }
              if ($_SESSION['profile']['class'] == 10 || $_SESSION['profile']['class'] == 12 || $shiva=="Y" ): ?>
                  <a href="./reportcard/<?php echo $input_vars ?>" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>

              <?php
              if ($_SESSION['profile']['class'] == 10 || $_SESSION['profile']['class'] == 12 ): ?>
                  <a href="./reportcard/notice1012.php" target="_blank" class="btn btn-danger" style="margin-top:5px;">Notice</a> <?php ; ?>    
              <?php endif; ?>
     
              <?php
              if ($_SESSION['profile']['class'] == 'UN' && $_SESSION['user']['account_number']+0 < 3443): ?>
                  <a href="./reportcard/promoteall.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>
              
              <?php
              if ($_SESSION['profile']['class'] == 'TR' && $_SESSION['user']['account_number']+0 < 3443): ?>
                  <a href="./reportcard/promoteall.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>

              <?php 
               if (($_SESSION['profile']['class'] >='01'  &&  $_SESSION['profile']['class'] <= '08' ) && $_SESSION['user']['account_number']+0 < 3443): ?>
                  <a href="./reportcard/promoteall.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>
              
              <?php
               if ($_SESSION['profile']['class'] == '09 Sci. with Comp.' && $_SESSION['user']['account_number']+0 < 3443 && $shiva=="N"): ?>
                  <a href="./reportcard/promoteall.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>
              
              <?php
               if ($_SESSION['profile']['class'] == '09 Science        ' && $_SESSION['user']['account_number']+0 < 3443 && $shiva=="N"): ?>
                  <a href="./reportcard/promoteall.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>
              
              <?php
               if ($_SESSION['profile']['class'] == '09 Comm. with Comp.' && $_SESSION['user']['account_number']+0 < 3443 && $shiva=="N"): ?>
                  <a href="./reportcard/promoteall.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>

              <?php
               if ($_SESSION['user']['account_number']+0 >= 3616 && $_SESSION['user']['account_number']+0 <= 3706): ?>
                  <a href="./reportcard/promoteall.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">Report Card</a> <?php ; ?>    
              <?php endif; ?>              
              


               <a href="./reportcard/notice07052020.php" target="_blank" class="btn btn-danger" style="margin-top:5px;">Notice (7th May'2020)</a> <?php ; ?>   

              
	</div>
</div>



  