Server IP : 103.53.40.154 / Your IP : 18.119.113.79 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/etc/../perl5/../asinteriors.in/../samingpvtltd.com/css/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Topbar Start --> <?php include 'admin/config.php'; $sql = "SELECT * FROM tb1_admin"; $run = mysqli_query($db,$sql); $data = mysqli_fetch_assoc($run); ?> <style> .dropdown-menu{ height:400px; overflow-y:auto; } .dropdown-menu a { border-bottom:0.3px solid grey; } @media only screen and (max-width: 600px) { .dropdown-menu { width:311px; overflow-x:hidden; } .dropdown-menu a { word-break: break-all; } } </style> <div class="container-fluid bg-secondary ps-5 pe-0 d-none d-lg-block"> <div class="row gx-0"> <div class="col-md-6 text-center text-lg-start mb-2 mb-lg-0"> <div class="d-inline-flex align-items-center"> <a class="text-body py-2 pe-3 border-end" href="<?php echo $data['fb_link']?>"><small>Facebook</small></a> <a class="text-body py-2 px-3 border-end" href="<?php echo $data['insta_link']?>"><small>Instagram</small></a> <a class="text-body py-2 px-3 border-end" href="<?php echo $data['yt_link']?>"><small>Youtube</small></a> </div> </div> <div class="col-md-6 text-center text-lg-end"> <div class="position-relative d-inline-flex align-items-center bg-primary text-white top-shape px-5"> <div class="me-3 pe-3 border-end py-2"> <p class="m-0"><i class="fa fa-envelope-open me-2"></i><?php echo $data['admin_email']?></p> </div> <div class="py-2"> <p class="m-0"><i class="fa fa-phone-alt me-2"></i><?php echo $data['admin_phone']?></p> </div> </div> </div> </div> </div> <!-- Topbar End --> <!-- Navbar Start --> <nav class="navbar navbar-expand-lg bg-white navbar-light shadow-sm px-5 py-3 py-lg-0"> <a href="index.php" class="navbar-brand p-0"> <img src="img/<?php echo $data['logo']?>" alt="" width="190" class="d-inline-block align-text-top m-2"> </a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarCollapse"> <div class="navbar-nav ms-auto py-0 me-n3" style="padding-right:350px;"> <a href="index.php" class="nav-item nav-link active">Home</a> <a href="#" class="nav-item nav-link">About</a> <div class="nav-item dropdown"> <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Services</a> <div class="dropdown-menu m-0"> <?php include 'admin/config.php'; $sql = "SELECT * FROM tb5_course"; $run = mysqli_query($db,$sql); while($data = mysqli_fetch_assoc($run)){ ?> <a href="service-detail.php?id=<?php echo $data['id']?>" class="dropdown-item"><?php echo $data['course_name']?></a> <?php } ?> </div> </div> <!--<a href="#" class="nav-item nav-link">Careers</a>--> <!--<a href="#" class="nav-item nav-link">Partnership</a>--> <!--<a href="#" class="nav-item nav-link">Pricing</a>--> <!--<a href="#" class="nav-item nav-link">Training</a>--> <a href="#" class="nav-item nav-link">Contact</a> </div> </div> </nav> <!-- Navbar End -->