			<div class="introBlock ibSlider">
			<?php
			$slidercek=$db->query("select * from slider where durum='0' order by sira asc",PDO::FETCH_ASSOC);
			if($slidercek->rowCount()){foreach($slidercek as $slider){
			?>
				<div>
					<article class="d-flex w-100 position-relative ibColumn text-white overflow-hidden">
						<div class="alignHolder d-flex align-items-center w-100">
							<div class="align w-100 pt-20 pb-20 pt-md-20 pb-md-30 px-md-17">
								<div class="container position-relative">
									<div class="row">
										<div class="col-12 col-md-6 col-xl-5 fzMedium mb-5">
											<h1 class="text-white mb-4 h1Large"><?=$slider['adi']?></h1>
											<?=$slider['aciklama']?>
											<a href="https://wa.me/<?=str_replace("+","",str_replace(" ","",$ayar['firma_telefon2']));?>" class="btn btn-success font-weight-bold btnMinSm text-capitalize position-relative border-0 p-0 mt-6" data-hover="WhatsApp" target="_blank">
												<span class="d-block btnText">WhatsApp</span>
											</a>
											<a href="tel://<?=$ayar['firma_telefon1'];?>" class="btn btn-info font-weight-bold btnMinSm text-capitalize position-relative border-0 p-0 mt-6" data-hover="Bizi Arayın" target="_blank">
												<span class="d-block btnText">Bizi Arayın</span>
											</a>
											<a href="<?=$slider['sayfa_title']?>" class="btn btnTheme font-weight-bold btnMinSm text-capitalize position-relative border-0 p-0 mt-6" data-hover="Daha Fazla">
												<span class="d-block btnText">Daha Fazla</span>
											</a>
										</div>
										<div class="col-12 col-md-6 col-xl-3"></div>
										<div class="col-12 col-md-6 col-xl-4 fzMedium">
											<aside class="widget dfsFormWrap mb-0 fontAlter mt-0 bg-white shadow overflow-hidden">
                                            <?php
                                			if(isset($_POST['adi']) && isset($_POST['telefon']) && isset($_POST['email'])) {
                                				function epostakontrol($email){if (filter_var($email, FILTER_VALIDATE_EMAIL)){return 1;} else {return 0;}} 
                                				$gelen_mail = $_POST['email']; $mail_kontol=epostakontrol($gelen_mail);
                                				
                                			   if(empty($_POST['adi']) || empty($_POST['telefon']) || empty($_POST['email'])) 
                                			   {
                                				  $bilgi= '
                                                        <p style="color:#D50000"> Lütfen Boş Yer Bırakmayın.</p>                  
                                				  ';
                                				} 
                                				
                                				
                                				else if($mail_kontol == "0"){$bilgi= '
                                                <p style="color:#D50000"> Lütfen e-posta adresinizi doğru girin.</p>                  
                                				';} 
                                				
                                				else
                                				
                                				{
                                				  include 'class.phpmailer.php';
                                						$mail = new PHPMailer();
                                						$mail->IsSMTP();
                                						$mail->Host = $ayar['site_mail_host'];
                                                        $mail->Port = $ayar['site_mail_port'];
                                                        $mail->SMTPAuth = true;
                                                        $mail->SMTPSecure = 'ssl';
                                						$mail->Username = $ayar['site_mail'];
                                						$mail->Password = $ayar['site_mail_sifre'];
                                						$mail->SetFrom($mail->Username, "PromMashTest Form");
                                						$mail->AddAddress($ayar['gonderen_mail'], $ayar['site_title']);
                                						$mail->CharSet = 'UTF-8';
                                						$mail->Subject = "Sizi Arayalım Form";
                                						$mail->MsgHTML('İsim:'.' '.$_POST["adi"].'<br/>
                                										Telefon:'.' '.$_POST["telefon"].'<br/>
                                										E-mail:'.' '.$_POST["email"].'');
                                			if($mail->Send()) 
                                			
                                			{
                                				$bilgi ='
                                				<p style="color:#00C853">Mesajınız başarıyla gönderildi. En kısa sürede dönüş sağlanacaktır.</p>
                                				';
                                			;} 
                                			
                                			
                                			else 
                                			{ 
                                			
                                			$bilgi= '
                                            <p style="color:#D50000">Mesaj gönderirken bir hata oluştu. Tekrar Deneyiniz.</p>
                                			'. $mail->ErrorInfo;  
                                 			}
                                			
                                			
                                			}}
                                			?>

												<form method="POST" class="py-8 px-3 px-sm-5 donationForm">
            								    <div class="row mx-n2"><?=$bilgi?></div>

													<div class="form-row mx-n2">
														<label class="col colFormLabel col-12 text-black mb-2 mb-md-5 mt-2 pb-1"><span class="d-block pb-1 text-center">Biz Sizi Arayalım</span></label>

														<div class="form-group col-12 col-sm-6 mt-1 mt-sm-0 px-2">
															<input type="text" class="form-control" name="adi" placeholder="Adınız Soyadınız">
														</div>
														<div class="form-group col-12 col-sm-6 px-2">
															<input type="text" class="form-control" name="telefon" placeholder="Telefon">
														</div>
													</div>
													<div class="form-row">
														<div class="form-group col-12">
															<input type="email" class="form-control" name="email" placeholder="Email">
														</div>
													</div>
							
													<div class="form-row">
														<div class="form-group mb-0 col-12">
															<button type="submit" class="btn btnTheme text-capitalize position-relative border-0 p-0 btnxLarge fwMedium w-100" data-hover="Gönder">
																<span class="d-block btnText">Gönder</span>
															</button>
														</div>
													</div>
												</form>
											</aside>
										</div>
									</div>
								</div>
							</div>
						</div>
						<span class="ibBgImage bgCover position-absolute" style="background-image: url(madmin/lib/images/slider/<?=$slider['resim']?>);"></span>
					</article>
				</div>
			<?php }}?>			
			</div>
