|
Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.20 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 : OFF Directory (0755) : /home/u490972518/domains/ppschool.org.in/public_html/sale/php-includes/../less/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include('php-includes/connect.php');
include('php-includes/check-login.php');
//$userid = $_SESSION['userid'];
$email1=$_REQUEST['flag'];
//echo $userid;
$sel1="select * from user where email ='$email1' order by id desc";
$res1=mysqli_query($con,$sel1);
$row=mysqli_fetch_array($res1,MYSQLI_BOTH);
$parrent=$row['parrent'];
$amount=$row['amount'];
//$main=$row['main'];
$sel11="select * from user where email ='$parrent' order by id desc";
$res11=mysqli_query($con,$sel11);
$row1=mysqli_fetch_array($res11,MYSQLI_BOTH);
$name=$row1['name'];
?>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<style>
@media print{
#jk img{display:inline;}
width:100%;
}
@media print {
* {
-webkit-print-color-adjust: exact;
}
}
</style>
<script>
$(document).ready(function(){
$("#print").click(function(){
$("#back").css("visibility","hidden");
$("#print").css("visibility","hidden");
window.print();
window.location.href='join.php';
});
$("#back").click(function(){
window.location.href='join.php';
});
});
</script>
<div class="container">
<div class="row" id='jk' style="background-image: url('images/logo.png');background-repeat: no-repeat; background-attachment: fixed;
background-position: center;background-size: 500px 400px;">
<div class="table-responsive">
<div class="table-responsive custom_datatable">
<table class="table table-bordered" style="width:100%;margin:auto;text-align:left;" >
<tbody>
<tr>
<tr>
<td colspan="5"><h3 style='text-align:center'><img src='images/logo.png' style='height:90px;width:90px'> RMS ONLINE BUSSINESS</h3><h5 style='text-align:center'>Registration Slip</h5></td>
</tr>
<tr>
<td style='font-weight:bold'> Regi. Date</td>
<td colspan="4"><?php echo $row['date'];?></td>
</tr>
<tr>
<td colspan="1" style='font-weight:bold'>User. Id/Name </td>
<td colspan="1"><?php echo $row['email'];?>/ <?php echo $row['name'];?></td>
<td colspan="1" style='font-weight:bold'>Password </td>
<td colspan="1"><?php echo $row['password'];?> </td>
</tr>
<tr>
<td colspan="1" style='font-weight:bold'>Mobile No. </td>
<td colspan="1"><?php echo $row['mobile'];?> </td>
<td colspan="1" style='font-weight:bold'> Position </td>
<td colspan="2"><?php echo $row['side'];?></td>
</tr>
<tr>
<td style='font-weight:bold'> Sponser Id / Direct Id</td>
<td colspan="1"><?php echo $row['under_userid'];?></td>
<td width="150" style='font-weight:bold'>Sponser Name</td>
<td width="50" colspan='2'><?php echo $row1['name'];?></td>
</tr>
<tr>
<td style='font-weight:bold'>Parrent Id /Under Id</td>
<td ><?php echo $row['parrent'];?> </td>
<td style='font-weight:bold'>Parrent /Under Person </td>
<td colspan='2'><?php echo $row1['name'];?></td>
</tr>
<tr>
<td style='font-weight:bold'>Joining Amount</td>
<td ><?php echo $row['amount'];?> </td>
<td style='font-weight:bold'>Status </td>
<td colspan='2'><?php if($amount=='0'){echo "<font style='color:red'>Pending</font>";}else { echo "<font style='color:green'>Approved</font>";};?></td>
</tr>
<tr>
<td colspan="4"><center><H4>RMS BUSSINESS ONLINE </H4><br>Signature<br></center></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br/>
<button id="print" style="margin-left:500px;" >Print</button>     
<span><button id="back" >Back</button></span>
</div>