Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sharad16j authored Apr 22, 2019
1 parent 978f981 commit df85ec9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
1 change: 0 additions & 1 deletion CSS.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ body{
fieldset
{
padding: 0%;
border: solid red;
}
.thumbnail{
background: none;
Expand Down
7 changes: 5 additions & 2 deletions Receipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
$fetch=mysqli_query($connection,"select * from std_detail where std_rollno='$roll_no' ");

while($res=mysqli_fetch_assoc($fetch)){

// session_start();
$_SESSION['roll'] = $res['std_rollno'];
// $_SESSION['roll'] = $res['std_rollno'];
?>
<!DOCTYPE html>
<html lang="en">
Expand Down Expand Up @@ -51,7 +52,7 @@
<h4 align="center">Money Receipt</h4>
</div>
<fieldset>
<form name="myform" action="receiptaction.php" method="POST" onsubmit="return formcheck()">
<form name="myform" action="receiptaction.php" method="POST" onsubmit="return formcheck() message()">
<div class="boxDisabled">
<div class="row">
<div class="col-sm-6">
Expand Down Expand Up @@ -244,6 +245,8 @@ function formcheck(){
return false;
}
}
function message()
alert("Want to continue?");
$("#chkdd").prop('disabled', true);
$("#chkdd").hide();
$('select[name="payvia"]').change(function()
Expand Down
5 changes: 4 additions & 1 deletion Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<h4 align="center">Technocity, Panchpota, Garia, Kolkata - 700152, Phone: 1234567890</h4>
</div>
<fieldset>
<form name="myform" action="registeraction.php" class="box" method="POST">
<form name="myform" action="registeraction.php" class="box" method="POST" onsubmit="message()">
<div class="row">
<div class="col-sm-6">
<div class="thumbnail">
Expand Down Expand Up @@ -98,7 +98,10 @@
}
});
});
function message()
alert("Want to continue?");
function NAME(e, t) {
alert("Want to continue?");
try {
if (window.event) {
var charCode = window.event.keyCode;
Expand Down
21 changes: 9 additions & 12 deletions VerifyReceipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Verify Receipt</title>
<title>Verify nhgfnfh Receipt</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
Expand Down Expand Up @@ -152,25 +152,22 @@
</div>
</div>
</div>
<?php
<!-- <?php
$payvia = $res1['payvia'];
if($payvia=="chkdd"){ ?>
<<<<<<< HEAD
<!--
<div class="col-sm-6">
if($payvia=="chkdd"){ ?> -->


<!-- <div class="col-sm-6">
<label for="payvia" class="thumbnail col-xs-4 control-label" for="payvia">Select payment method-</label>
<div class="col-xs-8">
<div class="thumbnail">
<select required name="payvia" id="payvia" class="form-control input">
<option name="select4" value="" disabled="disabled" selected="selected">select method</option>
<option name="select4" value="chkdd" disabled="disabled" selected="selected">select method</option>
<option value="Cash">Cash</option>
<option value="chkdd">Cheque or Demand Draft</option>
<option select="selected" value="chkdd">Cheque or Demand Draft</option>
</select>
</div>
</div> -->
=======
>>>>>>> 5055583ab802be7f4a2e67da61a8decb31d5c9a7

<fieldset id="chkdd" class="col-xs-12">
<label class="thumbnail col-xs-5 control-label" for="num">Cheque/DD number:</label>
<div class="col-xs-7">
Expand All @@ -192,7 +189,7 @@
</div>
</div>
</fieldset>
<?php } ?>
<!-- <?php } ?> -->
<div class="col-xs-4">
<center><button class="btn btn1">Verify</button></center>
</div>
Expand Down

0 comments on commit df85ec9

Please sign in to comment.