Файловый менеджер - Редактировать - /home/umudio/public_html/index copy 2.php
Назад
<?php session_start(); if (isset($_POST["username"]) && isset($_POST["password"])) { $manager = $_POST["username"]; $password = $_POST["password"]; include("includes/config.php"); $cmem = "SELECT id FROM auth WHERE username='$manager' AND password='$password' LIMIT 1"; $run_cmem = mysqli_query($con, $cmem); $count_mem = mysqli_num_rows($run_cmem); if ($count_mem == 1) { while ($row = mysqli_fetch_array($run_cmem)) { $id = $row["id"]; } $_SESSION["id"] = $id; $_SESSION["manager"] = $manager; $_SESSION["password"] = $password; header("location: mod-auth"); exit(); } else { echo "<script>alert('Incorrect Password !!!')</script>"; echo "<script>window.open('./','_self')</script>"; exit(); } } ?> <!doctype html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <?php session_start(); if (isset($_POST["username"]) && isset($_POST["password"])) { $manager = $_POST["username"]; $password = $_POST["password"]; include("includes/config.php"); $cmem = "SELECT id FROM auth WHERE username='$manager' AND password='$password' LIMIT 1"; $run_cmem = mysqli_query($con, $cmem); $count_mem = mysqli_num_rows($run_cmem); if ($count_mem == 1) { while ($row = mysqli_fetch_array($run_cmem)) { $id = $row["id"]; } $_SESSION["id"] = $id; $_SESSION["manager"] = $manager; $_SESSION["password"] = $password; header("location: mod-auth"); exit(); } else { echo "<script>alert('Incorrect Password !!!')</script>"; echo "<script>window.open('./','_self')</script>"; exit(); } } ?> <?php include("includes/header.php"); ?> <?php $page = "index"; // $cap = "adjfakdjfadk"; // $dap = "00000jadjfakdjfadk"; // echo "$cap <br>"; // echo "$dap <br>"; ?> <section class="causes-section bd-bottom padding" style="background-color: #FFFFFF;"> <div class="" style="margin-left: 60px;margin-right: 60px;"> <div class="row"> <!-- Main Content --> <div class="col-lg-9"> <div class="row"> <div class="col-lg-12"> <!-- <span style="color: #8C8C8C;font-size: 14px;">Visitatrix</span> --> <h2 style="color: #850002;font-size: 23px;">Dominicans in Nigeria & Ghana (Order of Preachers)</h2> <?php include_once 'includes/config.php'; $query = mysqli_query($con, "SELECT * FROM thecontent WHERE sn=1"); while ($row = mysqli_fetch_array($query)) { ?> <?php echo $row['contenter']; ?> <?php } ?> </div> </div> <br><br> <div class="row"> </div> </div> <div class="col-lg-3"> <div class="col-lg-12" align="center"> <div class="mySlides fade"> <img src="./img/b1.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b3.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b4.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b5.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b6.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b7.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b8.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b9.jpeg" height="280" width="270"> </div> <div class="mySlides fade"> <img src="./img/b10.jpeg" height="280" width="270"> </div> <div style="text-align:center;display: none;"> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> <span class="dot"></span> </div> </div> <div class="row"> <div class="col-lg-12" align="center" style="margin-top: 9px;;"> <a href="" style="background: #F5860B;padding: 10px;border-radius: 200px;color: white;">Support Us</a> </div> </div> </div> </div> <!-- Main Content --> </div> </div> </section> <!-- Footer Section --> <?php include("includes/footer.php"); ?> <!-- Footer Section Ends--> <a data-scroll href="#header" id="scroll-to-top"><i class="arrow_up"></i></a> <!-- jQuery Lib --> <script src="js/vendor/jquery-1.12.4.min.js"></script> <!-- Bootstrap JS --> <script src="js/vendor/bootstrap.min.js"></script> <!-- Tether JS --> <script src="js/vendor/tether.min.js"></script> <!-- Imagesloaded JS --> <script src="js/vendor/imagesloaded.pkgd.min.js"></script> <!-- OWL-Carousel JS --> <script src="js/vendor/owl.carousel.min.js"></script> <!-- isotope JS --> <script src="js/vendor/jquery.isotope.v3.0.2.js"></script> <!-- Smooth Scroll JS --> <script src="js/vendor/smooth-scroll.min.js"></script> <!-- venobox JS --> <script src="js/vendor/venobox.min.js"></script> <!-- ajaxchimp JS --> <script src="js/vendor/jquery.ajaxchimp.min.js"></script> <!-- Counterup JS --> <script src="js/vendor/jquery.counterup.min.js"></script> <!-- waypoints js --> <script src="js/vendor/jquery.waypoints.v2.0.3.min.js"></script> <!-- Slick Nav JS --> <script src="js/vendor/jquery.slicknav.min.js"></script> <!-- Nivo Slider JS --> <script src="js/vendor/jquery.nivo.slider.pack.js"></script> <!-- Letter Animation JS --> <script src="js/vendor/letteranimation.min.js"></script> <!-- Wow JS --> <script src="js/vendor/wow.min.js"></script> <!-- Contact JS --> <script src="js/contact.js"></script> <!-- Main JS --> <script src="js/main.js"></script> <script> var slideIndex = 0; showSlides(); function showSlides() { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("dot"); for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } slideIndex++; if (slideIndex > slides.length) { slideIndex = 1 } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex - 1].style.display = "block"; dots[slideIndex - 1].className += " active"; setTimeout(showSlides, 1500); // Change image every 2 seconds } </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка