File: /home/imensosw/www/imenso.co/demo/resume-maker/product.php
<?php
error_reporting(0);
include("header-member.php");
include_once('site_url.php');
?>
<?php
require('include/initalizedb.php');
?>
<?php
include 'db_config.php';
//Set useful variables for paypal form
$paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr'; //Test PayPal API URL
$paypal_id = 'bussinesstestravi@shop.com'; //Business Email
?>
<body class="back_color">
<?php include("sidebar.php"); ?>
<div class="main_wrp">
<?php
include("login_header.php");
if(!isset($_SESSION['session_id'])) {
echo "Google";
header("Location:".PATH);
exit;
}
$user_id = $_SESSION['session_id'];
?>
<div id="profile_main">
<div class="profile_wrap ">
<div class="profile_inner">
<div class="row">
<div class="col-lg-5 col-lg-offset-4 ">
<div class="product_by">
<div class="col-sm-12 pad_0 ">
<p>
Just pay $5 for one time, Create and Download Unlimited Resumes
</p>
</div>
<div class=" by_now_btn text-center">
<form action="<?php echo $paypal_url; ?>" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="<?php echo $paypal_id; ?>">
<!-- Specify a Buy Now button. -->
<input type="hidden" name="cmd" value="_xclick">
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="resume">
<input type="hidden" name="item_number" value="<?php if(isset($_GET['resum_id'])){ echo $_GET['resum_id'];} ?>">
<input type="hidden" name="amount" value="$5">
<input type="hidden" name="currency_code" value="USD">
<!-- Specify URLs -->
<input type='hidden' name='cancel_return' value='<?php echo PATH; ?>cancel.php'>
<input type='hidden' name='return' value='<?php echo PATH; ?>success.php'>
<!-- Display the payment button. -->
<input type="image" name="submit" border="0"
src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>
<!--<a href="#" class="comm_btn_design green_btn_back">Buy Now</a>-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="site_footer_2">
<div class="copy_rights">
<p class="mar_0">© 2016. All Rights Reserved</p>
</div>
</div>
</footer>
<?php include('billing_model.php');?>
<?php include("modal.php"); ?>
<?php include("profile_modal.php"); ?>
<?php include("signup_modal.php"); ?>
<?php include("delete_account_model.php"); ?>
<?php include("footer.php") ; ?>