GIF89a;
Direktori : /home/serb/public_html/m/ |
Current File : /home/serb/public_html/m/payment-chkout2.php |
<? session_start(); ob_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); ?> <? function randomPassword() { $alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789"; $pass = array(); //remember to declare $pass as an array $alphaLength = strlen($alphabet) - 1; //put the length -1 in cache for ($i = 0; $i < 8; $i++) { $n = rand(0, $alphaLength); $pass[] = $alphabet[$n]; } return implode($pass); //turn the array into a string } ?> <? $temp_postad_query = "SELECT ft_ad_day FROM temp_postad WHERE id = '".$_SESSION['SH_ESCORT_ID']."'"; $temp_postad_result = execute_query($temp_postad_query); $temp_postad_row = mysql_fetch_array($temp_postad_result); $sql_adprice1="SELECT * FROM featured_ad_price WHERE no_of_weeks='".$temp_postad_row['ft_ad_day']."'"; $res_adprice1=execute_query($sql_adprice1); $row_adprice1=mysql_fetch_array($res_adprice1); $adprice1=$row_adprice1['ad_price']; if($_POST['submit_pay'] == "PAY NOW") { header("Location: payment_checkout_pay.php"); } ?> <? include "includes/header_top.php";?> <body> <? include "includes/header.php";?> <div class="main_bg"> <div style="height:32px;"></div> <div style="width:1000px; margin:0 auto;"> <div class="statedetails"> <div class="stdtls_header"> PAYMENT CHECKOUT </div> <div class="stdtls_midder"> <div style=" width:990px; margin:0 auto;"> <form action="<?=$_SERVER['PHP_SELF']?>" method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();"> <input name="submit_form" value="1" type="hidden"> <table border="0" cellpadding="0" cellspacing="6" style="width:650px; margin:0 auto; margin-top:15px;"> <tr> <td colspan="3" class="naote_style"> Payment Details : You are paying for a FULL ACCESS REGISTERED MEMBERSHIP. </td> </tr> <tr> <td colspan="3" class="naote_style"> You have selected :<br> <!--$<?php echo $featured_ad_day_price_array[$temp_postad_row['ft_ad_day']];?> for <?php echo $temp_postad_row['ft_ad_day'];?> days--> $<? echo $adprice1;?> for <?=$temp_postad_row['ft_ad_day']?> </td> </tr> <tr> <td></td> <td> <input type="submit" name="submit_pay" value="PAY NOW" style="background:linear-gradient(to bottom, #EA689A 0%, #9E315A 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); border:1px solid #9E315A; border-radius:5px; line-height:35px; font-size:20px; color:#FFFFFF; font-family:arial narrow; padding:0 10px; font-weight:bold; cursor:pointer;"/> </td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> </tr> </table> </form> </div> </div> <div class="stdtls_footer"></div> </div> <br class="spacer" /> </div> <br/> </div> <? include "includes/footer.php";?>