Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- session_start( );
- $explodedProductName = explode( '-', $_POST['productName'] );
- include( 'includes/connect.php' );
- include( 'includes/functions.php' );
- $conn = connect( );
- $sql = 'SELECT price FROM products WHERE productname=:productname';
- $st = $conn->prepare( $sql );
- $st->bindvalue( ':productname', $explodedProductName[0], PDO::PARAM_STR );
- $st->execute( );
- $productPrice = $st->fetchAll( );
- if ($_POST['gateWay'] == 'درگاه بانک ملت') {
- $formTarget = 'payments/mellat/transfer.php';
- } else {
- if ($_POST['gateWay'] == 'درگاه زرین پال') {
- $formTarget = 'payments/zarinpal/transfer.php';
- }
- }
- echo '<!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>تایید اطلاعات خرید</title>
- <link href="styles/style.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="outer">
- <div id="Mellat">
- </div>
- <div class="getRefId">
- <form method="post" name="payForm" id="payForm" action="';
- echo $formTarget;
- echo '">
- ....................................................................
- ......................................
- ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement