ЁЯУБ File Manager
Editing:
/home/u882412079/domains/margdarshanam.org/public_html/header.php
<?php if (session_status() === PHP_SESSION_NONE) { session_start(); } if (file_exists('bb-admin/include/connection.php')) { include_once 'bb-admin/include/connection.php'; } $email = "info@margdarshnam.org"; $phone1 = "+91 9876543210"; $address = ""; if (isset($conn)) { try { $web_info_id = 1; $query = $conn->prepare("SELECT * FROM web_info where id=:id"); $query->bindParam(':id', $web_info_id); $query->execute(); $result = $query->fetchAll(); if (count($result) > 0) { foreach ($result as $value) { if(!empty($value['email'])) $email = $value['email']; if(!empty($value['phone1'])) $phone1 = $value['phone1']; if(!empty($value['phone2'])) $phone2 = $value['phone2']; if(!empty($value['phone3'])) $phone3 = $value['phone3']; if(!empty($value['address'])) $address = $value['address']; } } } catch(Exception $e) { // Fallback to default } } ?> <!DOCTYPE html> <html lang="hi"> <head> <title><?php echo isset($page_title) ? htmlspecialchars($page_title) . ' - Margadarshanam' : 'Margadarshanam'; ?></title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="icon" type="image/png" href="images/favicon.png"> <link href="css/animate.css" rel="stylesheet"> <link href="css/hover.css" rel="stylesheet"> <link href="css/owl.carousel.css" rel="stylesheet"> <link rel="stylesheet" href="css/magnific-popup.css"> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/normalize.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <link href="css/responsive.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet"> <style> .hindi-text { font-family: 'Tiro Devanagari Hindi', 'Hind', serif; font-size: 1.15rem; line-height: 1.95; color: #333; } .single_service_title h2 { font-family: 'Tiro Devanagari Hindi', sans-serif; font-weight: 700; color: #1a237e; margin-bottom: 8px; font-size: 2.2rem; } .single_service_title h4 { font-family: 'Poppins', sans-serif; color: #f57c00; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; } .service-quote-box { background: #fff8e1; border-left: 5px solid #ffb300; padding: 20px 25px; margin: 25px 0; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); } .service-quote-box blockquote { font-family: 'Tiro Devanagari Hindi', serif; font-size: 1.3rem; font-weight: 600; color: #b71c1c; margin: 0; border: none; padding: 0; line-height: 1.6; } .single_service_category ul li a { display: flex; align-items: center; justify-content: space-between; font-weight: 500; padding: 12px 18px; border-bottom: 1px solid #eee; color: #444; } .single_service_category ul li.active a { background-color: #1a237e; color: #fff !important; border-color: #1a237e; } .single_service_category ul li a:hover { background-color: #f5f5f5; color: #1a237e; } .single_service_category ul li.active a:hover { background-color: #1a237e; color: #fff; } .service-feature-card { background: #f9fbe7; border: 1px solid #dce775; padding: 18px 22px; border-radius: 8px; margin-bottom: 18px; } .service-feature-card h5 { color: #33691e; font-weight: 700; font-family: 'Tiro Devanagari Hindi', sans-serif; margin-bottom: 8px; font-size: 1.2rem; } .service-feature-card p { font-family: 'Tiro Devanagari Hindi', sans-serif; font-size: 1.05rem; line-height: 1.8; color: #444; margin: 0; } .service-main-img { width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 25px; } </style> </head> <body> <div class="header"> <div class="container"> <div class="row"> <div class="col-md-12 header_warper"> <div class="header_top_left"> <div class="social-nav"> <ul class="header_socil list-inline pull-left"> <li><a href="https://www.facebook.com/share/1HaVnNHJot/" target="_blank" rel="noopener noreferrer" title="Facebook"><i class="fa fa-facebook"></i></a></li> <li><a href="#"><i class="fa fa-twitter"></i></a></li> <li><a href="#"><i class="fa fa-pinterest"></i></a></li> </ul> </div> </div> <div class="header_top_right list-unstyled"> <ul> <li> <i class="fa fa-envelope-o"></i> <span class="top-title"><a href="mailto:<?php echo htmlspecialchars($email); ?>"><?php echo htmlspecialchars($email); ?></a></span> </li> <li> <i class="fa fa-phone"></i> <span class="top-title"><?php echo htmlspecialchars($phone1); ?></span> </li> <li> <i class="fa fa-clock-o"></i> <span class="top-title">Mon-Sat: 9:00 - 18:00</span> </li> </ul> </div> </div> </div> </div> </div> <div class="navigation"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="repire_logo"> <a href="index.php"> <img src="images/product/logo.png" alt="Margadarshanam" style="width:100px"> </a> </div> <div id="navigation"> <ul> <li class="<?php echo (!isset($active_page) || $active_page == 'home') ? 'active' : ''; ?>"><a href="index.php">Home</a></li> <li class="<?php echo (isset($active_page) && $active_page == 'about') ? 'active' : ''; ?>"><a href="about.php">About Us</a></li> <li class="has-sub <?php echo (isset($active_page) && in_array($active_page, ['services', 'kids-zone', 'research-centre', 'margdarshanam-journal', 'sharma-maharaj-trust', 'learning-centre', 'spiritual-studies', 'vedic-astrology', 'cultural-heritage', 'vedic-ritual', 'social-service'])) ? 'active' : ''; ?>"><a href="services.php" title="page">Department</a> <ul> <li><a href="kids-zone.php">1. рд╣рдБрд╕рддрд╛ рдмрдЪрдкрди (Kids Zone)</a></li> <li><a href="research-centre.php">2. рдЕрдиреБрд╕рдиреНрдзрд╛рди рдХреЗрдиреНрджреНрд░</a></li> <li><a href="margdarshanam-journal.php">3. рдорд╛рд░реНрдЧрджрд░реНрд╢рдирдореН рдкрддреНрд░рд┐рдХрд╛</a></li> <li><a href="sharma-maharaj-trust.php">4. рд╢рд░реНрдорд╛ рдорд╣рд╛рд░рд╛рдЬ рдкрд░реЛрдкрдХрд╛рд░ рдиреНрдпрд╛рд╕</a></li> <li><a href="learning-centre.php">5. рдЕрдзреНрдпрдпрди рдХреЗрдиреНрджреНрд░ (Way of Life)</a></li> <li><a href="spiritual-studies.php">6. рдЕрдзреНрдпрд╛рддреНрдо рд╡рд┐рджреНрдпрд╛ рдХреЗрдиреНрджреНрд░</a></li> <li><a href="vedic-astrology.php">7. рдЬреНрдпреЛрддрд┐рд╖ рд╡рд┐рджреНрдпрд╛ рдХреЗрдиреНрджреНрд░</a></li> <li><a href="cultural-heritage.php">8. рддреАрд░реНрде рджрд░реНрд╢рди рдХреЗрдиреНрджреНрд░</a></li> <li><a href="vedic-ritual.php">9. рд╡реИрджрд┐рдХ рдЕрдиреБрд╖реНрдард╛рди рдПрд╡рдВ рд╕рд╛рдзрдирд╛ рдХреЗрдиреНрджреНрд░</a></li> <li><a href="social-service.php">10. рд╕рд╛рдорд╛рдЬрд┐рдХ рд╕реЗрд╡рд╛ рдХрд╛рд░реНрдп</a></li> </ul> </li> <li><a href="#">Programs</a></li> <li class="has-sub <?php echo (isset($active_page) && in_array($active_page, ['image-gallery', 'video-gallery', 'gallery'])) ? 'active' : ''; ?>"><a href="#">Gallery</a> <ul> <li class="<?php echo (isset($active_page) && $active_page == 'image-gallery') ? 'active' : ''; ?>"><a href="image-gallery.php">Images</a></li> <li class="<?php echo (isset($active_page) && $active_page == 'video-gallery') ? 'active' : ''; ?>"><a href="video-gallery.php">Video</a></li> </ul> </li> <li class="has-sub <?php echo (isset($active_page) && in_array($active_page, ['notices', 'meeting'])) ? 'active' : ''; ?>"><a href="notices.php" title="Notices">Notices</a> <ul> <li><a href="notices.php">All Notices</a></li> <li><a href="meeting.php">Meetings</a></li> </ul> </li> <li class="<?php echo (isset($active_page) && $active_page == 'contact') ? 'active' : ''; ?>"><a href="contact.php" title="Contact">Contact</a></li> </ul> </div> </div> </div> </div> </div>
Save
Cancel