Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <form method=”POST” action=”http://www.example.com/checkout”>
  2. <div class=”form-group”>
  3. <label for=”amt”>Amount</label>
  4. <input type=”number” class=”form-control” name=”amt_pay” id=”amt” placeholder=”Amount”>
  5. </div>
  6. <!– Button trigger modal –>
  7. <button type=”button” class=”btn btn-default” data-toggle=”modal” data-target=”#myModal”>Make Payment</button>
  8.  
  9. <!– Modal –>
  10. <div class=”modal fade” id=”myModal” tabindex=”-1″ role=”dialog” aria-labelledby=”myModalLabel”>
  11. <div class=”modal-dialog” role=”document”>
  12. <div class=”modal-content”>
  13. <div class=”modal-header”>
  14. <button type=”button” class=”close” data-dismiss=”modal” aria-label=”Close”><span aria-hidden=”true”>×</span></button>
  15. <h4 class=”modal-title” id=”myModalLabel”>Login</h4>
  16. </div>
  17. <div class=”modal-body”>
  18. <form class=”form-horizontal” name=”loginform” id=”loginform” action=”<?php echo esc_url( site_url( ‘wp-login.php’, ‘login_post’ ) ); ?>” method=”post”>
  19.  
  20. Email
  21. <input type=”email” class=”form-control” id=”user_login” name=”log” placeholder=”Email ID” value=”” size=”20″>
  22. Password
  23. <input type=”password” class=”form-control” id=”user_pass” name=”pwd” placeholder=”Password” value=”” size=”20″>
  24. <input type=”checkbox” id=”rememberme” name=”rememberme” value=”forever”> Remember me
  25. <button type=”submit” class=”btn btn-warning” id=”wp-submit” name=”wp-submit” value=”Log In”>Login</button>
  26. <input type=”hidden” name=”redirect_to” value=”<?php echo home_url(); ?>/checkout” />
  27. <input type=”hidden” name=”testcookie” value=”1″ />
  28. </form>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </form>
  34.  
  35. <?php echo $_POST[‘amt_pay’]; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement