<?php echo !defined("GUVENLIK") ? die("Erisim Engellendi!.") : null;?>
<?php $id = g('id');?>
<?php $urun = Sonuc(Sorgu("SELECT * FROM urunler WHERE durum = '1' AND seo = '$id'"));?>
<?php $kategori = Sonuc(Sorgu("SELECT * FROM urun_kategori WHERE id = '$urun->kategori'"));?>
<?php $altkategori = Sonuc(Sorgu("SELECT * FROM alt_urun_kategori WHERE id = '$urun->altkategori'"));?>
<?php $link = Sonuc(Sorgu("SELECT * FROM alt_urun_kategori WHERE durum = '1'"));?>
	<div id="onernote" style="width:300px;position:fixed;top:10px;right: 5px;z-index:99999;font-size:12px;"></div>
<div class="columns-container">
    <div class="container" id="columns">
        <!-- breadcrumb -->
        <div class="breadcrumb clearfix">
            <a class="home" href="index.html" title="Anasayfaya Git">Anasayfa</a>
            <span class="navigation-pipe">&nbsp;</span>
            <a href="Kategori/<?php echo $link->seo;?>.html" title="Kategoriye Git"><?php echo $kategori->kategori_adi;?></a>
            <span class="navigation-pipe">&nbsp;</span>
            <a href="Kategori/<?php echo $altkategori->seo;?>.html" title="Return to Home"><?php echo $altkategori->kategori_adi;?></a>
            <span class="navigation-pipe">&nbsp;</span>
            <span class="navigation_page"><?php echo $urun->adi;?></span>
        </div>
        <!-- ./breadcrumb -->
        <!-- row -->
        <div class="row">
           
            <!-- Center colunm-->
            <div class="center_column col-xs-12 col-sm-9" id="center_column">
                <!-- Product -->
                    <div id="product">
                        <div class="primary-box row">
                            <div class="pb-left-column col-xs-12 col-sm-6">
                                <!-- product-imge-->
                                <div class="product-image">
                                    <div class="product-full">
                                        <img id="product-zoom" src='uploads/urunler/orta/<?php echo $urun->resim;?>' data-zoom-image="uploads/urunler/<?php echo $urun->resim;?>"/>
                                    </div>
                                    <div class="product-img-thumb" id="gallery_01">
                                        <ul class="owl-carousel" data-items="3" data-nav="true" data-dots="false" data-margin="20" data-loop="true">
                                            <li>
                                                <a href="javascript:void(0);" data-image="uploads/urunler/orta/<?php echo $urun->resim;?>" data-zoom-image="uploads/urunler/<?php echo $urun->resim;?>">
                                                    <img id="product-zoom"  src="uploads/urunler/kucuk/<?php echo $urun->resim;?>" /> 
                                                </a>
                                            </li>
											<?php $Sorgu = Sorgu("SELECT * FROM urun_resim WHERE urun_id = '$urun->id'");
											while($Sonuc = Sonuc($Sorgu)){?>
                                            <li>
                                                <a href="javascript:void(0);" data-image="uploads/urunler/diger/orta/<?php echo $Sonuc->resim_yolu;?>" data-zoom-image="uploads/urunler/diger/<?php echo $Sonuc->resim_yolu;?>">
                                                    <img id="product-zoom"  src="uploads/urunler/diger/kucuk/<?php echo $Sonuc->resim_yolu;?>" /> 
                                                </a>
                                            </li>
											<?php }?>
                                        </ul>
                                    </div>
                                </div>
                                <!-- product-imge-->
                            </div>
							
                            <div class="pb-right-column col-xs-12 col-sm-6">
							<form action="?ekle=<?php echo $urun->id;?>" method="post">
                                <h1 class="product-name"><?php echo $urun->adi;?></h1>
                                <div class="product-comments">
								<?php $YorumVarmi = Sonuc(Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$urun->id'"));?>
								<?php if($YorumVarmi > 0){?>
									<?php $Sorgu = Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$urun->id' ORDER BY id DESC");
									$ytoplam = 0;
									$say = 0;
									while($Sonuc = Sonuc($Sorgu)){?>
									<?php $ytoplam+=$Sonuc->puan;?>
									<?php $say++;?>
									<?php }?>
								<?php $yorumorani = ($ytoplam) / ($say*5) * 100;?>
								<?php 
								if($yorumorani <= 20){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									</div>
									';
								}elseif($yorumorani <= 30){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star-half-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									</div>
									';
								}elseif($yorumorani <= 40){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									</div>
									';
								}elseif($yorumorani <= 50){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star-half-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									</div>
									';
								}elseif($yorumorani <= 60){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									</div>
									';
								}elseif($yorumorani <= 70){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star-half-o"></i>
									<i class="fa fa-star-o"></i>
									</div>
									';
								}elseif($yorumorani <= 80){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star-o"></i>
									</div>
									';
								}elseif($yorumorani <= 90){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star-half-o"></i>
									</div>
									';
								}elseif($yorumorani <= 100){
									echo '
									<div class="product-star">
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									<i class="fa fa-star"></i>
									</div>
									';
								}
								?>
								
								<?php }else{?>
								<div class="product-star">
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
									<i class="fa fa-star-o"></i>
								</div>
								<?php }?>  
                                    <div class="comments-advices">
										<?php $urunyorumsayisi = Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$urun->id'");?>
                                        <a style="font-size:12px;cursor:pointer" class="page-scroll" href="#reviews">Toplam Yorum (<?php echo mysql_num_rows($urunyorumsayisi);?>)</a>
                                    </div>
                                </div>
                                <div class="product-price-group">
									<?php if($urun->indirim == "1"){?>
                                    <span class="price"><?php echo number_format($urun->ifiyat, 2, ',', '.'); ?> TL</span>
                                    <span class="old-price"> <?php echo number_format($urun->fiyat, 2, ',', '.'); ?> TL</span>
									<?php 
									$fiyat1 	= $urun->fiyat - $urun->ifiyat; 
									$fiyat2 	= $urun->fiyat; 
									$yuzde 		= ($fiyat1 / $fiyat2) * 100;									
									$ff 		=  $urun->ifiyat;								
									?>
                                    <span class="discount"> %<?php echo floor($yuzde);?> İNDİRİM</span>
									<?php }elseif($urun->indirim == "0"){?>
									<span class="price"> <?php echo number_format($urun->fiyat, 2, ',', '.'); ?> TL</span>
									<?php $ff 		=  $urun->fiyat;?>
									<?php }?>
                                </div>
                                <div class="info-orther">
                                    <p>Ürün Kodu: <?php echo $urun->urun_kodu;?></p>
                                    <p>Stok Durumu: 
									<?php echo($urun->stok > 0 ? '<span class="in-stock"> Var </span>' : '<span class="out-stock"> Tükendi</span>')?>
									</p>
                                </div>
								<?php if($urun->ozellik){?>
                                <div class="product-desc" style="line-height: 20px;font-size: 12px;">
                                     <?php 
									 $parcala = explode("|",$urun->ozellik);
									 $index = end($parcala);
									 foreach($parcala as $ozellik){?>
										 <?php echo $ozellik;?><?php echo($ozellik != $index ? ',' : '');?>
									 <?php }?>
                                </div>
								<?php }?>
                                <div class="form-option">
                                    <p class="form-option-title">Mevcut Seçenekler:</p>
									<?php 
									$bol = explode("||",$altkategori->sec_kat);
									foreach ($bol as $b){
									$SecenekSorgu = Sorgu("SELECT * FROM secenek_kategori WHERE kategori_adi = '$b' ORDER BY id ASC");
									while($SecenekSonuc = Sonuc($SecenekSorgu)){?>
                                    <div class="attributes">
                                        <div class="attribute-label"><?php echo $SecenekSonuc->kategori_adi;?>:</div>
                                        <div class="attribute-list">
                                            <select name="secenek[]">
											<?php 
											$sec = explode("||",$urun->secenek);
											foreach ($sec as $bb){
											$Sorgu = Sorgu("SELECT * FROM secenek WHERE kategori = '$SecenekSonuc->id' AND adi = '$bb' ORDER BY id ASC");
											while($Sonuc = Sonuc($Sorgu)){?>
                                                <option value="<?php echo $Sonuc->id;?>"><?php echo $Sonuc->adi;?></option>
											<?php }}?>
                                            </select>
                                        </div>   
                                    </div>
									<?php }}?>
									<div class="attributes">
                                        <div class="attribute-label">Adet:</div>
                                        <div class="attribute-list product-qty">
                                            <div class="qty">
                                                <input name="adet" id="option-product-qty" type="text" value="1">
                                            </div>
                                            <div class="btn-plus">
                                                <a href="#" class="btn-plus-up">
                                                    <i class="fa fa-caret-up"></i>
                                                </a>
                                                <a href="#" class="btn-plus-down">
                                                    <i class="fa fa-caret-down"></i>
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-action">
									
                                    <div class="button-group">
										<button class="btn-add-cart"><i style="font-size: 20px;" class="fa fa-shopping-cart"></i> Sepete Ekle</button>
                                    </div>
									
                                </div>
                                <div class="form-share">
                                    <div class="sendtofriend-print">
                                        <a href="?kekle=<?php echo $urun->id;?>"><i class="fa fa-bar-chart"></i> Karşılaştır</a>
                                        <a href="yazdir.php?yazdir=<?php echo $id;?>"><i class="fa fa-print"></i> Yazdır</a>
                                        <a data-toggle="modal" data-target="#tavsiyeet" href="javascript:void(0);"><i class="fa fa-envelope-o fa-fw"></i>Arkadaşına Gönder</a>
                                    </div>
                                    <div class="network-share" style="margin-top:5px;margin-left:-2px;">
									<span class="st_sharethis_large" displayText="ShareThis"></span>
									<span class="st_facebook_large" displayText="Facebook"></span>
									<span class="st_twitter_large" displayText="Tweet"></span>
									<span class="st_linkedin_large" displayText="LinkedIn"></span>
									<span class="st_pinterest_large" displayText="Pinterest"></span>
									<span class="st_email_large" displayText="Email"></span>

									<script type="text/javascript">
										var switchTo5x = true;
									</script>
									<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
									<script type="text/javascript">
										stLight.options({
											publisher: "b4cce8b7-27e4-4906-a800-0895adae9108",
											doNotHash: false,
											doNotCopy: false,
											hashAddressBar: false
										});
									</script>
									</div>
                                </div>
								</form>
                            </div>
                        </div>
                        <!-- tab product -->
                        <div class="product-tab">
                            <ul class="nav-tab">
                                <li class="active">
                                    <a aria-expanded="false" data-toggle="tab" href="#product-detail" data-name="ac">AÇIKLAMA</a>
                                </li>
								<?php if($urun->ozellik){?>
								<li>
                                    <a data-toggle="tab" href="#ozellikler" data-name="oz">ÖZELLİKLER</a>
                                </li>
								<?php }?>
                                <li>
                                    <a data-toggle="tab" href="#reviews" data-name="yor">YORUMLAR</a>
                                </li>
                                <li>
                                    <a data-toggle="tab" href="#taksit" data-name="tak">TAKSİT SEÇENEKLERİ</a>
                                </li>
								<li>
                                    <a data-toggle="tab" href="#extra-tabs" data-name="ia">İADE KOŞULLARI</a>
                                </li>
                            </ul>
                            <div class="tab-container" style="font-size:12px;">
                                <div id="product-detail" class="tab-panel active">
                                    <?php echo $urun->aciklama;?>
                                </div>
								<?php if($urun->ozellik){?>
								<div id="ozellikler" class="tab-panel">
								<table class="table table-bordered">
							     <?php $parcala = explode("|",$urun->ozellik);
								 foreach($parcala as $ozellik){?>
									 <tr>
                                            <td><?php echo $ozellik;?></td>
                                     </tr>
								 <?php }?> 
								 </table>
								 <div class="clearfix"></div>
                                </div>
								<?php }?>
                                <div id="reviews" class="tab-panel">
								
                                    <div class="product-comments-block-tab">
									<?php $Sorgu = Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$urun->id' ORDER BY id DESC");
									if(!mysql_affected_rows()){
										echo '<div class="well">Bu ürün için henüz yorum yazılmamış. İlk yorumu siz yapmak istermisiniz?</div>';
									}else{
									while($Sonuc = Sonuc($Sorgu)){?>
									<?php $bilgilerim = Sonuc(Sorgu("SELECT * FROM uyeler WHERE durum = '1' AND id = '$Sonuc->uye_id'"));?>
                                        <div class="comment row">
                                            <div class="col-sm-3 author">
                                                <div class="grade">
                                                    <span><?php echo $Sonuc->baslik;?></span>
                                                    <span class="reviewRating">
													<?php if($Sonuc->puan == "1"){?>
                                                        <i class="fa fa-star"></i>
														<i class="fa fa-star-o"></i>
														<i class="fa fa-star-o"></i>
														<i class="fa fa-star-o"></i>
														<i class="fa fa-star-o"></i>
													<?php }elseif($Sonuc->puan == "2"){?>
														<i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
														<i class="fa fa-star-o"></i>
														<i class="fa fa-star-o"></i>
														<i class="fa fa-star-o"></i>
													<?php }elseif($Sonuc->puan == "3"){?>
														<i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
                                                        <i class="fa fa-star-o"></i>
                                                        <i class="fa fa-star-o"></i>
													<?php }elseif($Sonuc->puan == "4"){?>
														<i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
														<i class="fa fa-star-o"></i>
													<?php }elseif($Sonuc->puan == "5"){?>
														<i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
                                                        <i class="fa fa-star"></i>
													<?php }?>
                                                    </span>
                                                </div>
                                                <div class="info-author">
                                                    <span><strong><?php echo $bilgilerim->ad;?> <?php echo $bilgilerim->soyad;?></strong></span><br>
                                                    <em style="font-size:12px;"><?php echo $Sonuc->tarih;?></em>
                                                </div>
                                            </div>
                                            <div class="col-sm-9 commnet-dettail">
                                                <?php echo $Sonuc->yorum;?>
                                            </div>
                                        </div>
									<?php }}?>
									<?php if(isset($_SESSION["email"])){?>
										<br>
										<p>
											 <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal"><i class="fa fa-comments-o"></i> Yorum Yap</button>
                                        </p>
									<?php }?>
									<?php if(!isset($_SESSION["email"])){?>
										<a href="giris.html" class="btn btn-primary" ><i class="fa fa-comments-o"></i> Yorum yapmak için giriş yapınız</a>
									<?php }?> 
                                    </div>
                                    
                                </div>
								<div id="taksit" class="tab-panel">
									<table width="100%" cellspacing="0" cellpadding="0" border="0" class="BankIns">
									<tbody>
										<tr id="firstInsColumn">
											<th class="first"></th>
											<th align="center" class="instBG">3 Taksit</th>
											<th align="center" class="instBG">6 Taksit</th>
											<th align="center" class="instBG">9 Taksit</th>
										</tr>
										<tr>
											<td width="225" align="center" class="BankLogo" valign="middle"><span class="logo-ykb"><img src="http://demo.elektronik-ticaret.net/media/posicons/bonus.png"></span>
												<p class="Gray">Bonus Kart</p>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,3,2.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,6,3.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,9,4.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
										</tr>
										<tr>
											<td width="225" align="center" class="BankLogo" valign="middle"><span class="logo-ykb"><img src="http://demo.elektronik-ticaret.net/media/posicons/axess.png"></span>
												<p class="Gray">Axess Kart</p>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,3,2.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,6,3.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,9,4.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
										</tr>
										<tr>
											<td width="225" align="center" class="BankLogo" valign="middle"><span class="logo-ykb"><img src="http://demo.elektronik-ticaret.net/media/posicons/maximum.png"></span>
												<p class="Gray">Maximum</p>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,3,2.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,6,3.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,9,4.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
										</tr>
										<tr>
											<td width="225" align="center" class="BankLogo" valign="middle"><span class="logo-ykb"><img src="http://demo.elektronik-ticaret.net/media/posicons/cardfinans.png"></span>
												<p class="Gray">Card Finans</p>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,3,2.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,6,3.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,9,4.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
										</tr>
										<tr>
											<td width="225" align="center" class="BankLogo" valign="middle"><span class="logo-ykb"><img src="http://demo.elektronik-ticaret.net/media/posicons/world.png"></span>
												<p class="Gray">World Card</p>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,3,2.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,6,3.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,9,4.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
										</tr>
										<tr>
											<td width="225" align="center" class="BankLogo" valign="middle"><span class="logo-ykb"><img src="http://demo.elektronik-ticaret.net/media/posicons/asyacard.png"></span>
												<p class="Gray">Asya Card</p>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,3,2.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3"><span class="CachePrice"></span>
													<p><strong></strong></p><strong>
													<p class="Gray"></p>
												</strong></div><strong>
											</strong></td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,9,4.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
										</tr>
										<tr>
											<td width="225" align="center" class="BankLogo" valign="middle"><span class="logo-ykb"><img src="http://demo.elektronik-ticaret.net/media/posicons/paraf.png"></span>
												<p class="Gray">Paraf Card</p>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,3,2.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,6,3.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
											<td align="center" class="posr">
												<div class=" content3" style="margin-top:10px">
													<?php $t = taksit($ff,9,4.4);?>
													<p><strong><?=$t[2];?> TL X <?=$t[0];?></strong></p>
													<p class="Gray">Toplam: <?=$t[1];?> TL</p>
												</div>
											</td>
										</tr>
									</tbody>
								</table>
                                </div>
                                <div id="extra-tabs" class="tab-panel">
                                    <p>Ürün adresinize ulaştığı günden itibaren 14 gün içinde <?php echo $ayar->firma_tel; ?> numaramızdan müşteri hizmetlerimizle irtibata geçerek iade sürecinizi başlatabilirsiniz.</p> 
									<p>İade talebinizin kabul edilmesi için, ürünün hasar görmemiş ve kullanılmamış olması gerekmektedir.</p> 
									<p>Servis tarafından kurulum gerektiren ürünlerin kurulumunun yapılmasıyla ürünler kayıt altına alınmış olur. Böylece ikinci el statüsüne girmiş olur. İlgili mevzuat gereği cayma hakkı kapsamında "ürünün yeniden satılabilir özelliğinin kaybolmaması" gerekmektedir. Bu nedenle de servis tarafından kurulumu yapılmış olan ürünlerde cayma hakkı kapsamında iade alınamamaktadır.</p> 
									<p>*Ücret iadesi; iade işlemleriniz onaylandıktan sonra kredi kartınıza / banka hesabınıza 3 iş günü içinde yapılmaktadır.</p> 
									<p>Ödeme işlemlerinin hesaba yansıma süresi bankalara göre farklılık gösterebilir.</p>  
                                </div>
                            </div>
                        </div>
                        <!-- ./tab product -->
                        <!-- box product -->
                        <div class="page-product-box">
                            <h3 class="heading">BENZER ÜRÜNLER</h3>
                            <ul class="product-list owl-carousel" data-dots="false" data-loop="true" data-nav = "true" data-margin = "30" data-autoplayTimeout="1000" data-autoplayHoverPause = "true" data-responsive='{"0":{"items":1},"600":{"items":3},"1000":{"items":3}}'>
                            <?php $USorgu = Sorgu("SELECT * FROM urunler WHERE durum = '1' AND kategori = '$urun->kategori' ORDER BY id DESC limit 8");
								while($USonuc = Sonuc($USorgu)){?>    
								<li>
                                    <div class="product-container">
                                        <div class="left-block">
                                            <a href="Urun/<?php echo $USonuc->seo;?>.html">
                                                <img class="img-responsive" alt="<?php echo $USonuc->adi;?>" src="uploads/urunler/kucuk/<?php echo $USonuc->resim;?>" />
                                            </a>
                                            <div class="quick-view">
                                                    <a title="Karşılaştırmak için ekle" class="compare" href="?kekle=<?php echo $USonuc->id;?>"></a>
                                                    <a title="Ürün Detay" class="search" href="Urun/<?php echo $USonuc->seo;?>.html"></a>
                                            </div>
                                            <?php if($USonuc->secenek != ""){?>
											<form action="Urun/<?php echo $USonuc->seo;?>.html" method="post">
											<?php }else{?>
											<form action="?ekle=<?php echo $USonuc->id;?>" method="post">
											<?php }?>
											<input type="hidden" name="adet" value="1" />
                                            <div class="add-to-cart">
												<button><i style="line-height: inherit;font-size: 20px;" class="fa fa-shopping-cart"></i> Sepete Ekle</button>
                                            </div>
											<div class="group-price">
											<?php if($USonuc->indirim == "1"){?>
											<?php 
											$fiyat1 	= $USonuc->fiyat - $USonuc->ifiyat; 
											$fiyat2 	= $USonuc->fiyat; 
											$yuzde 		= ($fiyat1 / $fiyat2) * 100;																	
											?>
                                                <span class="product-sale"> %<?php echo floor($yuzde);?> İNDİRİM</span>
											<?php }?>
                                            </div>
											</form>
                                        </div>
                                        <div class="right-block">
                                            <h5 class="product-name kisalt"><a href="Urun/<?php echo $USonuc->seo;?>.html"><?php echo $USonuc->adi;?></a></h5>
                                            <div class="content_price">
												<?php if($USonuc->indirim == "1"){?>
												<span class="price product-price"> <?php echo number_format($USonuc->ifiyat, 2, ',', '.'); ?> TL</span>
												<span class="price old-price"> <?php echo number_format($USonuc->fiyat, 2, ',', '.'); ?> TL</span>
												<?php }elseif($USonuc->indirim == "0"){?>
												<span class="price product-price"> <?php echo number_format($USonuc->fiyat, 2, ',', '.'); ?> TL</span>
												<?php }?>				
                                            </div>
											<?php $YorumVarmi = Sonuc(Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$USonuc->id'"));?>
											<?php if($YorumVarmi > 0){?>
												<?php $YSorgu = Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$USonuc->id' ORDER BY id DESC");
												$ytoplam = 0;
												$ysay = 0;
												while($YSonuc = Sonuc($YSorgu)){?>
												<?php $ytoplam+=$YSonuc->puan;?>
												<?php $ysay++;?>
												<?php }?>
											<?php $yorumorani = ($ytoplam) / ($ysay*5) * 100;?>
											<?php 
											if($yorumorani <= 20){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 30){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 40){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 50){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 60){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 70){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 80){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 90){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												</div>
												';
											}elseif($yorumorani <= 100){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												</div>
												';
											}
											?>
											
											<?php }else{?>
											<div class="product-star">
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
											</div>
											<?php }?>
                                        </div>
                                    </div>
                                </li>
								<?php }?>	
                            </ul>
                        </div>
                        <!-- ./box product -->
                        <!-- box product -->
                        <div class="page-product-box">
                            <h3 class="heading">BUNLARI DA BEĞENEBİLİRSİNİZ</h3>
                            <ul class="product-list owl-carousel" data-dots="false" data-loop="true" data-nav = "true" data-margin = "30" data-autoplayTimeout="1000" data-autoplayHoverPause = "true" data-responsive='{"0":{"items":1},"600":{"items":3},"1000":{"items":3}}'>
                             <?php $USorgu = Sorgu("SELECT * FROM urunler WHERE durum = '1' ORDER BY rand() limit 8");
								while($USonuc = Sonuc($USorgu)){?>    
								<li>
                                    <div class="product-container">
                                        <div class="left-block">
                                            <a href="Urun/<?php echo $USonuc->seo;?>.html">
                                                <img class="img-responsive" alt="<?php echo $USonuc->adi;?>" src="uploads/urunler/kucuk/<?php echo $USonuc->resim;?>" />
                                            </a>
                                            <div class="quick-view">
                                                    <a title="Karşılaştırmak için ekle" class="compare" href="?kekle=<?php echo $USonuc->id;?>"></a>
                                                    <a title="Quick view" class="search" href="Urun/<?php echo $USonuc->seo;?>.html"></a>
                                            </div>
                                            <?php if($USonuc->secenek != ""){?>
											<form action="Urun/<?php echo $USonuc->seo;?>.html" method="post">
											<?php }else{?>
											<form action="?ekle=<?php echo $USonuc->id;?>" method="post">
											<?php }?>
											<input type="hidden" name="adet" value="1" />
                                            <div class="add-to-cart">
												<button><i style="line-height: inherit;font-size: 20px;" class="fa fa-shopping-cart"></i> Sepete Ekle</button>
                                            </div>
											<div class="group-price">
											<?php if($USonuc->indirim == "1"){?>
											<?php 
											$fiyat1 	= $USonuc->fiyat - $USonuc->ifiyat; 
											$fiyat2 	= $USonuc->fiyat; 
											$yuzde 		= ($fiyat1 / $fiyat2) * 100;																	
											?>
                                                <span class="product-sale"> %<?php echo floor($yuzde);?> İNDİRİM</span>
											<?php }?>
                                            </div>
											</form>
                                        </div>
                                        <div class="right-block">
                                            <h5 class="product-name kisalt"><a href="Urun/<?php echo $USonuc->seo;?>.html"><?php echo $USonuc->adi;?></a></h5>
                                            <div class="content_price">
												<?php if($USonuc->indirim == "1"){?>
												<span class="price product-price"> <?php echo number_format($USonuc->ifiyat, 2, ',', '.'); ?> TL</span>
												<span class="price old-price"> <?php echo number_format($USonuc->fiyat, 2, ',', '.'); ?> TL</span>
												<?php }elseif($USonuc->indirim == "0"){?>
												<span class="price product-price"> <?php echo number_format($USonuc->fiyat, 2, ',', '.'); ?> TL</span>
												<?php }?>				
                                            </div>
											<?php $YorumVarmi = Sonuc(Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$USonuc->id'"));?>
											<?php if($YorumVarmi > 0){?>
												<?php $YSorgu = Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$USonuc->id' ORDER BY id DESC");
												$ytoplam = 0;
												$ysay = 0;
												while($YSonuc = Sonuc($YSorgu)){?>
												<?php $ytoplam+=$YSonuc->puan;?>
												<?php $ysay++;?>
												<?php }?>
											<?php $yorumorani = ($ytoplam) / ($ysay*5) * 100;?>
											<?php 
											if($yorumorani <= 20){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 30){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 40){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 50){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 60){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 70){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 80){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 90){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												</div>
												';
											}elseif($yorumorani <= 100){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												</div>
												';
											}
											?>
											
											<?php }else{?>
											<div class="product-star">
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
											</div>
											<?php }?>
                                        </div>
                                    </div>
                                </li>
								<?php }?>
                            </ul>
                        </div>
                        <!-- ./box product -->
                    </div>
                <!-- Product -->
            </div>
			
			 <!-- Left colunm -->
            <div class="column col-xs-12 col-sm-3" id="left_column">
                <!-- block best sellers -->
                <div class="block left-module">
                    <p class="title_block">YENİ ÜRÜNLER</p>
                    <div class="block_content">
                        <ul class="products-block best-sell">
						<?php $USorgu = Sorgu("SELECT * FROM urunler WHERE durum = '1' ORDER BY id DESC LIMIT 10");
							while($USonuc = Sonuc($USorgu)){?> 
							<li>
								<div class="products-block-left">
									<a href="Urun/<?php echo $USonuc->seo;?>.html">
										<img src="uploads/urunler/kucuk/<?php echo $USonuc->resim;?>" alt="<?php echo $USonuc->adi;?>">
									</a>
								</div>
								<div class="products-block-right">
									<p class="product-name" style="font-size: 12px;">
										<a href="Urun/<?php echo $USonuc->seo;?>.html"><?php echo $USonuc->adi;?></a>
									</p>
									<?php if($USonuc->indirim == "1"){?>
										<p class="product-price"><?php echo number_format($USonuc->ifiyat, 2, ',', '.'); ?> TL</p>
										<?php }elseif($USonuc->indirim == "0"){?>
										<p class="product-price"> <?php echo number_format($USonuc->fiyat, 2, ',', '.'); ?> TL</p>
									<?php }?>
									<?php $YorumVarmi = Sonuc(Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$USonuc->id'"));?>
											<?php if($YorumVarmi > 0){?>
												<?php $YSorgu = Sorgu("SELECT * FROM urun_yorum WHERE durum = '1' AND urun_id = '$USonuc->id' ORDER BY id DESC");
												$ytoplam = 0;
												$ysay = 0;
												while($YSonuc = Sonuc($YSorgu)){?>
												<?php $ytoplam+=$YSonuc->puan;?>
												<?php $ysay++;?>
												<?php }?>
											<?php $yorumorani = ($ytoplam) / ($ysay*5) * 100;?>
											<?php 
											if($yorumorani <= 20){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 30){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 40){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 50){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 60){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 70){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 80){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-o"></i>
												</div>
												';
											}elseif($yorumorani <= 90){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star-half-o"></i>
												</div>
												';
											}elseif($yorumorani <= 100){
												echo '
												<div class="product-star">
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												<i class="fa fa-star"></i>
												</div>
												';
											}
											?>
											
											<?php }else{?>
											<div class="product-star">
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
												<i class="fa fa-star-o"></i>
											</div>
											<?php }?>
								</div>
							</li>
							<?php }?>
						</ul>
                    </div>
                </div>
                <!-- ./block best sellers  -->
                <!-- block category -->
                <div class="block left-module">
                    <p class="title_block">BİLGİLER</p>
                    <div class="block_content">
                        <!-- layered -->
                        <div class="layered layered-category">
                            <div class="layered-content">
                                <ul class="tree-menu">
								<?php $Sorgu = Sorgu("SELECT * FROM bilgiler WHERE durum = '1' ORDER BY id ASC");
									while($Sonuc = Sonuc($Sorgu)){?>
                                    <li><span></span><a href="Bilgiler/<?php echo $Sonuc->seo;?>.html"><?php echo $Sonuc->adi;?></a></li>
								<?php }?>
                                </ul>
                            </div>
                        </div>
                        <!-- ./layered -->
                    </div>
                </div>
                <!-- ./block category  -->
            </div>
            <!-- ./left colunm -->
            <!-- ./ Center colunm -->
        </div>
        <!-- ./row-->
    </div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
  <!-- Modal content-->
  <div class="modal-content">
	<div class="modal-header">
	  <button type="button" class="close" data-dismiss="modal">&times;</button>
	  <h4 class="modal-title">Yorum Yap</h4>
	</div>
	<div class="modal-body">
	<form id="urunyorumform" method="POST" name="urunyorumform">
	  <div class="row">
		<div class="col-sm-12">
			<div class="contact-form-box">
				<div class="form-selector">
					<label>Yorum Başlığı</label>
					<input type="text" class="form-control input-sm" id="yorumbaslik" name="yorumbaslik" />
				</div>
				<div class="form-selector" style="margin:5px 0 5px 0;">
					<label>Yorum</label>
					<textarea class="form-control input-sm" rows="10" id="yorum" name="yorum"></textarea>
				</div>
				<div class="form-selector" style="margin:5px 0 5px 0;">
					<label>Ürüne Puan Verin</label>
					<select class="form-control input-sm" name="puan" id="puan">
						<option value="5">5</option>
						<option value="4">4</option>
						<option value="3">3</option>
						<option value="2">2</option>
						<option value="1">1</option>
					</select>
				</div>
			</div>
		</div>
	</div>
	<div id="urunyorumnote"></div>
	<div class="modal-footer">
	<input type="hidden" name="uyeid" id="uyeid" value="<?php echo $_SESSION['uyeid'];?>" />
	<input type="hidden" name="urunid" id="urunid" value="<?php echo $urun->id;?>" />
	<button id="urunyorum" type="button" class="btn btn-success">Gönder</button>
	<button type="button" class="btn btn-default" data-dismiss="modal">Kapat</button>
	</div>
	</form>
  </div>
  
</div>
</div>
</div>
<!-- Tavsiye Et -->
<div class="modal fade" id="tavsiyeet" role="dialog">
<div class="modal-dialog">
			<div class="modal-content">
				
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
					<h4 class="modal-title">Arkadaşına Öner</h4>
				</div>
				<div class="modal-body">
				<form class="form-horizontal form-row-seperated" action="javascript:void(0);" name="sendfriend" id="sendfriend">
			
				<input type="hidden" name="urunadi" id="urunadi" value="<?php echo $urun->adi;?>">
				<input type="hidden" name="urunlink" id="urunlink" value="<?php echo $url;?>/Urun/<?php echo $urun->seo;?>.html">
				<input type="hidden" name="url" id="url" value="<?php echo $aurl;?>">
					 <div class="form-body">

						<div class="form-group">
							<label class="col-md-5 control-label">Adınız : <span class="required">
							* </span>
							</label>
							<div class="col-md-7">
								<input type="text" name="your_name" id="your_name" class="form-control">
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-5 control-label">E-Posta Adresiniz : <span class="required">
							* </span>
							</label>
							<div class="col-md-7">
								<input type="text" name="your_mail" id="your_mail" class="form-control">
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-5 control-label">Arkadaşınızın Adı : <span class="required">
							* </span>
							</label>
							<div class="col-md-7">
								<input type="text" name="friend_name" id="friend_name" class="form-control">
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-5 control-label">Arkadaşınızın E-Posta Adresi : <span class="required">
							* </span>
							</label>
							<div class="col-md-7">
								<input type="text" name="friend_mail" id="friend_mail" class="form-control">
							</div>
						</div>
										
					</div>
				</form>

					<div class="clearfix"></div>
				</div>
				<div class="modal-footer" id="modalfooter">
					<button type="button" class="btn btn-danger" data-dismiss="modal">Vazgeç</button>
					<button type="button" class="btn btn-success" id="arkadasina_gonder">Gönder</button>
				</div>
				
			</div>
		</div>
</div>

