đ File Manager
đ /
/
home
/
u857492117
/
domains
/
mangaldaicollege.org
/
public_html
Dosya DÃŧzenle: view_all_notices.php
<?php include("connect.php"); $Did = $_GET['Did'] ?? 0; // or use session ?> <?php include 'connect.php'; $deptName = $_GET['Did']; //$deptName = "Assamese"; $sql = "select * from dept where Did = '$deptName'"; $q = mysqli_query($con,$sql); if ($r = mysqli_fetch_array($q)) { $about = $r['Details']; $name=$r['DepName']; $Did=$r['Did']; } ?> <html lang="zxx" class="no-js"> <head> <!-- Mobile Specific Meta --> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Favicon--> <link rel="icon" href="img/favicon.ico" type="image/gif" sizes="16x16"> <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"> <link rel="icon" href="img/favicon.ico" type="image/x-icon"> <title>āĻŽāĻāϞāĻĻā§ āĻŽāĻšāĻžāĻŦāĻŋāĻĻā§āϝāĻžāϞāϝāĻŧ </title> <!-- Meta Description --> <meta name="description" content=""> <!-- Meta Keyword --> <meta name="keywords" content=""> <!-- meta character set --> <meta charset="UTF-8"> <!-- Site Title --> <!-- Favicons --> <link href="assetsDept/img/favicon.png" rel="icon"> <link href="assetsDept/img/apple-touch-icon.png" rel="apple-touch-icon"> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet"> <!-- Vendor CSS Files --> <link href="assetsDept/vendor/animate.css/animate.min.css" rel="stylesheet"> <link href="assetsDept/vendor/aos/aos.css" rel="stylesheet"> <link href="assetsDept/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="assetsDept/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet"> <link href="assetsDept/vendor/boxicons/css/boxicons.min.css" rel="stylesheet"> <link href="assetsDept/vendor/glightbox/css/glightbox.min.css" rel="stylesheet"> <link href="assetsDept/vendor/remixicon/remixicon.css" rel="stylesheet"> <link href="assetsDept/vendor/swiper/swiper-bundle.min.css" rel="stylesheet"> <!-- Template Main CSS File --> <link href="assetsDept/css/style.css" rel="stylesheet"> <!-- tables --> <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.0/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdn.datatables.net/1.13.4/css/dataTables.bootstrap5.min.css" rel="stylesheet"> <script type="text/javascript" language="javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script> <script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script> <script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.13.4/js/dataTables.bootstrap5.min.js"></script> <script type="text/javascript" class="init"> $(document).ready(function () { $('#example').DataTable(); }); </script> <style> #google_translate_element select { background-color: #f6edfd; color: #121689; border: 2px solid; border-radius: 16px; padding: 9px 31px; } .goog-te-gadget .goog-te-combo { margin: 4px 0; } #google_translate_element .goog-te-gadget { color: transparent; } .footer-area { background-color: #04091e; } .section-gap { padding: 120px 0; } .footer-area h4{ color:white; } .footer-area ul li a{ color:white; } a:link{ text-decoration: none; } </style> </head> <body> <!-- ======= Header ======= --> <header id="header" class="fixed-top d-flex align-items-center header-transparent "> <div class="container d-flex align-items-center justify-content-between"> <div class="logo"> <h1><a href="index.php"><img src="assetsDept/name_logo.png" style=" margin-top: 25px; "></a></h1> <!-- Uncomment below if you prefer to use an image logo --> <a href="index.php"><img src="assetsDept/img/logo.png" alt="" class="img-fluid"></a> </div> <nav id="navbar" class="navbar"> <ul> <li><a class="nav-link scrollto active" href="index.php">Home</a></li> <li><a class="nav-link scrollto" href="#about">Results</a></li> <li><a class="nav-link scrollto" href="#Facilities">Facilities</a></li> <li><a class="nav-link scrollto" href="#contact">Contact</a></li> </ul> <i class="bi bi-list mobile-nav-toggle"></i> </nav><!-- .navbar --> </div> </header><!-- End Header --> <!-- ======= Hero Section ======= --> <section id="hero" class="d-flex flex-column justify-content-end align-items-center"> <div id="heroCarousel" data-bs-interval="5000" class="container carousel carousel-fade" data-bs-ride="carousel"> <!-- Slide 1 --> <div class="carousel-item active"> <div class="carousel-container"> <h2 class="animate__animated animate__fadeInDown"><?php $a=htmlspecialchars($deptName); echo "$name"; ?> Department <br> Notices </h2> <p class="animate__animated fanimate__adeInUp"> </p> <a href="deptProfile.php?id=<?php echo $name; ?>" class="btn-get-started animate__animated animate__fadeInUp scrollto" decoration="none">Back To Department,</a> </div> </div> </div> <svg class="hero-waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28 " preserveAspectRatio="none"> <defs> <path id="wave-path" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"> </defs> <g class="wave1"> <use xlink:href="#wave-path" x="50" y="3" fill="rgba(255,255,255, .1)"> </g> <g class="wave2"> <use xlink:href="#wave-path" x="50" y="0" fill="rgba(255,255,255, .2)"> </g> <g class="wave3"> <use xlink:href="#wave-path" x="50" y="9" fill="#fff"> </g> </svg> </section><!-- End Hero --> <main id="main"> <!-- ======= About Section ======= --> <!-- Include Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Include DataTables CSS --> <link rel="stylesheet" href="https://cdn.datatables.net/1.13.4/css/dataTables.bootstrap5.min.css"> <section id="about" class="about py-4"> <div class="container"> <h2 class="mb-4">All Departmental Notices</h2> <div class="table-responsive"> <table id="noticeTable" class="table table-striped table-bordered"> <thead class="table-dark"> <tr> <th>Sl. No.</th> <th>Notice</th> <th>Date</th> </tr> </thead> <tbody> <?php $query = "SELECT * FROM dept_notice WHERE Did=$Did ORDER BY date DESC"; $result = mysqli_query($con, $query); $sl = 1; while ($row = mysqli_fetch_assoc($result)) { echo "<tr>"; echo "<td>{$sl}</td>"; echo "<td><a href='deptadminpanel/{$row['link']}' target='_blank'>{$row['notice']}</a></td>"; echo "<td>{$row['date']}</td>"; echo "</tr>"; $sl++; } ?> </tbody> </table> </div> </div> </section> <!-- Include jQuery --> <script src="https://code.jquery.com/jquery-3.7.0.min.js"></script> <!-- Include Bootstrap JS --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> <!-- Include DataTables JS --> <script src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/1.13.4/js/dataTables.bootstrap5.min.js"></script> <!-- Initialize DataTable --> <script> $(document).ready(function () { $('#noticeTable').DataTable({ "order": [[2, "desc"]] // Default sort by Date (3rd column) descending }); }); </script> <!-- End About Section --> <!-- ======= Facilities Section ======= --> <!-- ======= Contact Section ======= --> </main><!-- End #main --> <!-- ======= Footer ======= --> <footer class="footer-area section-gap"> <div class="container"> <div class="row"> <div class="col-lg-2 col-md-6 col-sm-6"> <div class="single-footer-widget"> <h4>E-Resources2</h4> <ul> <li><a href="#">E-Journals</a></li> <li><a href="#">E-books</a></li> <li><a href="#">Google Books</a></li> <li><a href="#">Accademic Journals</a></li> <li><a href="#">N-list of INFLIBNET</a></li> </ul> </div> </div> <div class="col-lg-2 col-md-6 col-sm-6"> <div class="single-footer-widget"> <h4>Quick links</h4> <ul> <li><a href="#">Gauhati University</a></li> <li><a href="#">Assam Plants</a></li> <li><a href="#">UGC</a></li> <li><a href="#">DHE</a></li> <li><a href="#">ACTA</a></li> <li><a href="#">NAAC</a></li> </ul> </div> </div> <div class="col-lg-2 col-md-6 col-sm-6"> <div class="single-footer-widget"> <h4>Features</h4> <ul> <li><a href="#">KKH State Open University</a></li> <li><a href="#">E-Content Development Centre</a></li> <li><a href="#">Star College</a></li> <li><a href="#">NCC</a></li> <li><a href="#">NSS</a></li> </ul> </div> </div> <div class="col-lg-2 col-md-6 col-sm-6"> <div class="single-footer-widget"> <h4>Resources</h4> <ul> <li><a href="#">Syllabus</a></li> <li><a href="#">Question Paper</a></li> <li><a href="#">Library</a></li> </ul> </div> </div> <div class="col-lg-4 col-md-6 col-sm-6"> <div class="single-footer-widget"> <h4>Get Notification</h4> <p>Stay update with our latest Notification</p> <div class="" id="mc_embed_signup"> <form target="_blank" action="https://spondonit.us12.list-manage.com/subscribe/post?u=1462626880ade1ac87bd9c93a&id=92a4423d01" method="get"> <div class="input-group"> <input type="text" class="form-control" name="EMAIL" placeholder="Enter Email Address" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Enter Email Address '" required="" type="email"> <div class="input-group-btn"> <button class="btn btn-default" type="submit"> <span class="lnr lnr-arrow-right"></span> </button> </div> <div class="info"></div> </div> </form> </div> </div> </div> </div> <div class="footer-bottom row align-items-center justify-content-between"> <p class="footer-text m-0 col-lg-6 col-md-12"><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --> Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | CSIT Team, Mangaldai College</a> <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p> <div class="col-lg-6 col-sm-12 footer-social"> <div id='google_translate_element'></div> <script>function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en',autoDisplay: 'true',}, 'google_translate_element');}</script><script src='//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'></script> </div> </div> </div> </footer> <!-- End footer Area --> <!-- End Footer --> <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a> <!-- Vendor JS Files --> <script src="assetsDept/vendor/aos/aos.js"></script> <script src="assetsDept/vendor/bootstrap/js/bootstrap.bundle.min.js"></script> <script src="assetsDept/vendor/glightbox/js/glightbox.min.js"></script> <script src="assetsDept/vendor/isotope-layout/isotope.pkgd.min.js"></script> <script src="assetsDept/vendor/swiper/swiper-bundle.min.js"></script> <script src="assetsDept/vendor/php-email-form/validate.js"></script> <!-- Template Main JS File --> <script src="assetsDept/js/main.js"></script> </body> </html>
đž Kaydet
İptal