<?php 
$siparismetin= '
			
<table class="x_full-width-90" style="width:100%; max-width:680px; direction:ltr!important; border-collapse:collapse; border:0" width="680" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" align="center">
<tbody>
<tr style="direction:ltr!important">
<td style="width:95%; max-width:660px; direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:0; border:1px solid #dddddd" valign="top" align="center">
<table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr style="direction:ltr!important">
<td style="border-bottom-color:#cccccc; border-bottom-style:solid; direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:0; border-width:0 0 1px" valign="top">
<table style="direction:ltr!important; border-collapse:collapse; border:0" width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr style="direction:ltr!important">
<th style="font-weight:normal; direction:ltr!important; padding:0" valign="middle" align="left">
<table style="direction:ltr!important; border-collapse:collapse; border:0" width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr style="direction:ltr!important">
<td class="x_logo" style="direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:20px 0 7px; border:0" valign="top">
<a href="'.$url.'" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" style="direction:ltr!important" data-linkindex="0">
<img data-imagetype="External" src="'.$url.'/resimler/siteayarlari/'.$ayar['logo'].'" style="display:block; direction:ltr!important; height:auto; line-height:100%;
outline:none; text-decoration:none; border:0" width="200" border="0"></a>
</td>
</tr>
</tbody>
</table>
</th>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

<table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" align="center">
<tbody>
<tr style="direction:ltr!important"><td class="x_big-title" style="font-family:Arial,Helvetica,sans-serif; font-size:16px; font-weight:bold; color:#484848; direction:ltr!important; border-collapse:collapse; padding:20px 0 5px 10px; border:0" width="602" valign="middle" height="40" align="left">
<span style="direction:ltr!important">Merhaba 
<span style="text-transform:capitalize; direction:ltr!important">'.$adsoyad.'</span>, 
Siparişiniz durumu : <font style="font-weight:bold; color:#ff6000; direction:ltr!important">'.$durum.'</font></span>
</td>
</tr>
</tbody>
</table>

<table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" bgcolor="#f3f3f4" align="center">
<tbody>
<tr style="direction:ltr!important">
<td style="font-family:Arial,Helvetica,sans-serif; font-size:16px; color:#484848; direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:5px 10px; border:0" valign="top" align="left">
Sipariş Numaranız: &nbsp; <font style="font-weight:bold; color:#ff6000; direction:ltr!important">'.$siparisno.'</font>&nbsp;&nbsp;&nbsp; Ödeme Yöntemi: &nbsp; <font style="font-weight:bold; color:#ff6000; direction:ltr!important">'.$odemetipi.'</font>
</td>
</tr>
</tbody>
</table>


<table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr style="direction:ltr!important">
<td style="font-family:Arial; font-size:13px; line-height:18px; color:#484848; direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:15px 10px; border:0" valign="top" align="left">
Alışverişinizde bizi tercih ettiğiniz için teşekkür ederiz.
</td>
</tr>
</tbody>
</table>

<table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr style="direction:ltr!important">
<th class="x_column" style="font-weight:normal; direction:ltr!important; padding:0" width="100%" valign="top" align="left">
<table style="direction:ltr!important; border-collapse:collapse; border:0" width="100%" cellspacing="0" cellpadding="0" border="0">
 <tbody>
 
 <tr style="direction:ltr!important">
 <td class="x_urun" style="width: 20%;border-top-color:#ccc; border-top-style:dotted; border-bottom-color:#ccc;
 border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; font-weight:bold; font-size:13px; 
 min-width:100px; direction:ltr!important; border-collapse:collapse; padding:10px; border-width:1px 0" valign="top" bgcolor="#f3f3f4" align="left">Ürün </td>
 <td style="width: 20%;border-top-color:#ccc; border-top-style:dotted; border-bottom-color:#ccc; 
 border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; font-weight:bold;
 font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px; border-width:1px 0" width="35" valign="top" bgcolor="#f3f3f4" align="center">Birim Fiyatı </td>
 <td style="width: 20%;border-top-color:#ccc; border-top-style:dotted; border-bottom-color:#ccc; 
 border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; font-weight:bold;
 font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px; border-width:1px 0" width="35" valign="top" bgcolor="#f3f3f4" align="center">KDV </td>
 <td style="width: 20%;border-top-color:#ccc; border-top-style:dotted; border-bottom-color:#ccc; 
 border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; font-weight:bold;
 font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px; border-width:1px 0" width="35" valign="top" bgcolor="#f3f3f4" align="center">Adet </td>
 <td style="width: 20%;border-top-color:#ccc; border-top-style:dotted; border-bottom-color:#ccc;
 border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; 
 font-weight:bold; font-size:13px; direction:ltr!important; border-collapse:collapse; 
 padding:10px; border-width:1px 0" width="70" valign="top" bgcolor="#f3f3f4" align="center">Toplam </td>
 </tr>
 
 '.$mailtablomuz.'
 
 </tbody>
 </table>
 </th>
 <th class="x_column-spacer-small" style="direction:ltr!important; font-weight:normal; padding:0" 
 width="8" valign="top"></th>
 <th class="x_column" style="font-weight:normal; direction:ltr!important; padding:0"
 width="160" valign="top" align="left"></th>
 </tr>
 </tbody>
 </table>
 
 <table class="x_content-wrapper" style="width:95%; max-width:640px;
 direction:ltr!important; border-collapse:collapse; border:0" width="95%"
 cellspacing="0" cellpadding="0" border="0" align="center">
 <tbody>
 <tr style="font-size:1px; line-height:1px; direction:ltr!important">
 <td style="font-size:1px; line-height:1px; direction:ltr!important; border-collapse:collapse;
 font-weight:normal; padding:0; border:0" valign="top" height="15">&nbsp;</td>
 </tr>
 </tbody>
 </table>
 
 <table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important;
 border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0"
 border="0" align="center"><tbody><tr style="direction:ltr!important">
 </tr>
 </tbody>
 </table>
 <table class="x_content-wrapper" style="direction:ltr!important;
 border-collapse:collapse; border:0" width="640" cellspacing="0"
 cellpadding="0" border="0" align="center">
 <tbody>
 <tr style="direction:ltr!important">
 <th class="x_column" style="font-weight:normal; direction:ltr!important;
 padding:0" valign="top" align="center">
 <table style="direction:ltr!important; border-collapse:collapse; border:0" width="100%" 
 cellspacing="0" cellpadding="0" border="0"><tbody><tr style="direction:ltr!important">
 <th class="x_column" style="font-weight:normal; direction:ltr!important; padding:0" width="50%" 
 valign="top" align="left">
 <table style="direction:ltr!important; border-collapse:collapse; border:0" width="100%"
 cellspacing="0" cellpadding="0" border="0">
 <tbody>
 <tr style="direction:ltr!important">
 <td style="border-top-color:#ccc; border-top-style:dotted; border-bottom-color:#ccc;
 border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; font-weight:bold;
 font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px; border-width:1px 0"
 valign="top" bgcolor="#f3f3f4" align="left">Teslimat Adresi 
 </td></tr>
 <tr style="direction:ltr!important">
 <td style="font-family:Arial; font-size:13px; line-height:18px; color:#484848;
 direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:10px; border:0"
 valign="top" align="left">'.$adsoyad.'
 <br style="direction:ltr!important">'.$telefon.'
 <br style="direction:ltr!important">'.$adres.'
 <br style="direction:ltr!important">'.$il.'
 <br style="direction:ltr!important">'.$ilce.'
</td>
 </tr></tbody></table></th><th class="x_column" 
 style="font-weight:normal; direction:ltr!important; padding:0" width="50%"
 valign="top" align="center"><table style="direction:ltr!important; border-collapse:collapse;
 border:0" width="100%" cellspacing="0" cellpadding="0" border="0">
 <tbody><tr style="direction:ltr!important">
 <td style="border-top-color:#ccc; border-top-style:dotted; border-bottom-color:#ccc;
 border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; font-weight:bold; 
 font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px; border-width:1px 0" 
 valign="top" bgcolor="#f3f3f4" align="left">Fatura Adresi </td></tr><tr style="direction:ltr!important">
 <td style="font-family:Arial; font-size:13px; line-height:18px;
 color:#484848; direction:ltr!important; border-collapse:collapse; font-weight:normal;
 padding:10px; border:0" valign="top" align="left">'.$adsoyad.'
 <br style="direction:ltr!important">'.$vergibilgileri.'
 <br style="direction:ltr!important">'.$faturaadres.'
 <br style="direction:ltr!important">'.$faturail.'
 <br style="direction:ltr!important">'.$faturailce.'
 </td></tr></tbody></table></th>
 </tr></tbody></table></th></tr>
 </tbody></table>
 
 <table class="x_content-wrapper" style="width:95%; max-width:640px;
 direction:ltr!important; border-collapse:collapse; border:0" width="95%"
 cellspacing="0" cellpadding="0" border="0" align="center"><tbody>
 <tr style="font-size:1px; line-height:1px; direction:ltr!important">
 <td style="font-size:1px; line-height:1px; border-top-color:#ccc; border-top-style:dotted; 
 direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:0; 
 border-width:1px 0 0" valign="top" height="15">&nbsp;</td>
 </tr></tbody>
 </table>
 <table class="x_content-wrapper" style="width:95%; max-width:640px; 
 direction:ltr!important; border-collapse:collapse; border:0" width="95%" 
 cellspacing="0" cellpadding="0" border="0" align="center"><tbody>
 <tr style="font-size:1px; line-height:1px; direction:ltr!important">
 <td style="font-size:1px; line-height:1px; direction:ltr!important; 
 border-collapse:collapse; font-weight:normal; padding:0; border:0" 
 valign="top" height="15">&nbsp;</td></tr></tbody></table>
 <table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; 
 border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" 
 border="0" align="center"><tbody><tr style="direction:ltr!important">
 <td style="font-family:Arial,Helvetica,sans-serif; font-size:16px; font-weight:bold; 
 color:#ff6000; direction:ltr!important; border-collapse:collapse; padding:0 10px 10px; 
 border:0" valign="top">Ödeme Bilgileri </td></tr></tbody></table>
 <table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; 
 border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" 
 align="center"><tbody><tr style="direction:ltr!important">
 <th class="x_column" style="font-weight:normal; direction:ltr!important; padding:0"
 valign="top" align="left"><table style="direction:ltr!important; border-collapse:collapse; 
 border:0" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody>
 <tr style="direction:ltr!important"><td style="border-top-color:#ccc; border-top-style:dotted;
 border-bottom-color:#ccc; border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; 
 font-weight:bold; font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px;
 border-width:1px 0" valign="top" bgcolor="#f3f3f4" align="left">Toplam Tutar </td></tr>
 <tr style="direction:ltr!important">
 <td style="font-family:Arial; font-size:13px; line-height:18px; color:#484848; 
 direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:10px;
 border:0" valign="top" align="left">'.fiyatgoster($mailtoplamtutari).'</td></tr></tbody></table></th>
 
 <th class="x_column" style="font-weight:normal; direction:ltr!important; padding:0" valign="top" 
 align="center"><table style="direction:ltr!important; border-collapse:collapse; border:0" 
 width="100%" cellspacing="0" cellpadding="0" border="0"><tbody>
 <tr style="direction:ltr!important"><td style="border-top-color:#ccc; border-top-style:dotted; 
 border-bottom-color:#ccc; border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; 
 font-weight:bold; font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px;
 border-width:1px 0" valign="top" bgcolor="#f3f3f4" align="left">Kargo Bedeli</td>
 </tr><tr style="direction:ltr!important">
 <td class="x_black" style="font-family:Arial; font-size:13px; line-height:18px; 
 color:#484848; direction:ltr!important; border-collapse:collapse; font-weight:normal;
 padding:10px; border:0" valign="top" align="left"> '.fiyatgoster($kargotutari).'</td></tr>
 </tbody></table></th>
 
 <th class="x_column" style="font-weight:normal; direction:ltr!important; padding:0" valign="top" 
 align="center"><table style="direction:ltr!important; border-collapse:collapse; border:0" 
 width="100%" cellspacing="0" cellpadding="0" border="0"><tbody>
 <tr style="direction:ltr!important"><td style="border-top-color:#ccc; border-top-style:dotted; 
 border-bottom-color:#ccc; border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; 
 font-weight:bold; font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px;
 border-width:1px 0" valign="top" bgcolor="#f3f3f4" align="left">İndirim Bedeli</td>
 </tr><tr style="direction:ltr!important">
 <td class="x_black" style="width: 200px;font-family:Arial; font-size:13px; line-height:18px; 
 color:#484848; direction:ltr!important; border-collapse:collapse; font-weight:normal;
 padding:10px; border:0" valign="top" align="left">'.$havaleindirimmetin.' '.$kuponindirmetni.' '.$cekindirimetni.' </br>Toplam İndirim : <b style="color:red">- '.fiyatgoster($toplamindirim).'</b></td></tr>
 </tbody></table></th>
 
 
 <th class="x_column" style="font-weight:normal; direction:ltr!important; padding:0" valign="top" 
 align="center"><table style="direction:ltr!important; border-collapse:collapse; border:0" 
 width="100%" cellspacing="0" cellpadding="0" border="0"><tbody>
 <tr style="direction:ltr!important"><td style="border-top-color:#ccc; border-top-style:dotted; 
 border-bottom-color:#ccc; border-bottom-style:dotted; font-family:Arial,Helvetica,sans-serif; 
 font-weight:bold; font-size:13px; direction:ltr!important; border-collapse:collapse; padding:10px;
 border-width:1px 0" valign="top" bgcolor="#f3f3f4" align="left">Toplam Ödenen Tutar </td>
 </tr><tr style="direction:ltr!important">
 <td class="x_black" style="font-family:Arial; font-size:13px; line-height:18px; 
 color:#484848; direction:ltr!important; border-collapse:collapse; font-weight:normal;
 padding:10px; border:0" valign="top" align="left">'.fiyatgoster($toplamtutar).'</td></tr>
 </tbody></table></th>
 </tr>
 </tbody>
 </table>
 <table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" align="center"></table><table class="x_content-wrapper" style="width:95%; max-width:640px; direction:ltr!important; border-collapse:collapse; border:0" width="95%" cellspacing="0" cellpadding="0" border="0" align="center"><tbody><tr style="font-size:1px; line-height:1px; direction:ltr!important"><td style="font-size:1px; line-height:1px; border-top-color:#ccc; border-top-style:dotted; direction:ltr!important; border-collapse:collapse; font-weight:normal; padding:0; border-width:1px 0 0" valign="top" height="30">&nbsp;</td></tr></tbody></table></td></tr></tbody></table>
 ';
 ?>