관리-도구
편집 파일: videos.php
<!DOCTYPE html> <html dir="ltr" lang="en"> <head> <?php include('include/head.php') ?> </head> <body class> <div id="wrapper" class="clearfix"> <div id="preloader"> <div id="spinner"> <img alt src="images/preloaders/5.gif"> </div> <div id="disable-preloader" class="btn btn-default btn-sm">Disable Preloader</div> </div> <?php include('include/header.php') ?> <div class="main-content bg-lighter"> <section class="inner-header divider parallax layer-overlay overlay-dark-5" data-bg-img="images/bg/bg6.jpg"> <div class="container pt-70 pb-20"> <div class="section-content"> <div class="row"> <div class="col-md-12"> <h2 class="title text-white text-center">Videos</h2> <ol class="breadcrumb text-left text-black mt-10"> <li><a href="index.php">Home</a></li> <li class="active text-gray-silver">Videos</li> </ol> </div> </div> </div> </div> </section> <!-- =========================================gallery================= --> <section id="gallery" style="overflow-x: hidden;"> <div class="container pt-70 pb-70"> <div class="section-title text-center"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <h2 class="mt-0 line-height-1 text-center mb-10 text-black-333 text-uppercase">Our <span class="text-theme-color-2"> Videos</span></h2> <!-- <p class="mb-0 pb-0">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem autem<br> voluptatem obcaecati!</p> --> </div> </div> </div> <div class="section-content"> <?php $sql = mysqli_query($con, "SELECT * FROM `experience`"); while ($experience = mysqli_fetch_assoc($sql)) { ?> <div class="col-lg-6"> <iframe width="560" height="315" src="<?= $experience['link'] ?>" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> </div> <?php } ?> </div> </div> </section> <!-- =========================================gallery end================= --> </div> <?php include('include/footer.php') ?> <a class="scrollToTop" href="#"><i class="fa fa-angle-up"></i></a> <?php include('include/foot.php') ?> </body> </html>