<?php
//	error_reporting(0);
	//define('INCLUDE_CHECK',true);
	//session_start();
	//session_destroy();
	//require ('classes/config2.php');
	
	if(isset($_POST['submit'])){
				
		if ($_POST['payoption'] == "School Fees"){
			header("location: index.php?action=payment_processing");
	 //	header("location: process.php");

		}else{
		//	header("location: index.php?action=payment_processing_opt");
		header("location: index.php?action=payment_processing");

		}
	}
?>


       		<div class="rightp">
            	<h1>Payment Option</h1>
                <div class="kontent">
                        	<p>Payment is required for the selected Option<br /> Please Select Your Payment Option</p> 
								<hr> <center>                	
                        	<div class="form-group input-group">
                            	<form method="post" action="" role="form" name="paymentList">
                                    	
                                        <div class="form-group">
                                            <label for="payoption"  >Payment Options:</label>
                                            <select class="form-control" name="payoption" placeholder="Select your payment Option" required>
                                                <option value="">Select your payment Option</option>
                                                <option value="school">School Fees</option>
                                                <option value="others">Others</option>
                                            </select>
                     					</div>
                                        <p>&nbsp;</p>
                                        <a href="index.php?action=pay_method" class="btn btn-warning">Back</a>
                                        <button type="submit" name="submit" class="btn btn-primary">Continue</button>
                      			</form>
                              	</div>
                                        </div>
                                
                            </div>
                	</center><hr>
                <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                    
                                </div>
                
                </div>
            </div>
        </div><!-- content -->    
        
