Mini Shell

Direktori : /home/rizant5/www/development/
Upload File :
Current File : /home/rizant5/www/development/payment.php

<?php require_once('function-file.php');
require_once('function-menu.php');
require_once('config.php');
$stu_id=$_GET['usf'];
$data=$conn->prepare("select * from student_reg a left join courses b on a.course_id=b.course_id where stu_id='$stu_id'");
$data->execute();$row=$data->fetch();
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Home | Lanka Virtual Academy</title>
	<?php commoncss();?>
</head><!--/head-->
<body class="homepage">
    <?php headermenu();?>
     <section >
   		<div class="container">
            <div class="row" align="center">
                <div class="col-sm-12">
                <h2><?php echo $row['course_name'];?></h2>
                <p>For purchase this course click on button</p>
               		<form class="paypal" action="payments.php" method="post" id="paypal_form" target="_blank">
                        <input type="hidden" name="cmd" value="_xclick" />
                        <input type="hidden" name="no_note" value="1" />
                        <input type="hidden" name="lc" value="UK" />
                        <input type="hidden" name="currency_code" value="GBP" />
                        <input type="hidden" name="bn" value="AhiSdoag8O-Y-pFK1Rk0Mzxa4yhjAz0YLr1.R62h0tZlUK2KcZMLo-xp" />
                        <input type="hidden" name="first_name" value="Praveen"  />
                        <input type="hidden" name="last_name" value="Patel"  />
                        <input type="hidden" name="payer_email" value="patelprem1992@gmail.com"  />
                        <input type="hidden" name="item_number" value="<?php echo $row['course_id'];?>" / >
                        <input type="hidden" name="item_name" value="<?php echo $row['course_name'];?>" / >
                        <input type="hidden" name="item_amount" value="<?php echo $row['course_fees'];?>" / >
                        <input type="submit" name="submit" value="Proceed to Payment" class="btn btn-success"/>
                    </form>
                </div>
              </div>
           </div>
   </section>
</body>
</html>

Zerion Mini Shell 1.0