<?php include("parent/callMe.php"); ?>

<?php  include("sessioncheck.php"); ?>

<?php



 $strength=$_REQUEST['count']/50;



 //echo $strength;



 ?>



<!DOCTYPE html>

<html lang="en">

  <head>

    

    <title>Division Faimly Vouchers | EduPortal</title>

    <?php include('RootMe/css_links.php');?>

  

 

  </head>

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>



 

  <body class="nav-md">

    <div class="container body">

      <div class="main_container">

        <div class="col-md-3 left_col">

     

            <?php include('RootMe/sidebar.php');?>



              <?php include('RootMe/header.php');?>

     

        <!-- page content -->

          <div class="right_col" role="main">

          <div class="row" style="background-color: white;">



            <a href="<?php echo $_SESSION['dashboard'];?>" style="margin-left: 33px;">Dashboard </a> &nbsp; <i style="" class="fa fa-angle-double-right"></i>  &nbsp;



          <a href="families.php">Families </a> &nbsp; <i style="" class="fa fa-angle-double-right"></i>  &nbsp;  



          <a href="family_voucher.php">Family Voucher </a> &nbsp; <i style="" class="fa fa-angle-double-right"></i>  &nbsp;





          Vouchers Division

           

  <section class="add_sub_agent" id="table_sub_agent">

  <div class="container">



 <div class="" style="margin-top:10px;">

   

      

                                    <!-- page content -->

        

          <div class="">

            <div class="page-title">

              <div class="title_left">

                

              </div>



             

            </div>

            <div class="clearfix"></div>

    

            <div class="row">

          

              <div class="col-md-12 col-sm-12 col-xs-12">

                <div class="x_panel">

            

                  <div class="x_content">

          

     <?php for ($i=1; $i<=$strength+1; $i++) { 



     	$text;

     	$valueStart;

     	$valueEnd;

     	if ($i==1) {

     		$text= "1 to 50";

     		$valueStart="0";

     		$valueEnd="50";

     	} elseif ($i==2) {

     		$text="51 to 100";

     		$valueStart="51";

     		$valueEnd="100";

     	} elseif ($i==3) {

     		$text="101 to 150";

     		$valueStart="101";

     		$valueEnd="150";

     	} elseif ($i==4) {

     		$text="151 to 200";

     		$valueStart="151";

     		$valueEnd="200";

     	} elseif ($i==5) {

     		$text="201 to 250";

     		$valueStart="201";

     		$valueEnd="250";

     	} elseif ($i==6) {

     		$text="251 to 300";

     		$valueStart="251";

     		$valueEnd="300";

     	} elseif ($i==7) {

     		$text="301 to 350";

     		$valueStart="301";

     		$valueEnd="350";

     	} elseif ($i==8) {

     		$text="351 to 400";

     		$valueStart="351";

     		$valueEnd="400";

        } elseif ($i==9) {

     		$text="401 to 450";

     		$valueStart="401";

     		$valueEnd="450";

        } elseif ($i==10) {

     		$text="451 to 500";

     		$valueStart="451";

     		$valueEnd="500";

        } elseif ($i==11) {

     		$text="501 to 550";

     		$valueStart="501";

     		$valueEnd="550";

        } elseif ($i==12) {

     		$text="551 to 600";

     		$valueStart="551";

     		$valueEnd="600";

        } elseif ($i==13) {

        $text="601 to 650";

        $valueStart="601";

        $valueEnd="650";

        } elseif ($i==14) {

        $text="651 to 700";

        $valueStart="651";

        $valueEnd="700";

        } elseif ($i==15) {

        $text="701 to 750";

        $valueStart="701";

        $valueEnd="750";

        }



     	?>







     	<a href="print_all_triple_family_voucheres.php?a61oe8lqc1oclfi4llgnioo156a61oe8lqc1oclfi4llgnioo156a61oe8lqc1oclfi4llgnioo156a61oe8lqc1oclfi4llgnioo156a61oe8lqc1oclfi4llgnioo156&amp;class_id=<?php echo $_REQUEST['class_id'];?>&month=<?php echo $_REQUEST['month'];?>&year=<?php echo $_REQUEST['year'];?>&section=<?php echo $_GET['section'];?>&fee=<?php echo $_GET['fee'];?>&valueStart=<?php echo $valueStart; ?>&valueEnd=<?php echo $valueEnd; ?>" target="_blank" class="btn btn-primary btn-lg"><?php echo $text;?></a>





   <?php  } ?>

                    

              

                </div>

                </div>

              </div>

            </div>

          </div>

       

        



        <!-- /page content -->









  



    

  <?php include('RootMe/js_linksscript.php');?>

  </body>

</html>

<script>

function toastFunction() {

  var x = document.getElementById("snackbar");

  x.className = "show";

  setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);

}

</script>