<?=CITYNAME?>
 
 
 
0) { ?> 0) { ?> 0) { ?> 0 || $_COOKIE['membid'] > 0) { $user_id = ($_COOKIE['membid'] > 0)?$_COOKIE['membid']:$_SESSION['membid']; $customer = mysql_fetch_row(mysql_query("SELECT first_name,last_name,verified FROM customer WHERE ID='".$user_id."'")); ?>
:: BY TYPE ::
EXCLUSIVE RESORTS
RESORTS
<?=CITYNAME?>
:: BY LOCATION ::
0) $nh++; } if($nh > 0) { $newname = ''; $newname = $czo[ID]."_".str_replace("[^a-zA-Z0-9-_ ]","_",trim($cityname[0])); if($czo[zone] != "") $newname .= "_".str_replace("[^a-zA-Z0-9-_ ]","_",$czo[zone]); $newname .= ".htm"; ?> -
E mail
Welcome back
[]
My Booking
0) { $p=0; $pids = array(); while($plc = mysql_fetch_array($num_pages)) { $check_loc = mysql_num_rows(mysql_query("SELECT * FROM pages_locations WHERE idlocations='".IDLOC."' AND idpages='$plc[ID]'")); if($check_loc > 0) $p++; } if($p > 0) { print "$ctp[name]
"; $listpages = mysql_query("SELECT * FROM pages WHERE idcategory_pages='".$ctp[ID]."' AND showaslink='0'"); while($lpg = mysql_fetch_array($listpages)) { $check_page_loc = mysql_num_rows(mysql_query("SELECT * FROM pages_locations WHERE idpages='$lpg[ID]' AND idlocations='".IDLOC."'")); if($check_page_loc > 0) { ?>
"; } } } ?>
Antalya Hotels
Bodrum Hotels
Kusadasi Hotels
0 || $_COOKIE['membid'] > 0) { if($_COOKIE['membid'] > 0 && $_COOKIE['membid'] == $_SESSION['membid']) $user_id = $_COOKIE['membid']; else { @setcookie('membid','',time()-3600); $user_id = $_SESSION['membid']; } $customer = mysql_fetch_row(mysql_query("SELECT first_name,last_name,verified FROM customer WHERE ID='".$user_id."'")); ?>
<?=SITENAME?> - <?=CITYNAME?> Turkey
 
Customer Name : [ Log out ]
Bonus Credits:
Pending Credits:
Pending Bonus Used:
 


0) { ?>
TRANSFER # DETAILS
Reservation Code
Title
Description
Transfer Option
Transfer Type:
Arrival Date: 0) printf("
Arrival Time: %02d:%02d
",$dati['arr_transf_time_h'],$dati['arr_transf_time_m']) ?>
Arrival Flight Company:
Arrival Flight Number:
Arrival From:
Return Date: Pick-up time: %02d:%02d
",$dati['dep_transf_time_h'],$dati['dep_transf_time_m']) ?>
Pickup from Hotel:
Departure Flight Company:
Departure Flight Number:
Departure to:
Hotel:
Passangers: adults 0) { print " / ".$dati['childs']." childs
"; $ages_childs = explode(",",$dati['agechilds']); foreach($ages_childs as $key=>$val) { print "Child ".($key+1)." : ".$val."yo
"; } } ?>
Transfer Cost: ".$dati['cursym']." %.2f",$dati['price_total']); $price_total = $dati['price_total']; } else { printf("".$dati['cursym']." %.2f",($dati['price_person'] * $dati['people_pay_transfer'])); print " (".$dati['cursym']." ".$dati['price_person']." x ".$dati['people_pay_transfer']." person)
"; $price_total = ($dati['price_person'] * $dati['people_pay_transfer']); } ?>
Coupon Discount: 0 ) { printf("-".$dati['cursym']."%.2f",($price_total*$dati['coupon_perc']/100)); $coupon = ($price_total*$dati['coupon_perc']/100); } elseif($dati['coupon_value'] > 0 ) { printf("-".$dati['cursym']."%.2f",$dati['coupon_value']); $coupon = $dati['coupon_value']; } ?>
Bonus Used -
Total to Pay:

RESERVATION STATUS NOT PAID"; elseif($dati['status'] == 1) print "PENDING PAYMENT"; elseif($dati['status'] >= 2) print "CONFIRMED"; ?>
CUSTOMER & PAYMENT DETAILS
First & Last Name
Address:
City:
Province:
Country:
Phone:
Email:

0) { ?> Payment with Credit Card
on date
0) { ?>
TRANSFER PURCHASED STATUS
Transfer Title/Descrip. Customer Adults Childs Price Coupon Bonus Total To pay SiteFrom Status

".$row['cursym'].$row['price_total']."
"; ?> ( x )
$row['people_pay_transfer']) { ?> child(s) are FREE
0) $coupon_val = sprintf("%.2f",($row['price_total']*$row['coupon_perc']/100)); else $coupon_val = sprintf("%.2f",$row['coupon_value']); } else { ?> -------- 0) { ?> -------- NOT PAID PENDING PAYMENT
Paid with CC on = 2) { ?> APPROVED
Paid with CC on
see details

There are no Transfer Purchased yet!
'".date("Y-m-d",time())."' ORDER BY ID DESC"); if(mysql_num_rows($query) >0) { while($row = mysql_fetch_array($query)) { $tour = mysql_fetch_array(mysql_query("SELECT * FROM ts_tours WHERE ID='$row[idts_tours]'")); $currency = ($row[curval] == "eur")?"€":'$'; $totpay = sprintf("%.2f",( ($row[adult_price]*$row[num_adu])+($row[child_price]*$row[num_baby]))); $bonus_disc = sprintf("%.2f",$row['bonus_disc']); $coupon_disc = sprintf("%.2f",$row['coupon_discount']); #################################################################################### ### new code for extras calculations $extra_charge = 0; $extras = mysql_query("SELECT * FROM ts_reservation_extras WHERE idts_reservation='".$row['ID']."'"); while($exid = mysql_fetch_array($extras)) { $exdet = mysql_fetch_array(mysql_query("SELECT * FROM ts_extras_tours WHERE ID='".$exid['idts_extras_tours']."'")); if($exdet[price_opt] == 0) { $extra_charge += sprintf("%.2f",$exdet[price]); } elseif($exdet[price_opt] == 1) { $extra_charge += sprintf("%.2f",($exdet[price]*($row[num_adu]+$row[num_baby]))); } else { $extra_charge += sprintf("%.2f",($exdet[price]*$row[num_adu])); } } #################################################################################### if($row[extra_charge] > 0) { if($row[price_opt] == 1) { $extra_charge += $row[extra_charge]; } else { $extra_charge += $row[extra_charge]*($row[num_adu]+$row[num_baby]); } } $total_amount = $totpay-$bonus_disc-$coupon_disc; $deposit = sprintf("%.2f",($total_amount*$tour[percent_reservation]/100)); $bonus_earn = mysql_fetch_row(mysql_query("SELECT amount_in FROM customer_account WHERE idreservation='$row[ID]' AND idcustomer='$user_id'")); ?>
RESERVATIONS TOURS
(*) Bonus points: are collected with each reservation you make through our website and can be used for your next reservations.
Tour Name Type Customer Tour Date Days Adults Baby Discount Extra Total Pay Status

( - time: )

0) print "$tour[tour_days]"; elseif($tour[tour_hours] > 0) print "$tour[tour_hours] hours"; ?>
()

()
0) echo "Coupon : ".$currency."$row[coupon_discount]
"; else echo "Coupon : 0.00
"; ?>
0) printf($currency."%.2f
",$extra_charge); else print "no extra
"; ?>

(Dep.: ) 0) { ?>
Bonus:
; color:"> Bonus Used To Pay it!
NO TOTAL PRICE
EXPIRED
NOT AVALAIBLE
PENDING AVALAIBILITY
WAITING PAYMENT
0) { ?> PAYMENT APPROVED
Processing Voucher FINAL CONFIRMATION
CONFIRMED / CLOSED
There are no Reservation waiting Approval!
0) { if($resdat[price_opt] == 1) { $extra_charge = $resdat[extra_charge]; $extra_msg = "one time payment"; } else { $extra_charge = $resdat[extra_charge]*($resdat[num_adu]+$resdat[num_baby]); $extra_msg = "(".$currency."$resdat[extra_charge] x ".($resdat[num_adu]+$resdat[num_baby])." person)"; } } else $extra_charge = "0.00"; $coupon_disc = sprintf("%.2f",$resdat['coupon_discount']); $total_amount = $totpay-$bonus_disc-$coupon_disc+$extra_charge; $cc_pass_def = mysql_fetch_row(mysql_query("SELECT cc_pass FROM admin_detail")); if(isset($_REQUEST["crypass"]) && $_REQUEST["crypass"] != "") { if($_REQUEST["crypass"] == "$cc_pass_def[0]") $_SESSION["crypass"] = $_REQUEST["crypass"]; else $cry_error = "password is wrong"; } if(isset($_GET["cry"]) && $_GET["cry"] == 0) unset($_SESSION["crypass"]); if(mysql_num_rows($query) == 0 || $_REQUEST[idres] < 1) { ?>
There is no Reservation stored in our DB with code :
or you are not authorized to see this Reservation details!
back to list of reservations

Reservation details
Tour Name:
Reservation Code:
Tour Type:
Tour date:
Tour duration: 0 ) print "$tour[tour_days] days
"; if($tour[tour_hours]>0) print "$tour[tour_hours] hours"; ?>
Language: "English","de"=>"German","es"=>"Spanish","ru"=>"Russian","it"=>"Italian","fr"=>"French","kr"=>"Korean"); $lang_sel = $resdat['lang']; print $langs_list[$lang_sel]; ?>
Num. of Adults:
Num. of Childs:
Price details
Price x Adult:
Price x Child:
Bonus Discount: -
Coupon Discount: -
Pick Up Extra Charge:
( x tour)
( x person)
( x adults)
Note:
Total To pay
Deposit (%)
Customer Details
First Name:
Last Name:
Address:
City:
Province:
Country:
Phone:
Email:
0) { $det = mysql_fetch_Array($check_user); if($_REQUEST[email] != "" && preg_match("/@/",$_REQUEST[email])) mysql_query("UPDATE customer SET email='".$_REQUEST[email]."' WHERE chgmailcode='".$_REQUEST[code]."'"); ?>
Your new Email has been succesfully confirmed!
click here to Login to you account
0) { $cust_id = mysql_fetch_array($check_user); $_SESSION['membid'] = $cust_id[ID]; setcookie("membid","$cust_id[ID]", (time()+60*60*24*60),"/") or die("no cookie set"); if($_REQUEST['red'] == '') { ?>
No Customer found with this Email and Password. Try again!
Customer Login Form

Email
Password
Remember me
Password Forget?


Password must contain only alpha numerical char and "-" or "_"!
"; $msg .= "you have sent a request to change your Registation email on ".SITENAME."
"; $msg .= "If you have really sent this request please confirm this email address by clicking on the link below:
"; $msg .= "".HOSTNAME."customers.php?action=confirm&email=$_REQUEST[new_email]&code=".session_id()."

"; $msg .= "Thanks to use ".SITENAME."
"; $msg .= "".HOSTNAME.""; //print $msg."
"; $subject = "Confirm new Email on ".SITENAME.""; $subject_user = "Your Reservation Details on $hotel_det[name]"; $header = "Content-Type: text/html; charset=".CHARSET."\n"; $header .= "From: ".SITENAME."<$sitedet[email]>"; //mail($_REQUEST[new_email],$subject,$msg,$header); } else { ?>
New Email is already used by another Customer!
"; mysql_query($sql) or die(mysql_error()); } $row = mysql_fetch_array(mysql_query("SELECT * FROM customer WHERE ID='".$user_id."'")); ?>
EDIT DETAILS OF CUSTOMER :
First Name
Last Name
Address
City
Province
Country
Phone
Mobile + ()
Email
Old Password
If you want to change your Email and/or Password fill the field below or leave it empty!
If you change your email address we ask you to confirm it before changin will be active!
New Email
New Password
'€', "GBP" => '£', "USD" => '$', "TL" => 'TL' ); ?>
set_Limit(10); $limit1 = $a->getRange1(); $limit2 = $a->getRange2(); $qwcode = mysql_query("SELECT DISTINCT(coderes) FROM reservation WHERE coderes!='' AND idcustomer='".$user_id."' GROUP BY coderes ORDER BY ID DESC LIMIT $limit1,$limit2"); } else { $num_rows = mysql_num_rows(mysql_query("SELECT DISTINCT(coderes) FROM reservation WHERE coderes!='' AND idcustomer='".$user_id."' AND check_out>'".date("Y-m-d",time())."' GROUP BY coderes ORDER BY ID DESC")); $a = new Paginator_html($_GET['page'],$num_rows); $a->set_Limit(10); $limit1 = $a->getRange1(); $limit2 = $a->getRange2(); $qwcode = mysql_query("SELECT DISTINCT(coderes) FROM reservation WHERE coderes!='' AND idcustomer='".$user_id."' AND check_out>'".date("Y-m-d",time())."' GROUP BY coderes ORDER BY ID DESC LIMIT $limit1,$limit2"); } ################################################################################################### while($code = mysql_fetch_row($qwcode)) { $coupon_show = 0; $m=0; $total_room_price = mysql_fetch_row(mysql_query("SELECT SUM(room_price)+SUM(price_adults)+SUM(child_price) FROM reserve_details WHERE coderes='".$code[0]."'"));; $coupons_det = mysql_fetch_row(mysql_query("SELECT coupon_value,coupon_perc FROM reservation WHERE coderes='$code[0]'")); if($coupons_det[0] > 0 || $coupons_det[1] > 0) { if($coupons_det[0] > 0) { $coupon_value = $coupons_det[0]; $coupon_type = "value"; } else { $coupon_value = $coupons_det[1]; $coupon_type = "perc"; } } else $coupon_value = 0; $query = mysql_query("SELECT * FROM reservation WHERE coderes='$code[0]' AND idcustomer>'0'"); $check_bonus_amount = mysql_fetch_row(mysql_query("SELECT amount_out,ID FROM customer_account WHERE coderes='".$code[0]."' AND amount_out>0")); //AND retstatus='0' $num_rooms = mysql_num_rows($query); $tot_family_room = mysql_fetch_row(mysql_query("SELECT SUM(room_price) FROM reserve_details WHERE coderes='".$code[0]."'")); $tot_adults_room = mysql_fetch_row(mysql_query("SELECT SUM(price_adults) FROM reserve_details WHERE coderes='".$code[0]."'")); $tot_childs_room = mysql_fetch_row(mysql_query("SELECT SUM(child_price) FROM reserve_details WHERE coderes='".$code[0]."'")); $resdati = mysql_fetch_array(mysql_query("SELECT * FROM reservation WHERE coderes='".$code[0]."'")); $check_loc_disc = mysql_fetch_array(mysql_query("SELECT disc_type,disc_val FROM reserve_details WHERE coderes='".$code[0]."'")); $sign = $check_loc_disc[0]; $dval = $check_loc_disc[1]; $check_in_ts = strtotime("$resdati[check_out]"); $bonus_earn = mysql_fetch_row(mysql_query("SELECT amount_in FROM customer_account WHERE coderes='".$code[0]."' AND idcustomer='$resdati[idcustomer]'")); if($num_rooms > 1) { if($sign == 'p') { $loc_tot_family_room = $tot_family_room[0]+($tot_family_room[0]*$dval/100); $loc_tot_adults_room = $tot_adults_room[0]+($tot_adults_room[0]*$dval/100); $loc_tot_childs_room = $tot_childs_room[0]+($tot_childs_room[0]*$dval/100); } else { $loc_tot_family_room = $tot_family_room[0]-($tot_family_room[0]*$dval/100); $loc_tot_adults_room = $tot_adults_room[0]-($tot_adults_room[0]*$dval/100); $loc_tot_childs_room = $tot_childs_room[0]-($tot_childs_room[0]*$dval/100); } ### total to pay for all rooms if($loc_tot_family_room > 0) $total_room_parz_price = $loc_tot_family_room; else $total_room_parz_price = $loc_tot_adults_room + $loc_tot_childs_room; while($row = mysql_fetch_array($query)) { $total_show = 0; $hotel_det = mysql_fetch_array(mysql_query("SELECT * FROM hotels WHERE ID='".$row['idhotels']."'")); $customer = mysql_fetch_row(mysql_query("SELECT first_name,last_name,verified FROM customer WHERE ID='$row[idcustomer]'")); $resdet = mysql_fetch_array(mysql_query("SELECT * FROM reserve_details WHERE idreservation='".$row['ID']."'")); $discloc_sign = $resdet['disc_type']; $discloc_val = $resdet['disc_val']; $family_room_parz = array(); $adults_room_parz = array(); $childs_room_parz = array(); $family_room_parz = mysql_fetch_row(mysql_query("SELECT SUM(room_price) FROM reserve_details WHERE idreservation='".$row['ID']."'")); $adults_room_parz = mysql_fetch_row(mysql_query("SELECT SUM(price_adults) FROM reserve_details WHERE idreservation='".$row['ID']."'")); $childs_room_parz = mysql_fetch_row(mysql_query("SELECT SUM(child_price) FROM reserve_details WHERE idreservation='".$row['ID']."'")); $transfers = mysql_fetch_array(mysql_query("SELECT * FROM reserve_transfer_detail WHERE coderes='".$code[0]."'")); if($transfers['ID'] > 0) { $price_zn = "price".(($row['zonepri'] != '')?"_".$row['zonepri']:""); $price_free_zn = "price_free".(($row['zonepri'] != '')?"_".$row['zonepri']:""); $type_price_zn = "type_price".(($row['zonepri']!= '')?"_".$row['zonepri']:""); $child_min_age_zn = "child_min_age".(($row['zonepri'] != '')?"_".$row['zonepri']:""); $trapr = mysql_fetch_row(mysql_query("SELECT $price_zn,$price_free_zn,idtransfers,$type_price_zn,$child_min_age_zn FROM transfers_prices WHERE idhotels='".$row[idhotels]."' AND idtransfers='".$transfers['idtransfers_prices']."'")); if($trapr[0] > 0) { if($trapr[3] == 'st') { $transfers_price = $trapr[0]; $transfers_msg = sprintf($cursym["$row[cursym]"]." %.2f",$trapr[0]); } elseif($trapr[3] == 'pp') { $childs_age_num = mysql_num_rows(mysql_query("SELECT * FROM reserve_details WHERE coderes='".$code[0]."' AND child_num>'0' AND child_age>'$trapr[4]'")); $adult_num = mysql_fetch_row(mysql_query("SELECT SUM(num_adults) FROM reserve_details WHERE coderes='".$code[0]."' AND price_adults>'0'")); $transfers_price = $trapr[0]*($childs_age_num+$adult_num[0]); $transfers_msg = sprintf($cursym["$row[cursym]"]." %.2f",$transfers_price); $transfers_msg .= "
($trapr[0] x ".($childs_age_num+$adult_num[0]).")"; } } elseif($trapr[0] == 0 && $trapr[1] == 1) { $transfers_price = 0; $transfers_msg = "Free"; } } else { $transfers_price = 0; $transfers_msg = ""; } $numver = mysql_num_rows(mysql_query("SELECT * FROM reservation WHERE idcustomer='$row[idcustomer]' AND pay_approved>0 AND idstatus='4' AND check_out<'".date("Y-m-d",time())."'")); if($numver > 0 || $customer[2] > 0) $vericon = "
"; if($m == 0) { ?> 0) { if($discloc_sign == 'p') $loc_room_parz = sprintf("%.2f",($family_room_parz[0]+($family_room_parz[0]*$discloc_val/100))); else $loc_room_parz = sprintf("%.2f",($family_room_parz[0]-($family_room_parz[0]*$discloc_val/100))); ?> 0) { if($coupon_type == "value") { $total_show_final = sprintf("%.2f",($total_show-$coupon_value)); $coupon_show = sprintf("%.2f",$coupon_value); } else { $total_show_final = sprintf("%.2f",($total_show-($total_show*$coupon_value/100))); $coupon_show = sprintf("%.2f",($total_show*$coupon_value/100)); } } else $total_show_final = $total_show; if($resdati['days'] > $hotel_det['min_days_dep']) { if($resdati['earlybook_date'] != "0000-00-00") { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price)*$hotel_det[ea_percent_reservation]/100)); $dep_perc = $hotel_det[ea_percent_reservation]; } else { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price)*$hotel_det[percent_reservation]/100)); $dep_perc = $hotel_det[percent_reservation]; } } else { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price))); $dep_perc = "100"; } $global_total_final = ($tot_family_room[0]+$tot_adults_room[0]+$tot_childs_room[0])+$transfers_price-$coupon_show-$check_bonus_amount[0]; ?> 0) { ?> 0) { $price_zn = "price".(($row['zonepri'] != '')?"_".$row['zonepri']:""); $price_free_zn = "price_free".(($row['zonepri'] != '')?"_".$row['zonepri']:""); $trapr = mysql_fetch_row(mysql_query("SELECT $price_zn,$price_free_zn,idtransfers FROM transfers_prices WHERE idhotels='".$row[idhotels]."' AND idtransfers='".$transfers['idtransfers_prices']."'")); if($trapr[0] > 0) { $transfers_price = $trapr[0]; $transfers_msg = sprintf($cursym["$row[cursym]"]." %.2f",$trapr[0]); } elseif($trapr[0] == 0 && $trapr[1] == 1) { $transfers_price = 0; $transfers_msg = "Free"; } } else { $transfers_price = 0; $transfers_msg = ""; } ?> 0) { if($discloc_sign == 'p') $loc_family_room_parz = sprintf("%.2f",($family_room_parz[0]+($family_room_parz[0]*$discloc_val/100))); else $loc_family_room_parz =sprintf("%.2f",($family_room_parz[0]-($family_room_parz[0]*$discloc_val/100))); ?> 0) { if($coupon_type == "value") { $total_show_final = sprintf("%.2f",($total_show-$coupon_value)); $coupon_show = sprintf("%.2f",$coupon_value); } else { $total_show_final = sprintf("%.2f",($total_show-($total_show*$coupon_value/100))); $coupon_show = sprintf("%.2f",($total_show*$coupon_value/100)); } } else $total_show_final = $total_show; ?>
RESERVATIONS HOTELS
(*) Bonus points: are collected with each reservation you make through our website and can be used for your next reservations.
Hotel Name Room Type Check In/Out Tot. Adults Tot. Baby EB Disc. Transfers Total Pay Bonus Earn Deposit Status


No Smoke room


adults / childs

adults
0)?$cursym["$row[cursym]"]."$loc_childs_parz":(($resdet['num_childs'] > 0)?"FREE":"")?>
childs
0)?$row['earlybook_perc']."%":"-----";?> 0) { ?>
(Bonus: -) 0) { ?>
(Coupon: -)
">
NOT AVALAIBLE
NOT PAYED
REQUEST CANCELLATION
0) { ?>
EXPIRED
(confirmed)
EXPIRED
(unconfirmed)
NO TOTAL PRICE
NOT AVALAIBLE PENDING AVALAIBILITY

Bank Transfer"; print "
"; } if($resdati['pay_with_cc'] == 1) { print "Credit card"; print "
"; } if($resdati['pay_with_wu'] == 1) { print "Western Union"; print "
"; } if($resdati['pay_with_fx'] == 1) print "Credit card by Fax
"; if($resdati['pay_with_cl'] == 1 ) { $cust_phone = mysql_fetch_array(mysql_query("SELECT * FROM customer WHERE ID='".$resdati[idcustomer]."'")); print "Call by phone"; if($cust_phone['cust_phone_numb'] != "") { print ": ".$cust_phone['cust_phone_prefix'] ."-".$cust_phone['cust_phone_numb']."
"; print "Calling time : ".$cust_phone['calling_time']."
"; } else print "
"; } $amount_id = ($check_bonus_amount[1] > 0)?"&idbn=$check_bonus_amount[1]":""; if($dep_perc < 100) { if($hotel_det['pay_rest'] == 0) print "Pay rest IN HOTEL"; else { $last_date_tp = strtotime($resdati['check_in']." -14days"); print "Pay rest within ".date("d.m.Y",$last_date_tp).""; } } } elseif($resdati['idstatus'] == 3) { $butbgcol = ($row['finalpaid'] == "0")?"lightgreen":"yellow"; ?> FINAL CONFIRMATION
CONFIRMED / CLOSED
','','width=650,height=700')" />
see detail

No Smoke room

adults 0) { ?> / childs

adults
0) { if($childs_room_parz[0] > 0) { ?>
childs -------- --------


No Smoke room


adults / childs

adults
0)?$cursym["$row[cursym]"]."$loc_childs_parz":(($resdet['num_childs'] > 0)?"FREE":"")?>
childs
0)?$row['earlybook_perc']."%":"-----";?> 0) { ?>
(Bonus: -) 0) { ?>
(Coupon: -) $hotel_det['min_days_dep']) { if($resdati['earlybook_date'] != "0000-00-00") { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price)*$hotel_det[ea_percent_reservation]/100)); $dep_perc = $hotel_det[ea_percent_reservation]; } else { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price)*$hotel_det[percent_reservation]/100)); $dep_perc = $hotel_det[percent_reservation]; } } else { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price))); $dep_perc = "100"; } ?>
">
NOT AVALAIBLE
NOT PAYED
REQUEST CANCELLATION
0) { ?>
EXPIRED
(confirmed)
EXPIRED
(unconfirmed)
NO TOTAL PRICE
NOT AVALAIBLE PENDING AVALAIBILITY

Bank Transfer"; /* if($resdati[expire_bt] != "0000-00-00") print " within $resdati[expire_bt]
"; else */ print "
"; } if($resdati['pay_with_cc'] == 1) { print "Credit card"; /* if($resdati[expire_cc] != "0000-00-00") print " within $resdati[expire_cc]
"; else */ print "
"; } if($resdati['pay_with_wu'] == 1) { print "Western Union"; /* if($resdati['expire_wu'] != "0000-00-00") print " within ".$resdati['expire_wu']."
"; else */ print "
"; } if($resdati['pay_with_fx'] == 1) print "Credit card by Fax
"; if($resdati['pay_with_cl'] == 1 ) { $cust_phone = mysql_fetch_array(mysql_query("SELECT * FROM customer WHERE ID='".$resdati[idcustomer]."'")); print "Call by phone"; if($cust_phone['cust_phone_numb'] != "") { print ": ".$cust_phone['cust_phone_prefix'] ."-".$cust_phone['cust_phone_numb']."
"; print "Calling time : ".$cust_phone['calling_time']."
"; } else print "
"; } $amount_id = ($check_bonus_amount[1] > 0)?"&idbn=$check_bonus_amount[1]":""; if($dep_perc < 100) { if($hotel_det['pay_rest'] == 0) print "Pay rest IN HOTEL"; else { $last_date_tp = strtotime($resdati['check_in']." -14days"); print "Pay rest within ".date("d.m.Y",$last_date_tp).""; } } } elseif($resdati['idstatus'] == 3) { $butbgcol = ($row['finalpaid'] == "0")?"lightgreen":"yellow"; ?> FINAL CONFIRMATION
CONFIRMED / CLOSED
','','width=650,height=700')" />
see detail
" . $pictures[$j] . "

"; } $a->firstLast(); ?>
'€', "GBP" => '£', "USD" => '$', "TL" => 'TL' ); if(isset($_POST[upresdet])) { foreach($_POST['resv'] as $key=>$val) { $sqlup = "UPDATE reserve_details "; $sqlup .= "SET room_price='$val[room_price]', acc_type='$val[acc_type]' "; $sqlup .= " WHERE ID='$key'"; mysql_query($sqlup) or die(mysql_error()); $sqlup = "UPDATE reserve_details "; $sqlup .= "SET price_adults='$val[price_adults]',acc_type='$val[acc_type]' "; $sqlup .= " WHERE ID='$key'"; mysql_query($sqlup) or die(mysql_error()); $sqlup = "UPDATE reserve_details "; $sqlup .= "SET child_price='$val[child_price]',acc_type='$val[acc_type]' "; $sqlup .= " WHERE ID='$key'"; mysql_query($sqlup) or die(mysql_error()); } mysql_query("UPDATE reservation SET cursym='".$_REQUEST['cursym']."' WHERE coderes='".$_REQUEST[coderes]."'"); } ################################################################################################################# $resdet = mysql_fetch_array(mysql_query("SELECT * FROM reservation WHERE coderes='".$_REQUEST['coderes']."'")); $detadmin = mysql_fetch_array(mysql_query("SELECT * FROM admin_detail")); $cust = mysql_fetch_array(mysql_query("SELECT * FROM customer WHERE ID='".$resdet['idcustomer']."'")); $hotel_det = mysql_fetch_array(mysql_query("SELECT * FROM hotels WHERE ID='".$resdet['idhotels']."'")); if($resdet[sitefrom] != "") $location = mysql_fetch_row(mysql_query("SELECT name,locemail FROM locations WHERE name LIKE '%".str_replace("www.","",$resdet['sitefrom'])."%'")); else { $onelochotel = mysql_fetch_row(mysql_query("SELECT ID FROM hotels_locations WHERE idhotels='".$resdet['idhotels']."' LIMIT 1")); $location = mysql_fetch_row(mysql_query("SELECT name,locemail FROM locations WHERE ID='$onelochotel[0]'")); } $num_rooms = mysql_num_rows(mysql_query("SELECT DISTINCT(idreservation) FROM reserve_details WHERE coderes='".$_REQUEST['coderes']."'")); $discount = mysql_fetch_row(mysql_query("SELECT disc_type,disc_val FROM reserve_details WHERE coderes='".$_REQUEST['coderes']."'")); $sign = $discount[0]; $dval = $discount[1]; /*********** show cc details ****************/ $cc_pass_def = mysql_fetch_row(mysql_query("SELECT cc_pass FROM admin_detail")); if(isset($_REQUEST["crypass"]) && $_REQUEST["crypass"] != "") { if($_REQUEST["crypass"] == "$cc_pass_def[0]") $_SESSION["crypass"] = $_REQUEST["crypass"]; else $cry_error = "password is wrong"; } if(isset($_GET["cry"]) && $_GET["cry"] == 0) unset($_SESSION["crypass"]); /*********** end show cc details ****************/ if($_REQUEST['send_info'] == 1) { ################################################################################### $num_rooms_res = mysql_fetch_row(mysql_query("SELECT SUM(num_rooms) FROM reservation WHERE coderes='".$_REQUEST['coderes']."'")); $msg = "HOTEL NAME : $hotel_det[name]
"; $msg .= "CUSTOMER NAME : ".strtoupper($cust[first_name])." ".$cust[last_name]."
"; $msg .= "CUSTOMER COUNTRY : ".strtoupper($cust[country])."
"; $msg .= "REFERENCE NUMBER : $resdet[coderes]
"; $msg .= "CHECK IN DATE : $resdet[check_in]
"; $msg .= "CHECK OUT DATE : $resdet[check_out]
"; $msg .= "NUMBER OF NIGHTS : $resdet[days]
"; $msg .= "TOTAL ROOMS : $num_rooms
"; if($_REQUEST['note'] != '') $msg .= "NOTES : ".$_REQUEST['note']."
"; if($acc_type != "") $msg .= "ACCOMODATION TYPE : ".$acc_type_name[0]."

"; $transfers = mysql_fetch_array(mysql_query("SELECT * FROM reserve_transfer_detail WHERE coderes='".$_REQUEST['coderes']."'")); if($transfers['ID'] > 0) { // transfer details $trdata_pr = mysql_fetch_array(mysql_query("SELECT * FROM transfers_prices WHERE ID='".$transfers['idtransfers_prices']."'")); $trdata = mysql_fetch_array(mysql_query("SELECT * FROM transfers WHERE ID='".$trdata_pr['idtransfers']."'")); $msg .= "TRANSFER : $trdata[title]
"; $msg .= "TRANSFER DESCRIPTION : $trdata[description]
"; $msg .= "TRANSFER TYPE : ".(($trdata[retopt] == 1)?"Round trip transfer":"One way transfer")."
"; $price_zn = "price".(($resdet['zonepri'] != '')?"_".$resdet['zonepri']:""); $price_free_zn = "price_free".(($resdet['zonepri'] != '')?"_".$resdet['zonepri']:""); $trapr = mysql_fetch_row(mysql_query("SELECT $price_zn,$price_free_zn FROM transfers_prices WHERE idhotels='".$resdet['idhotels']."' AND idtransfers='".$transfers['ID']."'")); if($trapr[0] > 0) { $transfers_price = $trapr[0]; $transfers_msg = sprintf($cursym["$resdet[cursym]"]." %.2f",$trapr[0]); } elseif($trapr[0] == 0 && $trapr[1] == 1) { $transfers_price = 0; $transfers_msg = "Free"; } else { $transfers_price = 0; $transfers_msg = ""; } $msg .= "
One way:
Arrival transfer date : ".$transfers[arr_transf_date]."
"; $msg .= "Arrival transfer time : ".$transfers[arr_transf_time]."
"; $msg .= "No stop flight? : ".( ($transfers[nostop_flight] == 1)?"Yes":"No")."
"; $msg .= "Flight number : ".$transfers[flight_number_arrival]."
"; if($trdata[retopt] == 1) { $msg .= "Return:
Return transfer date : ".$transfers[return_transf_date]."
"; $msg .= "Pick up time : ".$transfers[pickup_time]."
"; $msg .= "Flight departure time : ".$transfers[flight_dep_time]."
"; $msg .= "Flight number : ".$transfers[flight_dep_number]."
"; } } $msg .= "
PRICE DETAILS:

"; $eb_discount = $resdet['earlybook_perc']; $r=1; $total_to_pay_mail = 0; $list_rooms = mysql_query("SELECT * FROM reservation WHERE coderes='".$_REQUEST['coderes']."'"); while($dro = mysql_fetch_array($list_rooms)) { $total_to_pay_room_mail = 0; $adu_child_tot = mysql_fetch_row(mysql_query("SELECT num_adults,num_childs FROM reserve_details WHERE idreservation='".$dro['ID']."'")); $msg .= "Room n $r (".$dro['room_name'].")
"; $msg .= "Adults : $adu_child_tot[0] "; if($adu_child_tot[1] > 0) $msg .= " / Childs : $adu_child_tot[1] "; $msg .= "
"; $qday = mysql_query("SELECT DISTINCT(day) FROM reserve_details WHERE idreservation='".$dro['ID']."' GROUP BY day ORDER BY day ASC"); while($pda = mysql_fetch_row($qday)) { $msg.= "day $pda[0]:
"; $qres = mysql_query("SELECT * FROM reserve_details WHERE idreservation='".$dro['ID']."' AND day='$pda[0]' ORDER BY day ASC,child_num ASC"); while($prd = mysql_fetch_array($qres)) { if($prd['room_price'] > 0) { if($prd['room_price'] > 0) $msg .= "Room Price....................".$cursym["$resdet[cursym]"].$prd['room_price']."
"; else $msg .= "Room Price....................REQ. PRICE
"; $total_to_pay_room_mail += $prd['room_price']; } elseif($prd['price_adults'] > 0) { if($prd['price_adults'] > 0) $msg .= "Adults Price................................".$cursym["$resdet[cursym]"].$prd['price_adults']."
"; else $msg .= "Adults Price................................REQ. PRICE
"; $total_to_pay_room_mail += $prd['price_adults']; } elseif($prd['child_num'] > 0) { if($prd['child_price'] > 0) $msg .= "Child ".$prd['child_num']." Price (".$prd['child_age']."yo)....................".$cursym["$resdet[cursym]"].$prd['child_price']."
"; else $msg .= "Child ".$prd['child_num']." Price (".$prd['child_age']."yo)....................FREE
"; $total_to_pay_room_mail += $prd['child_price']; } } } $r++; $msg .= "-----------------------------------------------------------------------------------
"; $msg .= sprintf("TOTAL ROOM ............................".$cursym["$resdet[cursym]"]."%.2f

