<?php include 'inc/header.php';?>
<?php include 'inc/sidebar.php';?>
<?php include 'inc/navbar.php';?>

            <!-- Page Content-->
            <div class="page-content">
                <div class="container-fluid">
                    <!-- Page-Title -->
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="page-title-box">
                                <div class="row">
                                    <div class="col">
                                        <h4 class="page-title">Yedekleme Hizmeti</h4>
                                        <ol class="breadcrumb">
                                            <li class="breadcrumb-item"><a href="index.php">Anasayfa</a></li> 
                                            <li class="breadcrumb-item active">Yedekleme Hizmeti</li>
                                        </ol>
                                    </div><!--end col-->
                                     
                                </div><!--end row-->                                                              
                            </div><!--end page-title-box-->
                        </div><!--end col-->
                    </div><!--end row-->
                    <!-- end page title end breadcrumb -->
                    <div class="row">
                        <div class="col-12">
                            <div class="card">
                                <div class="card-body">

                                    <h4 class="mt-0 header-title">Yedekleme Hizmeti</h4> 

                                    <div class="text-muted">
 
                                    <?php 

                                    $gelen = $_POST["sil"];

                                    if(!file_exists($gelen)) {
                                        die (" böyle dosya yok");
                                    }

                                    $sil = unlink($gelen);

                                    if($sil){
                                        echo "$gelen başarı ile silindi";
                                    }else{
                                        echo "$gelen belirsiz bir sebep ile silinemedi dosya yöneticisinden silmeyi deneyebilirsiniz.";
                                    }

                                    ?>
            
                                    </div>
                                </div><!--end card-body-->
                            </div><!--end card-->
                        </div> <!-- end col -->
                    </div> <!-- end row -->

                </div><!-- container -->

                
<?php include 'inc/footer.php';?>