GOOGLE
<?php include('header.php'); ?>
<?php include('account_dashboard.php');
$user_querys=mysql_query("select * from `registration` where `id`='".$_GET['member_id']."'")or die(mysql_error());
$rows=mysql_fetch_array($user_querys); ?>
<div class="container">
<div class="margin-top">
<div class="row">
<div class="span2">
<ul class="nav nav-tabs nav-stacked">
<img src="../<?php echo $rows['image'];?>" width="150">
</li>
</ul>
<!-- Modal add user -->
</div>
<div class="span10">
<table cellpadding="0" cellspacing="0" border="1" class="table" style="border: 1px !important">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong><i class="icon-user icon-large"></i> Account Statment of <?php echo $rows['name'];?> <?php echo $rows['lname'];?></strong><b><span style="float: right;"></span></b>
</div>
<thead>
<tr>
<th style="background-color: orange;">Name</th>
<th style="background-color: orange;">Mobile</th>
<th style="background-color: orange;">Email Id</th>
<th style="background-color: orange;">Address</th>
<th style="background-color: orange;">City</th>
<th style="background-color: orange;">State</th>
</tr>
</thead>
<tbody>
<?php
$cities = mysql_query("SELECT * FROM `cities` WHERE `id`='".$rows['city']."'");
$selCity = mysql_fetch_array($cities);
$states = mysql_query("SELECT * FROM `states` WHERE `id`='".$rows['state']."'");
$selstates = mysql_fetch_array($states);
$id=$rows['user_id']; ?>
<tr class="del<?php echo $id ?>">
<td><?php echo $rows['name']; ?> <?php echo $rows['lname']; ?></td>
<td><?php echo $rows['mobile_no']; ?></td>
<td><?php echo $rows['email_id']; ?></td>
<td><?php echo $rows['address']; ?></td>
<td><?php echo $selCity['name']; ?></td>
<td><?php echo $selstates['name']; ?></td>
<!-- Modal edit user -->
</tr>
</tbody>
</table>
</div>
</div>
<hr/>
<h3><b style="color: red;">Over Due Transaction Against Borrowed book</b></h3>
<!--Table-->
<div class="container">
<br/>
<div class="panel panel-default">
<div class="panel-body">
<?php $book = mysql_query("SELECT * FROM `book` WHERE `book_id`='".$_GET['id']."'");
$booksel = mysql_fetch_array($book);?>
<fieldset class="col-md-6">
<legend>Overdue Transaction</legend>
<div class="panel panel-default">
<div class="panel-body">
<form action="transaction_submit.php" method="POST">
<div class="form-group">
<label for="email">Penalty Amount</label>
<input type="hidden" value="<?php echo $_GET['member_id'];?>" name="memId">
<input type="text" class="form-control" id="email" name="penalty" value="<?php echo $_GET['penalty'];?>" required>
</div>
<div class="form-group">
<label for="pwd">Over Due Days:</label>
<input type="text" class="form-control" id="pwd" name="overdue" value="<?php echo $_GET['overdue'];?>" readonly>
</div>
<div class="form-group">
<label for="pwd">Book Name:</label>
<input type="text" class="form-control" id="pwd" name="subject" value="<?php echo $booksel['subject'];?>" readonly>
</div>
<div class="form-group">
<label for="pwd">ACC No:</label>
<input type="hidden" c name="book_id" value="<?php echo $booksel['book_id'];?>" readonly>
<input type="text" class="form-control" id="pwd" name="acc_no" value="<?php echo $booksel['acc_no'];?>" readonly>
</div>
<div class="form-group">
<label for="pwd">Payment:</label>
<select name="payment" required="required">
<option value="">--Select Payment Mode--</option>
<option value="Paytm">Paytm</option>
<option value="Bhim">Bhim</option>
<option value="Paymoney">Paymoney</option>
<option value="Cash Payment">Cash Payment</option>
<option value="Due Amount">Due Amount</option>
</select>
</div>
<button type="submit" class="btn btn-primary" name="submit">Pay</button>
</form>
</div>
</div>
</fieldset>
<div class="clearfix"></div>
</div>
</div>
</div>
<br/>
<br/><br/>
<!--Table-->
<script type="text/javascript">
/* $(document).ready( function() {
$('.btn-danger').click( function() {
var id = $(this).attr("id");
if(confirm("Are you sure you want to delete this Data?")){
$.ajax({
type: "POST",
url: "delete_user.php",
data: ({id: id}),
cache: false,
success: function(html){
$(".del"+id).fadeOut('slow');
}
});
}else{
return false;}
});
}); */
</script>
<style>
fieldset
{
border: 1px solid #ddd !important;
margin: 0;
xmin-width: 0;
padding: 10px;
position: relative;
border-radius:4px;
background-color:#f5f5f5;
padding-left:10px!important;
}
legend
{
font-size:14px;
font-weight:bold;
margin-bottom: 0px;
width: 35%;
border: 1px solid #ddd;
border-radius: 4px;
padding: 5px 5px 5px 10px;
background-color: #ffffff;
}
</style>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="foot-margin">
<p><a>2018 Agnihotri College of PHARMACY Wardha. All Rights Reserved. </a></p>
</div>
</div>
</footer>
Copyright © 1945 -