|
|
<?php |
|
|
include 'admin/controller/config.php'; |
|
|
$urunsor=$db->prepare("SELECT * from urunler where urun_id=:urun_id"); |
|
|
$urunsor->execute(array( |
|
|
'urun_id' => $_GET['urun_id'] |
|
|
)); |
|
|
$uruncek=$urunsor->fetch(PDO::FETCH_ASSOC); |
|
|
|
|
|
$urunresimsor=$db->prepare("SELECT * from resim where resim_urun=:resim_urun"); |
|
|
$urunresimsor->execute(array( |
|
|
'resim_urun' => $uruncek['urun_id'] |
|
|
)); |
|
|
?> |
|
|
<div class="ajax-quick-view"> |
|
|
<div class="quick-view-content"> |
|
|
<div class="product"> |
|
|
<div class="row"> |
|
|
<div class="col-md-5"> |
|
|
<div class="product-image"> |
|
|
<div class="carousel" data-items="1"> |
|
|
<?php while($urunresimcek=$urunresimsor->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<img src="admin/<?php echo $urunresimcek['resim_link'] ?>" alt="<?php echo $uruncek['urun_baslik']; ?>"> |
|
|
</a> |
|
|
<?php } ?> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-md-7"> |
|
|
<div class="product-description"> |
|
|
<div class="product-title"> |
|
|
<h3><?php echo $uruncek['urun_baslik']; ?></h3> |
|
|
</div> |
|
|
<div class="product-price"><ins><i class="fa fa-try"></i><?php echo $uruncek['urun_fiyat']; ?></ins> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="seperator m-b-10"></div> |
|
|
<?php echo $uruncek['urun_aciklama']; ?> |
|
|
|
|
|
<div class="seperator m-t-20 m-b-10"></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="m-t-20"> |
|
|
<!-- Form --> |
|
|
<form method="post" action="satin-al"> |
|
|
<input type="hidden" name="urun_adi" value="<?php echo $uruncek['urun_baslik']; ?>"> |
|
|
<input type="hidden" name="urun_fiyat" value="<?php echo $uruncek['urun_fiyat']; ?>"> |
|
|
<input type="hidden" name="urun_id" value="<?php echo $uruncek['urun_id']; ?>"> |
|
|
|
|
|
<!-- col-md-12 --> |
|
|
<div class="col-md-6"> |
|
|
<!-- Form Group --> |
|
|
<div class="form-group"> |
|
|
<button name="siparisver" type="submit" class="btn"><i class="fa fa-shopping-cart"></i>Satın Al</button> |
|
|
|
|
|
</div><!-- /End Form Group --> |
|
|
</div><!-- /End col-md-12 --> |
|
|
|
|
|
|
|
|
</form><!-- /End Form --> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|