<?php
include("include/baglan.php");
include("include/fonksiyonlar.php");
ob_start();
session_start();
oturumkontrolana();
$id=$_SESSION['id'];
$hesabim=$db->query("select * from yonetici where id='$id'")->fetch(PDO::FETCH_ASSOC);

?>
<!DOCTYPE html>
<html lang="tr">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Resim Kırpma Aracı - <?=$ayar['site_title']?></title>
	
	<link rel="stylesheet" href="assets/vendors/core/core.css">

  <link rel="stylesheet" href="assets/vendors/cropperjs/cropper.min.css">

	<link rel="stylesheet" href="assets/fonts/feather-font/css/iconfont.css">
	<link rel="stylesheet" href="assets/vendors/flag-icon-css/css/flag-icon.min.css">
	
	<link rel="stylesheet" href="assets/css/demo_2/style.css">

  <link rel="shortcut icon" href="lib/images/logo/<?=$ayar['favicon']?>" />
</head>
<body>
	<div class="main-wrapper">

		<?php include("include/header.php");?>
	
		<div class="page-wrapper">
				
				<?php include("include/menu.php");?>

			<div class="page-content">

				<nav class="page-breadcrumb">
					<ol class="breadcrumb">
						<li class="breadcrumb-item"><a href="./">Anasayfa</a></li>
						<li class="breadcrumb-item active" aria-current="page">Resim Kırpma Aracı</li>
					</ol>
				</nav>

				
        
        <div class="row">
          <div class="col-md-12 grid-margin stretch-card">
            <div class="card">
              <div class="card-body">
                <div class="row">
                  <div class="col-md-8">
                    <div class="form-group">
                      <input type="file" name="img[]" class="file-upload-default" id="cropperImageUpload">
                      <div class="input-group col-xs-12">
                        <input type="text" class="form-control file-upload-info" disabled="" placeholder="Resim Yükleyin">
                        <span class="input-group-append">
                          <button class="file-upload-browse btn btn-primary" type="button">Resim Yükle</button>
                        </span>
                      </div>
                    </div>
                    <div>
                      <img src="assets/images/placeholder.jpg" class="w-100" id="croppingImage" alt="cropper">
                    </div>
                    <div class="d-flex justify-content-between align-items-center flex-wrap">
                      <div class="form-group d-flex align-items-center flex-wrapp mb-0 mr-2 mt-3">
                        <label class="w-50 mr-3 mb-0 mb-2 mb-md-0 text-nowrap">Width (px) :</label>
                        <input type="number" value="300" class="form-control img-w mr-2 mb-2 mb-md-0 w-75" placeholder="Image width">
                        <button class="btn btn-primary crop mb-2 mb-md-0">Kırp</button>
                      </div>
                      <div class="mb-4 mb-md-0 mt-3">
                        <a href="javascript:;" class="btn btn-outline-primary download">Resmi İndir</a>
                      </div>
                    </div>
                  </div>
                  <div class="col-md-4 ml-auto">
                    <h6 class="card-description mb-2 mb-md-4">Kırpılan Resim: </h6>
                    <img class="w-100 cropped-img mt-2" src="#" alt="">
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

			</div>
<?php include("include/footer.php");?>
	
		</div>
	</div>


	<script src="assets/vendors/core/core.js"></script>

  <script src="assets/vendors/cropperjs/cropper.min.js"></script>
	
	<script src="assets/vendors/feather-icons/feather.min.js"></script>
	<script src="assets/js/template.js"></script>
	
  <script src="assets/js/cropper.js"></script>

</body>
</html>