82 lines
3.5 KiB
PHP
82 lines
3.5 KiB
PHP
<html>
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="addDialog" class="modal fade" role="dialog">
|
|
<div class="modal-dialog">
|
|
|
|
<!-- Modal content-->
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
<h4 class="modal-title">Enter Your Details</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form id="save_form">
|
|
|
|
<div class="form-group">
|
|
<label for="brand_name">First Name:</label>
|
|
<input type="text" class="form-control" name="first_name" id="first_name">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="model_name">Last Name:</label>
|
|
<input type="text" class="form-control" name="last_name"id="last_name">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="qty_sub">Username :</label>
|
|
<input type="text" class="form-control" name="username" id="username">
|
|
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="model_name">Password:</label>
|
|
<input type="text" class="form-control" name="password"id="password">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="model_name">Confirm Password:</label>
|
|
<input type="text" class="form-control" name="cpassword"id="cpassword">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="model_name">Email:</label>
|
|
<input type="text" class="form-control" name="email" id="email">
|
|
</div>
|
|
<div class="checkbox">
|
|
|
|
<?php
|
|
$sql_query="select firm_id,firm_name from tbl_firms ";
|
|
$result_user_firms=$mysqli_query($conn,$sql_query);
|
|
while($row_firms=$result_user_firms.@mysqli_fetch_array($sql_query))
|
|
{
|
|
?><label class="checkbox-inline"><input type="checkbox" name="firm<?php echo $row_firms['']?>" value=""><?php echo $row_firms['firm_name']?></label>
|
|
<?php }?>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-success" data-dismiss="modal" onclick="save_user_data()">Save</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
function save_user_data(){
|
|
|
|
}
|
|
</script>
|
|
<body>
|
|
</html>
|