",$total_to_pay_room_mail); $total_to_pay_mail += $total_to_pay_room_mail; } $msg .= sprintf("TOTAL ........................................".$cursym["$resdet[cursym]"]."%.2f
",$total_to_pay_mail); if($total_to_pay_mail == 0) { $msg .= "
A Special Price is Avalaible for this dates!
You will receive an email within few hours
"; $msg .= "from one of our Operator with Special Prices for each day.
"; } if($bonus_used > 0) $msg .= "BONUS CREDIT USED : - ".$cursym["$resdet[cursym]"]."$bonus_used
"; if($transfers_msg != "") { if($transfers_price > 0) $msg .= sprintf("TRANSFER PRICE.....................".$cursym["$resdet[cursym]"]."%.2f
",$transfers_price); else $msg .= "TRANSFER PRICE.............................$transfers_msg
"; } if($eb_discount > 0 && $total_to_pay_mail > 0) { $discshow = sprintf("%.2f",($total_to_pay_mail * $eb_discount / 100)); $msg .= "EB DISCOUNT ($eb_discount%) ...............".$cursym["$resdet[cursym]"]."$eb_discount
"; } if(isset($_REQUEST['coupon_value']) && $_REQUEST['coupon_value'] > 0) { $msg .= sprintf("COUPON DISCOUNT.....................".$cursym["$resdet[cursym]"]."%.2f
",$_REQUEST['coupon_value']); $coup_disc = sprintf("%.2f",$_REQUEST['coupon_value']); } elseif(isset($_REQUEST['coupon_perc']) && $_REQUEST['coupon_perc'] > 0) { $msg .= "COUPON DISCOUNT : -".$_REQUEST['coupon_perc']."%
"; $coup_disc = ($total_to_pay_mail-$discshow-$bonus_used+$transfers_price)*$_REQUEST['coupon_perc']/100; } $msg .= sprintf("TOTAL TO PAY ...........................".$cursym["$resdet[cursym]"]."%.2f
",($total_to_pay_mail-$discshow-$bonus_used+$transfers_price-$coup_disc)); $final_grand_amount = $total_to_pay_mail-$discshow-$bonus_used+$transfers_price-$coup_disc; if($resdet['days'] > $hotel_det['min_days_dep']) { if($resdet['earlybook_date'] != "0000-00-00") $dep_perc = $hotel_det[ea_percent_reservation]; else $dep_perc = $hotel_det[percent_reservation]; } else $dep_perc = "100"; $deposit_show = sprintf("%.2f",($final_grand_amount*$dep_perc/100)); $msg .= "DEPOSIT AMOUNT (".$ebdisc."%).............................".$cursym["$resdet[cursym]"]."$deposit_show
*** email will be sent for payment details
"; //print $msg."
"; $subject = "New Reservation Details for $hotel_det[name]"; $header = "Content-Type: text/html; charset=".CHARSET."\n"; $header .= "From: ".$resdet['sitefrom']."<".$detadmin['email'].">"; @mail($cust['email'],$subject,$msg,$header); if($_REQUEST['ccmail'] != "" && preg_match("/@/",$_REQUEST['ccmail'])) @mail($_REQUEST['ccmail'],$subject,$msg,$header); ################################################################################### } /*********** change status ****************/ if($_REQUEST['nst'] == "x") { mysql_query("UPDATE reservation SET idstatus='0',notavlb='1' WHERE coderes='".$_REQUEST[coderes]."'") or die(mysql_error()); mysql_query("UPDATE customer_account SET active='0' WHERE coderes='".$_REQUEST[coderes]."' AND amount_out>0"); ?> "; mysql_query("UPDATE reservation SET finalpaid='1' WHERE coderes='".$_REQUEST[coderes]."'") or die(mysql_error()); $msg_user = "Dear Valued Customer,
"; $msg_user .= "You have just made a booking through one of our service providers. Total payment is received and your reservation is confirmed. Thank you.

