
<?php
//------ Created to upload students-report-card on the portal for the stuents
$input_vars = $_SESSION['user']['account_number']+0 .'.pdf';
?>

	<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>		-->
        <a href="./reportcard/<?php echo $input_vars ?>" class="btn btn-warning" style="margin-top:5px;">x</a>
	</div>

<?php
//------ Created to upload students-report-card on the portal for the stuents
$input_vars = $_SESSION['user']['account_number']+0 .'.pdf';
?>
    <button onclick="onclickRedirect()">redirect</button>
    <script>
       function onclickRedirect(){
      window.location.href = "./reportcard/<?php echo $input_vars ?>";
}
    </script>




<a href="./reportcard/<?php echo $input_vars ?>" target="_blank" class="btn btn-warning" style="margin-top:5px;">x</a>




    <?php
    //------ Created to upload students-report-card on the portal for the stuents
    $input_vars = $_SESSION['user']['account_number']+0 .'.pdf';
    ?>
	
	<?php if ($_SESSION['profile']['class'] == 11) : ?>
          <a href="./reportcard/<?php echo $input_vars ?>" target="_blank" class="btn btn-warning" style="margin-top:5px;">x</a> <?php ; ?>    
    <?php endif; ?>
    
    
    
    
    <?php
    //------ Created to upload students-report-card on the portal for the stuents
    $input_vars = $_SESSION['user']['account_number']+0 .'.pdf';
    ?>
	
	<?php if ($_SESSION['profile']['class'] == 11) : ?>
          <a href="./reportcard/<?php echo $input_vars ?>" target="_blank" class="btn btn-warning" style="margin-top:5px;">x</a> <?php ; ?>    
    <?php endif; ?>


    <?php if ($_SESSION['profile']['class'] == 10 OR $_SESSION['profile']['class'] == 12) : ?>
          <?php if ($_SESSION['user']['account_number']+0 == 3399 OR $_SESSION['user']['account_number']+0 == 3382 
                    OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382
                    OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382 
                    OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382
                    OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382 OR $_SESSION['user']['account_number']+0 == 3382
                ) 
                : ?>
                <a href="./reportcard/s1.php" target="_blank" class="btn btn-warning" style="margin-top:5px;">x</a> <?php ; ?>    
          <?php endif; ?>
          
    <?php endif; ?>