<?php

//include_once 'includes/functions_prence.php';

//include authenticator
//include_once 'includes/auth.php';

if(isset($_GET['pt']))
{
	$pt = $_GET['pt'];
}

if(isset($_GET['p']))
{
  $p = $_GET['p'];
	$yr = $_GET['yr'];
  $ky = $_GET['ky'];
}




  
//include functions
include ('includes/includes_prence.php');


$tk = hash_token(url_token());

$enc_tk = base64url_encode($tk);

//validating link
if ($ky !== $enc_tk) {
  header('location: ../');
}

?>
<body>
	<header class="navbar" role="banner">
			
            <!-- call the header -->
            <?php include 'includes/header.php'; ?>
				
		 <div style="border-bottom:green solid 2px"></div>
    
    </header>


	 
     
	<div class="container">
			<div class="row">
            
                <div style="height:10px; display: block;"> .</div>
                <div class="col-lg-12"><!-- feedback message on different kinds of logout -->
                
                <h2 class="text-center">User Friendly ID Card Software</h1><p class="text-center"> Create professional ID Cards for memberships, access cards</p>
                </div><!-- /col lg 12 -->
                
                <div class="col-lg-12">
                
                
                 <div class="col-sm-4" >
                            <div class="col-sm-10  text-center"><h3>Create</h3><p class="text-center">Create cards in a few clicks,also with dynamic barcode integration..</p><i class="fa fa-cog fa-5x"></i>
                            </div>
                         
                 </div>
                 <div class="col-sm-4 text-center" >
                          
                         
                  			<div class="col-sm-10  text-center"><h3>Simple</h3><p>No design or database knowledge required</p><i class="fa fa-user fa-5x"></i>
                            </div>
                        
                 </div>
                <div class="col-sm-4 text-center">
                         
                     <div class="col-sm-10 text-center"><h3>Flexible</h3><p>Use with any printer, for any type of cards..</p><i class="fa fa-mobile fa-5x"></i>
                     </div>
                         
               </div>
               
                </div><!-- /.col lg 12 -->				

                  
                  
                  
                  
                
                    
			</div><!-- /.row -->
            
           <div style="border-bottom:green solid 2px"></div><br/><br/>

            
             <div class="row text-center" >
             
             	<?php echo view_students_list_per_programmes_prence($pt, $p,$yr,$ky); ?>
             
                 
             </div>
              
        
              <h2 class="text-center"> Share the printing, reduce your workload</h2>

             
            
	</div><!-- container -->
<!-- continer for the copied templates ends ---->

	


     
     
     
    <!-- JS boostrap -->
    <!-- Include all compiled plugins (below), or include individual files as needed -->
   <!-- <script src="bootstrap-3.3.4/js/bootstrap.min.js"></script>
    
    <script src="bootstrap-3.3.4/js/bootstrap.js"></script>
    -->
    
    
      <?php include 'includes/js_plugins.php';?>
   
        

    
    <?php include 'includes/hide_notification.php'; ?>
    
  </body>
</html>