"; $msg_user .= "I would like to remind you that your booking is under the guarantee of OTTI TRAVEL, one of the leading tour operators in Turkey.

"; $msg_user .= "We give you the guarantee that we will keep an eye on you from your arrival to your departure, and we will do our best to ensure that the services you've purchased from us are running perfectly.

"; $msg_user .= "Beside hotel bookings, OTTI TRAVEL manages destination services such as airport transfers, private tours to historical places, daily excursions, tickets to waterparks, Turkish nights and any other attractions. For any of these services that you would be interested in, please do not hesitate to send an e-mail to us or visit our web page to get free information and consultance.

"; $msg_user .= "Wishing you a great time in Turkey!

"; $msg_user .= "Regards,
OTTI TRAVEL Team"; $subject = "Total Payment for $hotel_det[name]"; $admin_email_final = ($location[1] != "" && preg_match("/@/",$location[1]))?"$location[1]":"$hotel_det[email]"; $header_cust = "Content-Type: text/html; charset=".CHARSET."\n"; $header_cust .= "From: ".$location[0]."<$admin_email_final>"; @mail("$cust[email]",$subject,$msg_user,$header_cust); //print "$cust[email] - $location[0] - $admin_email_final
"; //print $msg_user; } elseif(isset($_REQUEST['nst']) && $_REQUEST['nst'] > 0) { if($_REQUEST["nst"] != "2") { if($_REQUEST["nst"] == 1) { mysql_query("UPDATE reservation SET pay_approved='0',notavlb='0',notpaid='0' WHERE coderes='".$_REQUEST['coderes']."'") or die(mysql_error()); } mysql_query("UPDATE reservation SET idstatus='".$_GET[nst]."' WHERE coderes='".$_REQUEST['coderes']."'") or die(mysql_error()); } elseif($_REQUEST['nst'] == 2) { ?>

Reservation details
Hotel Name
Reservation Code
Reservation Date
Number of Room Reserved
Check-in
Check-out
Total Days
Customer Notes:
Reservation Currency:
Price details
0) { ?> 0) { ?> 0) { ?> 0) { $eb_disc = sprintf("%.2f",($total_price_disc * $resdat[earlybook_perc] / 100)); ?> 0) { $price_zn = "price".(($resdat['zonepri'] != '')?"_".$resdat['zonepri']:""); $price_free_zn = "price_free".(($resdat['zonepri'] != '')?"_".$resdat['zonepri']:""); $type_price_zn = "type_price".(($resdat['zonepri']!= '')?"_".$resdat['zonepri']:""); $child_min_age_zn = "child_min_age".(($resdat['zonepri'] != '')?"_".$resdat['zonepri']:""); $trapr = mysql_fetch_row(mysql_query("SELECT $price_zn,$price_free_zn,idtransfers,$type_price_zn,$child_min_age_zn FROM transfers_prices WHERE idhotels='".$resdat[idhotels]."' AND idtransfers='".$transfers['idtransfers_prices']."'")); //$trapr = mysql_fetch_row(mysql_query("SELECT $price_zn,$price_free_zn,idtransfers FROM transfers_prices WHERE idhotels='".$resdat[idhotels]."' AND idtransfers='$transfers[idtransfers_prices]'")); $oneway = mysql_fetch_row(mysql_query("SELECT retopt FROM transfers WHERE ID='$trapr[2]'")); $type_tr = ($oneway[0] == 1)?"round trip":"one way"; if($trapr[0] > 0) { if($trapr[3] == 'st') { $transfers_price = $trapr[0]; $transfers_msg = sprintf($cursym["$resdat[cursym]"]." %.2f",$trapr[0]); } elseif($trapr[3] == 'pp') { $childs_age_num = mysql_num_rows(mysql_query("SELECT * FROM reserve_details WHERE coderes='".$_REQUEST['coderes']."' AND child_num>'0' AND child_age>'$trapr[4]'")); $adult_num = mysql_fetch_row(mysql_query("SELECT SUM(num_adults) FROM reserve_details WHERE coderes='".$_REQUEST['coderes']."' AND price_adults>'0'")); $transfers_price = $trapr[0]*($childs_age_num+$adult_num[0]); $transfers_msg = sprintf($cursym["$resdat[cursym]"]." %.2f",$transfers_price); $transfers_msg .= "
($trapr[0] x ".($childs_age_num+$adult_num[0]).")"; } } elseif($trapr[0] == 0 && $trapr[1] == 1) { $transfers_price = 0; $transfers_msg = "Free"; } } else { $transfers_price = 0; $transfers_msg = ""; } if($transfers_msg != "") { ?> 0")); //AND retstatus='0' if($resdat['days'] > $hotel_det['min_days_dep']) { if($resdat['earlybook_date'] != "0000-00-00") { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price)*$hotel_det[ea_percent_reservation]/100)); $dep_perc = $hotel_det[ea_percent_reservation]; } else { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price)*$hotel_det[percent_reservation]/100)); $dep_perc = $hotel_det[percent_reservation]; } } else { //$deposit = sprintf("%.2f",(($total_price_disc-$coup_disc_val_x-$check_bonus_amount[0]-$eb_disc+$transfers_price))); $dep_perc = "100"; } $grand_total = $total_price_disc-$eb_disc+$transfers_price; if($resdat['coupon_value'] > 0) { $coup_disc_val = $resdat['coupon_value']; ?> 0) { $coup_disc_val = sprintf("%.2f",($grand_total*$resdat['coupon_perc']/100)); ?> 0) { ?> ".$cursym["$resdat[cursym]"]."%.2f) IN HOTEL",$rest_amount); } else { $last_date_tp = strtotime($resdati['check_in']." -14days"); $rest_msg = sprintf("Pay rest of Amount (".$cursym["$resdat[cursym]"]."%.2f) within ".date("d.m.Y",$last_date_tp)."",$rest_amount); } ?>
Room n°    ()
Room price Price x Adult 1)?"s":"";?> Child (Age : ) 0) { if($sign == 'p') $loc_room_price = sprintf("%.2f",($pri['room_price']+($pri['room_price']*$dval/100))); else $loc_room_price = sprintf("%.2f",($pri['room_price']-($pri['room_price']*$dval/100))); ?> 0)?$loc_room_price:"0.00";?> 0) { if($sign == 'p') $loc_price_adults = sprintf("%.2f",($pri['price_adults']+($pri['price_adults']*$dval/100))); else $loc_price_adults = sprintf("%.2f",($pri['price_adults']-($pri['price_adults']*$dval/100))); ?> 0)?$loc_price_adults:"0.00";?> 0) { if($sign == 'p') $loc_child_price = sprintf("%.2f",($pri['child_price']+($pri['child_price']*$dval/100))); else $loc_child_price = sprintf("%.2f",($pri['child_price']-($pri['child_price']*$dval/100))); ?> 0)?$loc_child_price:"0.00";?>
Total Room
Early Booking Discount (-%) -
Transfers ()
Coupon Discount -
Coupon Discount (-%) -
Bonus Used -
Grand Total
Deposit (%)
Reservation Status

NOT AVALAIBLE
NOT PAYED
REQUEST CANCELLATION
0) { ?>
EXPIRED
(confirmed)
EXPIRED
(unconfirmed)
NO TOTAL PRICE
Not avalaible Not avalaible
PENDING AVALAIBILITY

Bank Transfer "; if($resdat[expire_bt] != "0000-00-00") print " within $resdat[expire_bt]
"; else print "
"; } if($resdat['pay_with_cc'] == 1) { print "Credit card"; if($resdat[expire_cc] != "0000-00-00") print " within $resdat[expire_cc]
"; else print "
"; } if($resdat['pay_with_wu'] == 1) { print "Western Union"; if($resdat['expire_wu'] != "0000-00-00") print " within ".$resdat['expire_wu']."
"; else print "
"; } if($resdat['pay_with_fx'] == 1) print "Credit card by Fax
"; if($resdat['pay_with_cl'] == 1 ) { $cust_phone = mysql_fetch_array(mysql_query("SELECT * FROM customer WHERE ID='".$resdat[idcustomer]."'")); print "Call by phone"; if($cust_phone['cust_phone_numb'] != "") { print ": ".$cust_phone['cust_phone_prefix'] ."-".$cust_phone['cust_phone_numb']."
"; print "Calling time : ".$cust_phone['calling_time']."
"; } else print "
"; } $amount_id = ($check_bonus_amount[1] > 0)?"&idbn=$check_bonus_amount[1]":""; } elseif($resdat['idstatus'] == 3) { $butbgcol = ($row['finalpaid'] == "0")?"lightgreen":"yellow"; ?> FINAL CONFIRMATION
CONFIRMED / CLOSED



Customer Details
First Name:
Last Name:
Address:
City:
Province:
Country:
Phone:
Email:

 

0 || $resdat[pay_with_bt] > 0 || $resdat[pay_with_wu] > 0 || $resdat[pay_with_fx] > 0 || $resdat[pay_with_cl] > 0) { if($cust[cc_number] != "" || $resdat[pay_with_cc] == 1) { ?>
CC Type:
CC number:
CC Expire date:
CC secure code:
CC Owner name:
Paid with Western Union
Credit card by Fax
Call by phone: -
Calling time :
Paid with BANK TRANSFER


11) return $cc_number; else return "not valid number"; } else { if($len > 4) return str_repeat("*",($len-4)).substr($cc_number,-4); else return str_repeat("*",12); } } ?>