NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<?php
include("Shopier.php");
include("tasarim/tavan.php");
$bilgiler = $DB->SELECT("paketler","*","where id='".$_GET["id"]."'");
if($bilgiler["adet"]=="0")
{
guvenliyonlendirme(AnaDomain);
}
$bilgi = $bilgiler["data"][0];
$hizmet = $DB->WHERE("hizmetler","id='".$bilgi["hizmet"]."'","adi");
$hizmet_resim = $DB->WHERE("hizmetler","id='".$bilgi["hizmet"]."'","resim");
?>
<section class="banner-area">
<div class="container">
<div class="row justify-content-center align-items-center">
<div class="col-lg-12 banner-right">
<h1 class="text-white">
<?php echo $hizmet; ?>
</h1>

</div>
</div>
</div>
</section>
<div class="faq-timeline-area section-padding-100-85" id="faq">
<div class="container">
<div class="section-heading text-center">
<div class="dream-dots justify-content-center fadeInUp" data-wow-delay="0.2s">
</div>
<h2 class="fadeInUp" data-wow-delay="0.3s"> <?php echo $hizmet; ?> - <?php echo $bilgi["adi"]; ?></h2>
</div>
<div class="row">
<div class="col-12 col-lg-12 col-md-12">
<?php

$islem = "no";
if($_POST)
{
if($_POST["adi"]=="" or $_POST["email"]=="" or $_POST["telefon"]=="" or $_POST["odeme_tipi"]=="")
{
$islemyazi= alert("Hata","Lütfen tüm alanları doldurun");
$islem = "no";
}
else
{
$DB->INSERT("siparisler","paket,tutar,adi,email,telefon,bilgi,odeme_tipi,tarih,durum","'".$_POST["paket"]."','".$bilgi["fiyat"]."','".$_POST["adi"]."','".$_POST["email"]."','".$_POST["telefon"]."','".$_POST["bilgi"]."','".$_POST["odeme_tipi"]."',now(),'0'");
$sipID = mysql_insert_id();
if($_POST["odeme_tipi"]=='Kredi Kartı') {


$shopier = new Shopier("".SHOPIER_KEY."", "".SHOPIER_SECRET."");
$shopier->setBuyer(Array(
'id' => ($sipID-10),
'first_name' => $_POST["adi"], 'last_name' => " ", 'email' => $_POST["email"], 'phone' => $_POST["telefon"]));
$shopier->setOrderBilling(Array(
'billing_address' => $_POST["bilgi"]." ".$hizmet." - ".$bilgi["adi"],
'billing_city' => 'Gaziantep',
'billing_country' => 'turkey',
'billing_postcode' => '27500',
));
$shopier->setOrderShipping(Array(
'shipping_address' => 'Kısılıklı Cad. No: 28/2',
'shipping_city' => 'Gaziantep',
'shipping_country' => 'turkey',
'shipping_postcode' => '27500',
));
echo $shopier->run($sipID, $bilgi["fiyat"], CALLBACKURL);
die();

}

$islemyazi = alert("Başarılı","Siparişiniz için teşekkür ederiz. Sipariş kontrol sayfasından siparişiniz kodunuz ile siparişinizin durumunu görüntüleyebilirsiniz.");
$islem = "ok";
}
echo $islemyazi;
}
?>
<?php
if($islem=="no")
{
?>
<form action="" method="post">
<input type="hidden" class="paket" name="paket" value="<?php echo $bilgi["id"]; ?>">
<div class="dream-faq-area mt-s ">
<div class="card">
<div class="card-body">
<img src="<?php echo resimurl($hizmet_resim); ?>" style="width:200px">
<br><br>
<b>Sipariş Bilgisi:</b> <?php echo $hizmet; ?> - <?php echo $bilgi["adi"]; ?><br><br>
<b>Ödeme Tutarı:</b> <?php echo $bilgi["fiyat"]; ?> TL <br><br>
<div class="form-group row">
<div class="col-lg-12">
<input type="text" class="form-control" name="bilgi" required placeholder="<?php echo $bilgi["bilgi"]; ?>" >
</div>
</div>
<div class="form-group row">
<div class="col-lg-12">
<input type="text" class="form-control" name="adi" required placeholder="İsim Soyisim" >
</div>
</div>
<div class="form-group row">
<div class="col-lg-12">
<input type="text" class="form-control" name="telefon" required placeholder="Telefon Numaranız" >
</div>
</div>
<div class="form-group row">
<div class="col-lg-12">
<input type="text" class="form-control" name="email" required placeholder="Email Adresiniz" >
</div>
</div>
<div class="form-group row">
<div class="col-lg-12">
<select class="form-control odeme_tipi" name="odeme_tipi">
<option value="">Bir Ödeme Yöntemi Seçiniz</option>
<option value="Kredi Kartı">Kredi Kartı</option>
<?php
$bankalar = $DB->SELECT("bankalar","*","order by adi asc");
foreach($bankalar["data"] as $banka)
{
echo '
<option value="'.$banka["adi"].'">Havale / EFT: '.$banka["adi"].'</option>';
}
?>

</select>
</div>
</div>
<div class="odeme_bilgi">
</div>
<input type="submit" class="btn btn-success btn-block" value="Siparişi Tamamla">
</div>
</div>
</div>
</form>
<?php
}
else
{
?>
<div class="card">
<div class="card-body">
<b>Sipariş Bilgisi:</b> <?php echo $hizmet; ?> - <?php echo $bilgi["adi"]; ?><br><br>
<b>Ödeme Tutarı:</b> <?php echo $bilgi["fiyat"]; ?> TL <br><br> <br>

<b>Sipariş Kodunuz: <?php echo $sipID; ?></b>


</div>
</div>
<?php
}
?>
</div>

</div>
</div>
</div>
<div class="clearfix"></div>
<br/>
<br/>
<br/>



<?php
include("tasarim/taban.php");
?>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.