Advertisement
Guest User

Untitled

a guest
May 17th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
  6. *
  7. * @ Version : 1.1.5.0
  8. * @ Author : DeZender
  9. * @ Release on : 09.06.2012
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. session_start( );
  15. $explodedProductName = explode( '-', $_POST['productName'] );
  16. include( 'includes/connect.php' );
  17. include( 'includes/functions.php' );
  18. $conn = connect( );
  19. $sql = 'SELECT price FROM products WHERE productname=:productname';
  20. $st = $conn->prepare( $sql );
  21. $st->bindvalue( ':productname', $explodedProductName[0], PDO::PARAM_STR );
  22. $st->execute( );
  23. $productPrice = $st->fetchAll( );
  24.  
  25. if ($_POST['gateWay'] == 'درگاه بانک ملت') {
  26. $formTarget = 'payments/mellat/transfer.php';
  27. } else {
  28. if ($_POST['gateWay'] == 'درگاه زرین پال') {
  29. $formTarget = 'payments/zarinpal/transfer.php';
  30. }
  31. }
  32.  
  33. echo '<!DOCTYPE html>
  34. <html>
  35. <head>
  36. <meta charset="UTF-8">
  37. <title>تایید اطلاعات خرید</title>
  38. <link href="styles/style.css" rel="stylesheet" type="text/css" />
  39. </head>
  40.  
  41. <body>
  42. <div id="outer">
  43. <div id="Mellat">
  44. </div>
  45.  
  46. <div class="getRefId">
  47. <form method="post" name="payForm" id="payForm" action="';
  48. echo $formTarget;
  49. echo '">
  50. ....................................................................
  51. ......................................
  52. ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement